Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_dev_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.001126/0.001126, allocations: 173.9 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.9699/0.9699, allocations: 133.6 MB / 141.6 MB, free: 2.906 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.807/1.807, allocations: 221.5 MB / 395.5 MB, free: 10.8 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.0009313/0.0009317, allocations: 104.7 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.829e-05, allocations: 8 kB / 0.5535 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4639/0.464, allocations: 82.3 MB / 0.6339 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.026/6.49, allocations: 2.12 GB / 2.754 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/6.49, allocations: 79.64 kB / 2.754 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.237/8.727, allocations: 0.5968 GB / 3.351 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.355e-06/8.727, allocations: 0 / 3.351 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001807/8.727, allocations: 50.81 kB / 3.351 GB, free: 79.1 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.003898/8.731, allocations: 1.334 MB / 3.353 GB, free: 77.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/8.731, allocations: 12.03 kB / 3.353 GB, free: 77.72 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/8.735, allocations: 0.5706 MB / 3.353 GB, free: 77.15 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/8.738, allocations: 0.9206 MB / 3.354 GB, free: 76.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-05/8.738, allocations: 23.98 kB / 3.354 GB, free: 76.17 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002411/8.738, allocations: 47.94 kB / 3.354 GB, free: 76.12 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001149/8.739, allocations: 0.5584 MB / 3.355 GB, free: 75.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/8.74, allocations: 0.8208 MB / 3.356 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/8.74, allocations: 3.938 kB / 3.356 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.172e-05/8.74, allocations: 11.94 kB / 3.356 GB, free: 74.65 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/8.74, allocations: 29.3 kB / 3.356 GB, free: 74.62 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.00565/8.746, allocations: 4.807 MB / 3.36 GB, free: 69.58 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009084/8.747, allocations: 0.5574 MB / 3.361 GB, free: 69.01 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/8.747, allocations: 286.5 kB / 3.361 GB, free: 68.73 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/8.749, allocations: 1.599 MB / 3.363 GB, free: 66.79 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008046/8.75, allocations: 381.7 kB / 3.363 GB, free: 66.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 4.639e-06/8.75, allocations: 0 / 3.363 GB, free: 66.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.002542/8.752, allocations: 0.7241 MB / 3.364 GB, free: 65.67 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/8.752, allocations: 63.97 kB / 3.364 GB, free: 65.59 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/8.754, allocations: 0.8344 MB / 3.365 GB, free: 64.74 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.42e-05/8.754, allocations: 29.7 kB / 3.365 GB, free: 64.71 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/8.754, allocations: 0.554 MB / 3.365 GB, free: 64.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/8.754, allocations: 201.1 kB / 3.365 GB, free: 63.95 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/8.754, allocations: 0 / 3.365 GB, free: 63.95 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.915e-05/8.754, allocations: 341.9 kB / 3.366 GB, free: 63.61 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/8.755, allocations: 246.6 kB / 3.366 GB, free: 63.37 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/8.755, allocations: 0.5389 MB / 3.366 GB, free: 62.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009126/8.756, allocations: 349.8 kB / 3.367 GB, free: 62.36 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/8.756, allocations: 4 kB / 3.367 GB, free: 62.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001743/8.758, allocations: 0.8768 MB / 3.368 GB, free: 61.47 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/8.758, allocations: 9.719 kB / 3.368 GB, free: 61.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/8.758, allocations: 8 kB / 3.368 GB, free: 61.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/8.758, allocations: 12 kB / 3.368 GB, free: 61.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/8.759, allocations: 278.4 kB / 3.368 GB, free: 61.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-05/8.759, allocations: 19.92 kB / 3.368 GB, free: 61.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/8.761, allocations: 179.1 kB / 3.368 GB, free: 60.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/8.761, allocations: 51.97 kB / 3.368 GB, free: 60.93 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.0001924/8.761, allocations: 142.9 kB / 3.368 GB, free: 60.78 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001475/8.762, allocations: 0.7163 MB / 3.369 GB, free: 60.05 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/8.763, allocations: 110.7 kB / 3.369 GB, free: 59.94 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/8.765, allocations: 1.018 MB / 3.37 GB, free: 58.91 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/8.765, allocations: 11.98 kB / 3.37 GB, free: 58.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/8.765, allocations: 0 / 3.37 GB, free: 58.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/8.765, allocations: 7.938 kB / 3.37 GB, free: 58.89 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003218/8.768, allocations: 1.99 MB / 3.372 GB, free: 56.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/8.768, allocations: 4 kB / 3.372 GB, free: 56.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009996/8.769, allocations: 207.8 kB / 3.372 GB, free: 56.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.404e-05/8.769, allocations: 7.938 kB / 3.372 GB, free: 56.65 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-05/8.769, allocations: 23.72 kB / 3.372 GB, free: 56.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/8.769, allocations: 4 kB / 3.372 GB, free: 56.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/8.769, allocations: 4 kB / 3.372 GB, free: 56.62 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/8.771, allocations: 1.513 MB / 3.374 GB, free: 55.04 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005334/8.772, allocations: 311.3 kB / 3.374 GB, free: 54.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/8.772, allocations: 4 kB / 3.374 GB, free: 54.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/8.773, allocations: 119.9 kB / 3.374 GB, free: 54.59 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/8.773, allocations: 52.48 kB / 3.374 GB, free: 54.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-05/8.773, allocations: 31.98 kB / 3.374 GB, free: 54.51 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007674/8.774, allocations: 0.6281 MB / 3.375 GB, free: 53.87 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/8.774, allocations: 0 / 3.375 GB, free: 53.87 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001494/8.776, allocations: 379.3 kB / 3.375 GB, free: 53.5 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.004273/8.78, allocations: 3.119 MB / 3.378 GB, free: 50.47 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001368/8.781, allocations: 0.7198 MB / 3.379 GB, free: 49.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/8.781, allocations: 4 kB / 3.379 GB, free: 49.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000599/8.782, allocations: 402.7 kB / 3.379 GB, free: 49.36 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/8.784, allocations: 325.6 kB / 3.38 GB, free: 49.04 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005222/8.789, allocations: 2.024 MB / 3.382 GB, free: 46.98 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000626/8.79, allocations: 1.132 MB / 3.383 GB, free: 45.82 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001089/8.791, allocations: 238.7 kB / 3.383 GB, free: 45.58 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006434/8.791, allocations: 455.2 kB / 3.383 GB, free: 45.14 MB / 0.6823 GB Notification: Performance of SimCode: time 1.222e-06/8.792, allocations: 0 / 3.383 GB, free: 45.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06138/8.853, allocations: 27.02 MB / 3.41 GB, free: 18.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/8.853, allocations: 177 kB / 3.41 GB, free: 18.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.134/11.99, allocations: 0 / 3.41 GB, free: 18.14 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)