Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001083/0.001083, allocations: 192.2 kB / 16.13 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7667/0.7667, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 67.17 kB / 0.5012 GB, free: 9.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1413, allocations: 80.2 MB / 0.5795 GB, free: 9.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.2898/0.4312, allocations: 29.16 MB / 0.608 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007943/0.4391, allocations: 6.908 MB / 0.6147 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009936/0.4401, allocations: 43.75 kB / 0.6148 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.4414, allocations: 0.5968 MB / 0.6154 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002811/0.4443, allocations: 1.347 MB / 0.6167 GB, free: 35.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.4467, allocations: 1.042 MB / 0.6177 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002833/0.4495, allocations: 3.219 MB / 0.6208 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009588/0.4505, allocations: 0.727 MB / 0.6215 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.4518, allocations: 0.936 MB / 0.6225 GB, free: 33.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008035/0.4526, allocations: 0.835 MB / 0.6233 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.4528, allocations: 41.12 kB / 0.6233 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.4544, allocations: 0.7629 MB / 0.6241 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002362/0.4546, allocations: 261.8 kB / 0.6243 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004645/0.4551, allocations: 0.5298 MB / 0.6248 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.4567, allocations: 1.572 MB / 0.6264 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4568, allocations: 0 / 0.6264 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.31e-07/0.4568, allocations: 7.938 kB / 0.6264 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.4568, allocations: 0 / 0.6264 GB, free: 32.44 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002268/0.4591, allocations: 1.564 MB / 0.6279 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.4591, allocations: 8.594 kB / 0.6279 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.4592, allocations: 122.8 kB / 0.628 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003525/0.4627, allocations: 0.5745 MB / 0.6286 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.4638, allocations: 0.8041 MB / 0.6294 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.322e-05/0.4638, allocations: 69.41 kB / 0.6294 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.464, allocations: 76.34 kB / 0.6295 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/0.4662, allocations: 1.092 MB / 0.6306 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.4662, allocations: 6.25 kB / 0.6306 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-05/0.4663, allocations: 33.75 kB / 0.6306 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.4663, allocations: 23.42 kB / 0.6306 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002743/0.469, allocations: 1.001 MB / 0.6316 GB, free: 29.88 MB / 0.4981 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.00453/0.4736, allocations: 4.933 MB / 0.6364 GB, free: 26.08 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002632/0.4762, allocations: 0.9068 MB / 0.6373 GB, free: 25.83 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.4775, allocations: 489.2 kB / 0.6378 GB, free: 25.69 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009955/0.4785, allocations: 1.59 MB / 0.6393 GB, free: 23.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00148/0.48, allocations: 0.5733 MB / 0.6399 GB, free: 23.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.605e-06/0.48, allocations: 3.938 kB / 0.6399 GB, free: 23.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.004286/0.4843, allocations: 1.479 MB / 0.6413 GB, free: 23.28 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.4844, allocations: 61.12 kB / 0.6414 GB, free: 23.22 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.4854, allocations: 1.117 MB / 0.6425 GB, free: 22.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.006e-05/0.4855, allocations: 39.86 kB / 0.6425 GB, free: 22.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/0.4858, allocations: 0.5515 MB / 0.6431 GB, free: 22.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.4859, allocations: 202.9 kB / 0.6433 GB, free: 22.17 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/0.4862, allocations: 168.7 kB / 0.6434 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.81e-05/0.4863, allocations: 336.4 kB / 0.6437 GB, free: 21.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.4876, allocations: 455.2 kB / 0.6442 GB, free: 21.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.4892, allocations: 0.7139 MB / 0.6449 GB, free: 21.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002822/0.492, allocations: 1.12 MB / 0.646 GB, free: 20.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.492, allocations: 1.969 kB / 0.646 GB, free: 20.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0035/0.4956, allocations: 1.271 MB / 0.6472 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.4956, allocations: 9.281 kB / 0.6472 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.4956, allocations: 7.125 kB / 0.6472 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/0.4957, allocations: 12.31 kB / 0.6472 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.497, allocations: 272.1 kB / 0.6475 GB, free: 20.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.64e-05/0.497, allocations: 20.98 kB / 0.6475 GB, free: 20.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.4983, allocations: 199.1 kB / 0.6477 GB, free: 20.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.4984, allocations: 43.8 kB / 0.6477 GB, free: 20.12 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004636/0.4989, allocations: 296 kB / 0.648 GB, free: 19.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.4991, allocations: 119.1 kB / 0.6481 GB, free: 19.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003921/0.503, allocations: 1.361 MB / 0.6495 GB, free: 19.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/0.503, allocations: 16.55 kB / 0.6495 GB, free: 19.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.5031, allocations: 5.719 kB / 0.6495 GB, free: 19.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.5031, allocations: 3.281 kB / 0.6495 GB, free: 19.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005169/0.5082, allocations: 2.381 MB / 0.6518 GB, free: 18.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.5083, allocations: 6.156 kB / 0.6518 GB, free: 18.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.5094, allocations: 182.3 kB / 0.652 GB, free: 18.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.5094, allocations: 4.375 kB / 0.652 GB, free: 18.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-05/0.5095, allocations: 25.23 kB / 0.652 GB, free: 18.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.177e-05/0.5095, allocations: 5.156 kB / 0.652 GB, free: 18.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.5096, allocations: 14.69 kB / 0.652 GB, free: 18.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005249/0.5148, allocations: 1.963 MB / 0.654 GB, free: 17.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005195/0.5153, allocations: 277.2 kB / 0.6542 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.5155, allocations: 20.89 kB / 0.6542 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009923/0.5165, allocations: 117.5 kB / 0.6544 GB, free: 17.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.5166, allocations: 61.91 kB / 0.6544 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.278e-05/0.5167, allocations: 32.75 kB / 0.6544 GB, free: 17.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00107/0.5178, allocations: 0.7639 MB / 0.6552 GB, free: 17.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5178, allocations: 0 / 0.6552 GB, free: 17.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001224/0.5191, allocations: 344.5 kB / 0.6555 GB, free: 17.04 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006852/0.5259, allocations: 3.079 MB / 0.6585 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003477/0.5294, allocations: 1.107 MB / 0.6596 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.5294, allocations: 3.938 kB / 0.6596 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/0.5311, allocations: 0.5722 MB / 0.6602 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/0.5333, allocations: 431.6 kB / 0.6606 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/0.5526, allocations: 10.54 MB / 0.6709 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006042/0.5532, allocations: 1.104 MB / 0.672 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001157/0.5544, allocations: 250 kB / 0.6722 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005916/0.555, allocations: 456.8 kB / 0.6726 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of SimCode: time 8.31e-07/0.555, allocations: 7.938 kB / 0.6726 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06428/0.6193, allocations: 29.32 MB / 0.7013 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/0.6195, allocations: 246.6 kB / 0.7015 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/3.073, allocations: 0 / 0.7015 GB, free: 3.246 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)