Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008833/0.0008833, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008386/0.0008386, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.167/1.167, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8497/0.8497, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002886, allocations: 12 kB / 0.5068 GB, free: 5.309 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1569, allocations: 82.31 MB / 0.5872 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4336/0.5906, allocations: 160.7 MB / 0.7442 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009075/0.5997, allocations: 5.037 MB / 0.7491 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.6015, allocations: 39.69 kB / 0.7491 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002177/0.6037, allocations: 0.7794 MB / 0.7499 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005316/0.609, allocations: 1.78 MB / 0.7516 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003459/0.6125, allocations: 1.166 MB / 0.7528 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003127/0.6156, allocations: 1.685 MB / 0.7544 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.6169, allocations: 0.8261 MB / 0.7552 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001998/0.6189, allocations: 0.9696 MB / 0.7562 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009265/0.6199, allocations: 0.7083 MB / 0.7569 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.62, allocations: 48 kB / 0.7569 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0026/0.6226, allocations: 0.9359 MB / 0.7578 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003647/0.623, allocations: 382.8 kB / 0.7582 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003272/0.6233, allocations: 265 kB / 0.7584 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.6249, allocations: 1.333 MB / 0.7597 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.6249, allocations: 4 kB / 0.7597 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6249, allocations: 0 / 0.7597 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.625, allocations: 0 / 0.7597 GB, free: 11.97 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004421/0.6294, allocations: 1.695 MB / 0.7614 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.6294, allocations: 15.97 kB / 0.7614 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005132/0.6346, allocations: 0.9306 MB / 0.7623 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.6363, allocations: 0.864 MB / 0.7632 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.984e-05/0.6363, allocations: 62 kB / 0.7632 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.6365, allocations: 91.88 kB / 0.7633 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003388/0.6399, allocations: 1.575 MB / 0.7648 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.6399, allocations: 0 / 0.7648 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.6401, allocations: 32 kB / 0.7649 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-05/0.6401, allocations: 49.98 kB / 0.7649 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004797/0.6449, allocations: 1.842 MB / 0.7667 GB, free: 4.668 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006483/0.6514, allocations: 4.287 MB / 0.7709 GB, free: 164 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004213/0.6556, allocations: 1.592 MB / 0.7725 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004537/0.6561, allocations: 178 kB / 0.7726 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002256/0.6584, allocations: 0.8911 MB / 0.7735 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 5.54e-06/0.6584, allocations: 112 / 0.7735 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.006998/0.6654, allocations: 2.435 MB / 0.7759 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.6655, allocations: 68.39 kB / 0.7759 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.6669, allocations: 1.178 MB / 0.7771 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.667, allocations: 45.7 kB / 0.7771 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000412/0.6674, allocations: 0.5486 MB / 0.7777 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/0.6677, allocations: 331.3 kB / 0.778 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.6678, allocations: 20 kB / 0.778 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.6679, allocations: 349.9 kB / 0.7783 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/0.6699, allocations: 0.6811 MB / 0.779 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/0.6719, allocations: 0.8918 MB / 0.7799 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001961/0.6739, allocations: 0.7211 MB / 0.7806 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.505e-06/0.6739, allocations: 4 kB / 0.7806 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004578/0.6785, allocations: 1.749 MB / 0.7823 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.6786, allocations: 5.875 kB / 0.7823 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.6786, allocations: 4 kB / 0.7823 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.6786, allocations: 15.98 kB / 0.7823 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.6803, allocations: 339.9 kB / 0.7826 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.6803, allocations: 8 kB / 0.7827 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.6819, allocations: 258.7 kB / 0.7829 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.682, allocations: 47.97 kB / 0.7829 GB, free: 3.676 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005472/0.6826, allocations: 342.6 kB / 0.7833 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.6828, allocations: 134.4 kB / 0.7834 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004589/0.6874, allocations: 1.78 MB / 0.7851 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.6874, allocations: 8 kB / 0.7851 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.6874, allocations: 0 / 0.7851 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.6874, allocations: 7.969 kB / 0.7852 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006612/0.694, allocations: 3.318 MB / 0.7884 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.6941, allocations: 4 kB / 0.7884 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/0.6956, allocations: 288 kB / 0.7887 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.6956, allocations: 8 kB / 0.7887 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-05/0.6957, allocations: 35.53 kB / 0.7887 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/0.6957, allocations: 8 kB / 0.7887 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.6957, allocations: 9.812 kB / 0.7887 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006625/0.7024, allocations: 3.025 MB / 0.7917 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006122/0.703, allocations: 323.2 kB / 0.792 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.7032, allocations: 31.94 kB / 0.792 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.7045, allocations: 171.8 kB / 0.7922 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.7046, allocations: 72.45 kB / 0.7923 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.244e-05/0.7047, allocations: 35.97 kB / 0.7923 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009037/0.7056, allocations: 0.8275 MB / 0.7931 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7056, allocations: 0 / 0.7931 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009313/0.7066, allocations: 347.5 kB / 0.7934 GB, free: 8.668 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001105/0.7077, allocations: 0.5356 MB / 0.794 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004376/0.7121, allocations: 1.595 MB / 0.7955 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.7121, allocations: 0 / 0.7955 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002214/0.7143, allocations: 0.8243 MB / 0.7963 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/0.7167, allocations: 0.5773 MB / 0.7969 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00557/0.7223, allocations: 3.383 MB / 0.8002 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/0.723, allocations: 1.21 MB / 0.8014 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00138/0.7244, allocations: 366 kB / 0.8017 GB, free: 284 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/0.7248, allocations: 115.4 kB / 0.8018 GB, free: 168 kB / 0.6075 GB Notification: Performance of SimCode: time 8.12e-07/0.7248, allocations: 0 / 0.8018 GB, free: 168 kB / 0.6075 GB Notification: Performance of Templates: time 0.03125/0.756, allocations: 21.88 MB / 0.8232 GB, free: 10.55 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) Environment - environmentSimulation: