Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.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.Examples.Performance.Example1v1,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example1v1,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v1",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.0008919/0.000892, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6331/0.6331, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.207/1.207, allocations: 221.3 MB / 400.4 MB, free: 5.867 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007793/0.0007793, allocations: 91.89 kB / 483.3 MB, free: 5.898 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.225e-05/2.227e-05, allocations: 2.125 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1062, allocations: 82.29 MB / 0.6405 GB, free: 7.777 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8987/1.005, allocations: 381.4 MB / 1.013 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/1.005, allocations: 89.3 kB / 1.013 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.623/5.628, allocations: 1.334 GB / 2.347 GB, free: 109.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.975e-06/5.628, allocations: 3.5 kB / 2.347 GB, free: 109.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0006324/5.629, allocations: 95.52 kB / 2.348 GB, free: 109.1 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01146/5.64, allocations: 3.12 MB / 2.351 GB, free: 108 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/5.64, allocations: 9.656 kB / 2.351 GB, free: 108 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009511/5.641, allocations: 229.1 kB / 2.351 GB, free: 108 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003264/5.645, allocations: 0.5376 MB / 2.351 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01307/5.658, allocations: 4.325 MB / 2.356 GB, free: 107.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/5.658, allocations: 137 kB / 2.356 GB, free: 107.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006224/5.658, allocations: 186.3 kB / 2.356 GB, free: 107.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004484/5.663, allocations: 2.173 MB / 2.358 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.112e-05/5.663, allocations: 7.953 kB / 2.358 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003087/5.663, allocations: 70.5 kB / 2.358 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.26e-05/5.663, allocations: 38.06 kB / 2.358 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002995/5.666, allocations: 1.677 MB / 2.36 GB, free: 106.7 MB / 0.7136 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.0151/5.682, allocations: 11.53 MB / 2.371 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/5.683, allocations: 1.171 MB / 2.372 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/5.684, allocations: 0.8974 MB / 2.373 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006144/5.691, allocations: 3.472 MB / 2.376 GB, free: 98.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/5.692, allocations: 0.6793 MB / 2.377 GB, free: 98.64 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002428/5.694, allocations: 0.6074 MB / 2.378 GB, free: 98.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=98): time 9.027e-06/5.694, allocations: 0 / 2.378 GB, free: 98.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=98): time 0.003466/5.698, allocations: 1.797 MB / 2.379 GB, free: 98.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/5.698, allocations: 66 kB / 2.379 GB, free: 98.28 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005389/5.703, allocations: 2.46 MB / 2.382 GB, free: 98.03 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001626/5.703, allocations: 65.06 kB / 2.382 GB, free: 98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001646/5.705, allocations: 1.416 MB / 2.383 GB, free: 97.61 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003259/5.705, allocations: 355.2 kB / 2.384 GB, free: 97.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.862e-05/5.705, allocations: 28.06 kB / 2.384 GB, free: 97.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001143/5.705, allocations: 363.5 kB / 2.384 GB, free: 97.08 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007896/5.706, allocations: 0.5149 MB / 2.385 GB, free: 97.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/5.707, allocations: 1.276 MB / 2.386 GB, free: 96.14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/5.709, allocations: 0.7427 MB / 2.386 GB, free: 96.08 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/5.709, allocations: 3.125 kB / 2.386 GB, free: 96.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003924/5.712, allocations: 2.363 MB / 2.389 GB, free: 95.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.00136/5.714, allocations: 5.989 MB / 2.395 GB, free: 89.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.198e-05/5.714, allocations: 14.5 kB / 2.395 GB, free: 89.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/5.715, allocations: 0.492 MB / 2.395 GB, free: 89.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/5.716, allocations: 279.8 kB / 2.395 GB, free: 89.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/5.718, allocations: 1.893 MB / 2.397 GB, free: 88.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002499/5.72, allocations: 182.5 kB / 2.397 GB, free: 88.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/5.72, allocations: 81 kB / 2.398 GB, free: 88.35 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/5.72, allocations: 3.844 kB / 2.398 GB, free: 88.35 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003274/5.724, allocations: 2.123 MB / 2.4 GB, free: 88.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.55e-05/5.724, allocations: 13.97 kB / 2.4 GB, free: 88.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008506/5.725, allocations: 469.3 kB / 2.4 GB, free: 88.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009739/5.726, allocations: 257 kB / 2.4 GB, free: 88.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006097/5.732, allocations: 5.834 MB / 2.406 GB, free: 85.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/5.734, allocations: 181.9 kB / 2.406 GB, free: 85.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/5.734, allocations: 64.48 kB / 2.406 GB, free: 85.27 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.000447/5.735, allocations: 208.6 kB / 2.406 GB, free: 85.15 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007396/5.735, allocations: 296.9 kB / 2.407 GB, free: 85 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004014/5.739, allocations: 2.099 MB / 2.409 GB, free: 84.83 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/5.74, allocations: 14.69 kB / 2.409 GB, free: 84.83 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/5.74, allocations: 3.047 kB / 2.409 GB, free: 84.83 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002275/5.742, allocations: 1.81 MB / 2.411 GB, free: 84.39 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007964/5.75, allocations: 4.051 MB / 2.414 GB, free: 83.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/5.75, allocations: 3.875 kB / 2.414 GB, free: 83.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006574/5.75, allocations: 130.4 kB / 2.415 GB, free: 83.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009816/5.751, allocations: 482.1 kB / 2.415 GB, free: 83.78 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.401e-05/5.752, allocations: 25.94 kB / 2.415 GB, free: 83.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/5.753, allocations: 1.845 MB / 2.417 GB, free: 82.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/5.753, allocations: 2.156 kB / 2.417 GB, free: 82.72 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00419/5.757, allocations: 2.795 MB / 2.42 GB, free: 82.24 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001745/5.759, allocations: 499.3 kB / 2.42 GB, free: 81.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008115/5.76, allocations: 19.83 kB / 2.42 GB, free: 81.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001976/5.762, allocations: 146.8 kB / 2.42 GB, free: 81.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/5.762, allocations: 72.97 kB / 2.42 GB, free: 81.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.412e-05/5.762, allocations: 32.3 kB / 2.42 GB, free: 81.96 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003624/5.766, allocations: 1.917 MB / 2.422 GB, free: 81.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.61e-07/5.766, allocations: 0 / 2.422 GB, free: 81.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006281/5.772, allocations: 1.449 MB / 2.424 GB, free: 81.66 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.006336/5.778, allocations: 4.228 MB / 2.428 GB, free: 80.42 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005122/5.783, allocations: 2.873 MB / 2.431 GB, free: 79.94 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/5.783, allocations: 3.25 kB / 2.431 GB, free: 79.94 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/5.785, allocations: 0.653 MB / 2.431 GB, free: 79.92 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005978/5.791, allocations: 1.169 MB / 2.432 GB, free: 79.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/5.802, allocations: 4.641 MB / 2.437 GB, free: 78.81 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00198/5.804, allocations: 2.101 MB / 2.439 GB, free: 78.07 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.005877/5.81, allocations: 1.597 MB / 2.441 GB, free: 77.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001487/5.811, allocations: 1.098 MB / 2.442 GB, free: 77.84 MB / 0.7136 GB Notification: Performance of SimCode: time 1.272e-06/5.811, allocations: 0 / 2.442 GB, free: 77.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1458/5.957, allocations: 89.99 MB / 2.529 GB, free: 33.83 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/5.957, allocations: 212.3 kB / 2.53 GB, free: 33.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.259/11.22, allocations: 0 / 2.53 GB, free: 33.6 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v1.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)