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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8557/0.8557, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 221.5 MB / 395.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008843/0.0008843, allocations: 99.23 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.186e-05/2.188e-05, allocations: 4 kB / 0.5536 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4809, allocations: 82.3 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.109/5.59, allocations: 2.12 GB / 2.754 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/5.59, allocations: 88.89 kB / 2.754 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.098/7.689, allocations: 0.5968 GB / 3.351 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.234e-06/7.689, allocations: 0 / 3.351 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001992/7.689, allocations: 43.39 kB / 3.351 GB, free: 122.6 MB / 0.6823 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.004034/7.693, allocations: 1.333 MB / 3.353 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/7.693, allocations: 11.25 kB / 3.353 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003293/7.696, allocations: 0.5742 MB / 3.353 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003026/7.699, allocations: 0.9277 MB / 3.354 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.501e-05/7.699, allocations: 23.98 kB / 3.354 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002437/7.7, allocations: 44 kB / 3.354 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001186/7.701, allocations: 0.5584 MB / 3.355 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/7.702, allocations: 0.8209 MB / 3.355 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/7.702, allocations: 3.938 kB / 3.356 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.127e-05/7.702, allocations: 4 kB / 3.356 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-05/7.702, allocations: 35.8 kB / 3.356 GB, free: 118.1 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.005963/7.708, allocations: 4.808 MB / 3.36 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009541/7.709, allocations: 0.5512 MB / 3.361 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004245/7.71, allocations: 291.2 kB / 3.361 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/7.711, allocations: 1.602 MB / 3.363 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005655/7.711, allocations: 384 kB / 3.363 GB, free: 110 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 5.119e-06/7.712, allocations: 0 / 3.363 GB, free: 110 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.001797/7.713, allocations: 0.7203 MB / 3.364 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/7.713, allocations: 63.91 kB / 3.364 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/7.715, allocations: 0.8325 MB / 3.365 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.403e-05/7.715, allocations: 29.7 kB / 3.365 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004117/7.715, allocations: 0.554 MB / 3.365 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/7.715, allocations: 205 kB / 3.365 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/7.715, allocations: 0 / 3.365 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.414e-05/7.715, allocations: 343.9 kB / 3.366 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/7.716, allocations: 242.6 kB / 3.366 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005758/7.716, allocations: 0.54 MB / 3.366 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009734/7.717, allocations: 346.8 kB / 3.367 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/7.717, allocations: 6.688 kB / 3.367 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001982/7.719, allocations: 0.8743 MB / 3.368 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/7.719, allocations: 8 kB / 3.368 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/7.72, allocations: 8 kB / 3.368 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.502e-05/7.72, allocations: 12 kB / 3.368 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/7.721, allocations: 281.5 kB / 3.368 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/7.721, allocations: 19.92 kB / 3.368 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/7.722, allocations: 172.3 kB / 3.368 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/7.722, allocations: 54.91 kB / 3.368 GB, free: 104.5 MB / 0.6823 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002704/7.723, allocations: 130.9 kB / 3.368 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001571/7.724, allocations: 0.7259 MB / 3.369 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/7.724, allocations: 113.8 kB / 3.369 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/7.726, allocations: 1.014 MB / 3.37 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/7.726, allocations: 11.98 kB / 3.37 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/7.726, allocations: 3.938 kB / 3.37 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/7.727, allocations: 7.938 kB / 3.37 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/7.73, allocations: 1.995 MB / 3.372 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.445e-06/7.73, allocations: 4 kB / 3.372 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/7.731, allocations: 205.6 kB / 3.372 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/7.731, allocations: 4 kB / 3.372 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.538e-05/7.731, allocations: 23.91 kB / 3.372 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/7.731, allocations: 7 kB / 3.372 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/7.731, allocations: 4 kB / 3.372 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/7.733, allocations: 1.515 MB / 3.374 GB, free: 98.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005134/7.734, allocations: 303.3 kB / 3.374 GB, free: 98.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/7.734, allocations: 9.875 kB / 3.374 GB, free: 98.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/7.735, allocations: 119.8 kB / 3.374 GB, free: 98.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/7.735, allocations: 50.97 kB / 3.374 GB, free: 98.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.052e-05/7.735, allocations: 35.97 kB / 3.374 GB, free: 98.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000819/7.736, allocations: 0.6281 MB / 3.375 GB, free: 97.53 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/7.736, allocations: 0 / 3.375 GB, free: 97.53 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001418/7.738, allocations: 375.3 kB / 3.375 GB, free: 97.16 MB / 0.6823 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.004039/7.742, allocations: 3.119 MB / 3.378 GB, free: 94.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001206/7.743, allocations: 0.7182 MB / 3.379 GB, free: 93.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/7.743, allocations: 4 kB / 3.379 GB, free: 93.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005353/7.743, allocations: 404.2 kB / 3.379 GB, free: 93.09 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/7.745, allocations: 328.6 kB / 3.38 GB, free: 92.78 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004755/7.75, allocations: 2.015 MB / 3.382 GB, free: 90.73 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006319/7.751, allocations: 1.14 MB / 3.383 GB, free: 89.56 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001068/7.752, allocations: 243.1 kB / 3.383 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006404/7.752, allocations: 453.4 kB / 3.383 GB, free: 88.89 MB / 0.6823 GB Notification: Performance of SimCode: time 9.92e-07/7.752, allocations: 0 / 3.383 GB, free: 88.89 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06283/7.815, allocations: 27.02 MB / 3.41 GB, free: 62.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/7.815, allocations: 164.2 kB / 3.41 GB, free: 62.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.139/10.95, allocations: 0 / 3.41 GB, free: 62.29 MB / 0.6823 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/linux/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)