Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.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.Example2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example2",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.00209/0.00209, allocations: 180.9 kB / 7.651 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 1.367/1.367, allocations: 133.6 MB / 141.6 MB, free: 2.887 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.61/2.61, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.001453/0.001453, allocations: 100.7 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.342e-05/2.344e-05, allocations: 0 / 0.5535 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8692/0.8692, allocations: 82.3 MB / 0.6339 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.474/2.344, allocations: 363.9 MB / 0.9893 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/2.344, allocations: 88.58 kB / 0.9894 GB, free: 4.281 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.165/5.509, allocations: 486.1 MB / 1.464 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.677e-06/5.509, allocations: 2.344 kB / 1.464 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003463/5.51, allocations: 47.78 kB / 1.464 GB, free: 133.4 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.006068/5.516, allocations: 1.526 MB / 1.466 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.899e-05/5.516, allocations: 8.031 kB / 1.466 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002699/5.519, allocations: 236.9 kB / 1.466 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008622/5.527, allocations: 1.957 MB / 1.468 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-05/5.527, allocations: 24 kB / 1.468 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002964/5.528, allocations: 52 kB / 1.468 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001892/5.53, allocations: 0.6183 MB / 1.468 GB, free: 129 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/5.532, allocations: 0.8143 MB / 1.469 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.463e-05/5.532, allocations: 3.938 kB / 1.469 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/5.532, allocations: 4 kB / 1.469 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/5.532, allocations: 19.95 kB / 1.469 GB, free: 128.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.009144/5.541, allocations: 4.461 MB / 1.474 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/5.542, allocations: 0.5625 MB / 1.474 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006949/5.543, allocations: 298 kB / 1.474 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004303/5.547, allocations: 1.669 MB / 1.476 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006353/5.548, allocations: 300.8 kB / 1.476 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008314/5.549, allocations: 94.73 kB / 1.476 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 4.649e-06/5.549, allocations: 0 / 1.476 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.002933/5.552, allocations: 0.7049 MB / 1.477 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/5.552, allocations: 59.41 kB / 1.477 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002234/5.554, allocations: 0.9995 MB / 1.478 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/5.554, allocations: 29.7 kB / 1.478 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007872/5.555, allocations: 0.6447 MB / 1.479 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002/5.555, allocations: 153.7 kB / 1.479 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/5.556, allocations: 0 / 1.479 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001128/5.556, allocations: 337.1 kB / 1.479 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005406/5.556, allocations: 205.5 kB / 1.48 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006905/5.557, allocations: 0.534 MB / 1.48 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/5.559, allocations: 342.3 kB / 1.48 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/5.559, allocations: 7.938 kB / 1.48 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003687/5.562, allocations: 0.9331 MB / 1.481 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009904/5.563, allocations: 3.038 MB / 1.484 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/5.563, allocations: 8 kB / 1.484 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000494/5.564, allocations: 123.6 kB / 1.484 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/5.565, allocations: 151.7 kB / 1.485 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/5.566, allocations: 0.785 MB / 1.485 GB, free: 111 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/5.568, allocations: 65.64 kB / 1.485 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/5.568, allocations: 44.05 kB / 1.485 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/5.568, allocations: 4.938 kB / 1.485 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002812/5.571, allocations: 0.7843 MB / 1.486 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/5.571, allocations: 8 kB / 1.486 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003293/5.572, allocations: 112.8 kB / 1.486 GB, free: 110 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008797/5.572, allocations: 139.7 kB / 1.486 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002828/5.575, allocations: 2.114 MB / 1.488 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/5.577, allocations: 67.84 kB / 1.489 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/5.577, allocations: 40 kB / 1.489 GB, free: 107.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: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003821/5.578, allocations: 132.7 kB / 1.489 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002591/5.58, allocations: 0.6478 MB / 1.489 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/5.581, allocations: 122.4 kB / 1.489 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002838/5.583, allocations: 0.7865 MB / 1.49 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/5.583, allocations: 11.89 kB / 1.49 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/5.583, allocations: 112 / 1.49 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00188/5.585, allocations: 0.8145 MB / 1.491 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005101/5.59, allocations: 1.693 MB / 1.493 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/5.591, allocations: 4 kB / 1.493 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008051/5.591, allocations: 83.94 kB / 1.493 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003484/5.592, allocations: 100.8 kB / 1.493 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.705e-05/5.592, allocations: 7.984 kB / 1.493 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008318/5.593, allocations: 0.7474 MB / 1.494 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/5.593, allocations: 7.938 kB / 1.494 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003148/5.596, allocations: 1.116 MB / 1.495 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/5.597, allocations: 259.4 kB / 1.495 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/5.597, allocations: 7.984 kB / 1.495 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/5.598, allocations: 67.84 kB / 1.495 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/5.599, allocations: 36.38 kB / 1.495 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.272e-05/5.599, allocations: 23.98 kB / 1.495 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001877/5.601, allocations: 0.7635 MB / 1.496 GB, free: 99.84 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.833e-06/5.601, allocations: 0 / 1.496 GB, free: 99.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004077/5.605, allocations: 0.6978 MB / 1.497 GB, free: 99.14 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * 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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004881/5.61, allocations: 2.386 MB / 1.499 GB, free: 96.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003175/5.613, allocations: 1.207 MB / 1.5 GB, free: 95.56 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/5.613, allocations: 0 / 1.5 GB, free: 95.56 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008234/5.614, allocations: 288.7 kB / 1.5 GB, free: 95.29 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004546/5.618, allocations: 0.4973 MB / 1.501 GB, free: 94.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0068/5.625, allocations: 2.042 MB / 1.503 GB, free: 92.71 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/5.626, allocations: 1.301 MB / 1.504 GB, free: 91.38 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003778/5.63, allocations: 0.5609 MB / 1.505 GB, free: 90.84 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009185/5.631, allocations: 479.2 kB / 1.505 GB, free: 90.37 MB / 0.6823 GB Notification: Performance of SimCode: time 1.573e-06/5.631, allocations: 0 / 1.505 GB, free: 90.37 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1097/5.741, allocations: 37.21 MB / 1.541 GB, free: 53.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002579/5.741, allocations: 151.8 kB / 1.542 GB, free: 53.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.501/11.24, allocations: 0 / 1.542 GB, free: 53.62 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example2.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)