Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example2,fileNamePrefix="IDEAS_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.001024/0.001024, 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.7402/0.7402, allocations: 133.6 MB / 141.6 MB, free: 2.883 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.59/1.59, 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.001254/0.001254, allocations: 105.7 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.98e-05/3.021e-05, allocations: 4 kB / 0.5536 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5139/0.514, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7807/1.295, allocations: 363.9 MB / 0.9893 GB, free: 4.391 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/1.295, allocations: 86.2 kB / 0.9894 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.816/3.111, allocations: 486.1 MB / 1.464 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.294e-06/3.111, allocations: 0 / 1.464 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002754/3.112, allocations: 47.97 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.004843/3.117, allocations: 1.529 MB / 1.466 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/3.117, allocations: 11.97 kB / 1.466 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/3.118, allocations: 243.7 kB / 1.466 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006611/3.125, allocations: 1.939 MB / 1.468 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-05/3.125, allocations: 27.38 kB / 1.468 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/3.125, allocations: 55.98 kB / 1.468 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00189/3.127, allocations: 0.6131 MB / 1.468 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/3.129, allocations: 0.8147 MB / 1.469 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/3.129, allocations: 2.938 kB / 1.469 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/3.13, allocations: 4 kB / 1.469 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/3.13, 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.008612/3.138, allocations: 4.456 MB / 1.474 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/3.139, allocations: 0.5642 MB / 1.474 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000627/3.14, allocations: 294.3 kB / 1.474 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003935/3.144, allocations: 1.681 MB / 1.476 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006221/3.145, allocations: 293.5 kB / 1.476 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009082/3.146, allocations: 96.7 kB / 1.476 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 5.069e-06/3.146, allocations: 3 kB / 1.476 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.002727/3.148, allocations: 0.7025 MB / 1.477 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/3.148, allocations: 61.16 kB / 1.477 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/3.151, allocations: 0.9995 MB / 1.478 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.469e-05/3.151, allocations: 29.7 kB / 1.478 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000746/3.152, allocations: 0.6473 MB / 1.479 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/3.152, allocations: 157.7 kB / 1.479 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/3.152, allocations: 0 / 1.479 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.366e-05/3.152, allocations: 334 kB / 1.479 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004807/3.153, allocations: 205.5 kB / 1.48 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006643/3.153, allocations: 0.5389 MB / 1.48 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/3.155, allocations: 334 kB / 1.48 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/3.155, allocations: 4 kB / 1.48 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003218/3.158, allocations: 0.9424 MB / 1.481 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007648/3.159, allocations: 3.035 MB / 1.484 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/3.159, allocations: 8 kB / 1.484 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004508/3.159, allocations: 116.7 kB / 1.484 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000886/3.16, allocations: 158.1 kB / 1.485 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008446/3.161, allocations: 0.7849 MB / 1.485 GB, free: 111 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/3.163, allocations: 67.84 kB / 1.485 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/3.163, allocations: 44.05 kB / 1.485 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/3.163, allocations: 4 kB / 1.485 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002518/3.166, allocations: 0.7803 MB / 1.486 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/3.166, allocations: 10.34 kB / 1.486 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002615/3.166, allocations: 112.6 kB / 1.486 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007889/3.167, allocations: 137.8 kB / 1.486 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/3.169, allocations: 2.115 MB / 1.488 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/3.171, allocations: 59.86 kB / 1.489 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/3.171, allocations: 39.98 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.0002756/3.171, allocations: 136.7 kB / 1.489 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002192/3.173, allocations: 0.6419 MB / 1.489 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003517/3.174, allocations: 126.4 kB / 1.489 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/3.176, allocations: 0.7911 MB / 1.49 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/3.176, allocations: 7.953 kB / 1.49 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/3.176, allocations: 3.984 kB / 1.49 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001609/3.178, allocations: 0.8098 MB / 1.491 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004352/3.182, allocations: 1.697 MB / 1.493 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/3.182, allocations: 0 / 1.493 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006269/3.183, allocations: 83.88 kB / 1.493 GB, free: 103 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002819/3.183, allocations: 100.8 kB / 1.493 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/3.183, allocations: 12.05 kB / 1.493 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000691/3.184, allocations: 0.7467 MB / 1.494 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/3.184, allocations: 4 kB / 1.494 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/3.186, allocations: 1.116 MB / 1.495 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007407/3.187, allocations: 263.4 kB / 1.495 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003454/3.188, allocations: 4.062 kB / 1.495 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/3.189, allocations: 63.78 kB / 1.495 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/3.189, allocations: 44.31 kB / 1.495 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-05/3.189, allocations: 23.98 kB / 1.495 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001876/3.191, allocations: 0.7635 MB / 1.496 GB, free: 99.83 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.5e-07/3.191, allocations: 0 / 1.496 GB, free: 99.83 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003957/3.195, allocations: 0.69 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.00502/3.2, allocations: 2.395 MB / 1.499 GB, free: 96.79 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003301/3.203, allocations: 1.202 MB / 1.5 GB, free: 95.56 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/3.203, allocations: 3.938 kB / 1.5 GB, free: 95.55 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007174/3.204, allocations: 290.6 kB / 1.5 GB, free: 95.27 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003453/3.208, allocations: 0.5029 MB / 1.501 GB, free: 94.79 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006198/3.214, allocations: 2.034 MB / 1.503 GB, free: 92.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/3.215, allocations: 1.301 MB / 1.504 GB, free: 91.37 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003472/3.219, allocations: 0.5545 MB / 1.505 GB, free: 90.83 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007841/3.219, allocations: 479.3 kB / 1.505 GB, free: 90.36 MB / 0.6823 GB Notification: Performance of SimCode: time 1.222e-06/3.219, allocations: 4 kB / 1.505 GB, free: 90.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07214/3.292, allocations: 37.21 MB / 1.541 GB, free: 53.81 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/3.292, allocations: 150.3 kB / 1.542 GB, free: 53.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.245/6.537, allocations: 4 kB / 1.542 GB, free: 53.62 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example2.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)