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.0009061/0.000906, allocations: 174.6 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.6543/0.6543, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.271/1.271, allocations: 221.3 MB / 400.4 MB, free: 5.809 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.0008/0.0008, allocations: 89.78 kB / 483.3 MB, free: 5.816 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.35e-05/3.354e-05, allocations: 4.062 kB / 0.5601 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.144, allocations: 82.31 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9724/1.116, allocations: 364.5 MB / 0.9965 GB, free: 255.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001729/1.117, allocations: 87.83 kB / 0.9966 GB, free: 255.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.135/2.252, allocations: 489 MB / 1.474 GB, free: 31.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.012e-06/2.252, allocations: 0 / 1.474 GB, free: 31.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001234/2.252, allocations: 39.98 kB / 1.474 GB, free: 31.86 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.002118/2.254, allocations: 1.528 MB / 1.476 GB, free: 30.28 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/2.254, allocations: 12.03 kB / 1.476 GB, free: 30.27 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/2.254, allocations: 118.6 kB / 1.476 GB, free: 30.14 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008266/2.255, allocations: 241.5 kB / 1.476 GB, free: 29.91 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/2.258, allocations: 1.943 MB / 1.478 GB, free: 27.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/2.258, allocations: 66 kB / 1.478 GB, free: 27.84 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/2.258, allocations: 88 kB / 1.478 GB, free: 27.76 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/2.259, allocations: 0.918 MB / 1.479 GB, free: 26.79 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/2.26, allocations: 3.938 kB / 1.479 GB, free: 26.79 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.88e-05/2.26, allocations: 35.95 kB / 1.479 GB, free: 26.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/2.26, allocations: 20 kB / 1.479 GB, free: 26.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008329/2.26, allocations: 0.6403 MB / 1.48 GB, free: 26.09 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.003908/2.264, allocations: 4.6 MB / 1.484 GB, free: 21.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006692/2.265, allocations: 0.5341 MB / 1.485 GB, free: 20.66 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003659/2.265, allocations: 304.1 kB / 1.485 GB, free: 20.37 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001835/2.267, allocations: 1.706 MB / 1.487 GB, free: 18.52 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003678/2.268, allocations: 318.2 kB / 1.487 GB, free: 18.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000306/2.268, allocations: 103.5 kB / 1.487 GB, free: 18.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 2.164e-06/2.268, allocations: 0 / 1.487 GB, free: 18.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.0009323/2.269, allocations: 0.6445 MB / 1.488 GB, free: 17.45 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/2.269, allocations: 59.41 kB / 1.488 GB, free: 17.38 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/2.27, allocations: 1.113 MB / 1.489 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/2.27, allocations: 37.7 kB / 1.489 GB, free: 16.21 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/2.27, allocations: 0.6451 MB / 1.489 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.522e-05/2.27, allocations: 161.7 kB / 1.49 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/2.271, allocations: 16 kB / 1.49 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.126e-05/2.271, allocations: 334 kB / 1.49 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/2.271, allocations: 201.5 kB / 1.49 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/2.271, allocations: 0.5414 MB / 1.491 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/2.272, allocations: 313.3 kB / 1.491 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/2.272, allocations: 4 kB / 1.491 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001139/2.273, allocations: 0.9616 MB / 1.492 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004366/2.273, allocations: 3.041 MB / 1.495 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/2.273, allocations: 11.98 kB / 1.495 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002983/2.273, allocations: 132.7 kB / 1.495 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/2.274, allocations: 159.7 kB / 1.495 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005147/2.275, allocations: 0.763 MB / 1.496 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006639/2.275, allocations: 79.7 kB / 1.496 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-05/2.275, allocations: 43.98 kB / 1.496 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/2.275, allocations: 7.953 kB / 1.496 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009999/2.276, allocations: 0.866 MB / 1.497 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/2.276, allocations: 4 kB / 1.497 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/2.276, allocations: 100.8 kB / 1.497 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/2.277, allocations: 144.1 kB / 1.497 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/2.278, allocations: 2.196 MB / 1.499 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000579/2.279, allocations: 83.8 kB / 1.499 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/2.279, allocations: 32 kB / 1.499 GB, free: 4.797 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.0001243/2.279, allocations: 168.5 kB / 1.5 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/2.279, allocations: 126.4 kB / 1.5 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/2.28, allocations: 0.8239 MB / 1.5 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/2.28, allocations: 8 kB / 1.5 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/2.28, allocations: 3.938 kB / 1.501 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007619/2.281, allocations: 0.8163 MB / 1.501 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/2.283, allocations: 1.799 MB / 1.503 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/2.283, allocations: 8.062 kB / 1.503 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003614/2.284, allocations: 87.88 kB / 1.503 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002139/2.284, allocations: 120.8 kB / 1.503 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/2.284, allocations: 15.98 kB / 1.503 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3131/2.597, allocations: 0.7381 MB / 1.504 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/2.597, allocations: 5.234 kB / 1.504 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/2.599, allocations: 1.157 MB / 1.505 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000652/2.6, allocations: 268.9 kB / 1.505 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/2.6, allocations: 9.844 kB / 1.505 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007689/2.601, allocations: 69.81 kB / 1.505 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/2.601, allocations: 44.55 kB / 1.506 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.103e-05/2.601, allocations: 21.41 kB / 1.506 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001422/2.602, allocations: 0.8719 MB / 1.506 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/2.602, allocations: 2.062 kB / 1.506 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002341/2.605, allocations: 0.7199 MB / 1.507 GB, free: 131.1 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.003015/2.608, allocations: 2.442 MB / 1.509 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001983/2.61, allocations: 1.266 MB / 1.511 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/2.61, allocations: 0.8438 kB / 1.511 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005/2.61, allocations: 300.9 kB / 1.511 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/2.612, allocations: 0.5588 MB / 1.512 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003168/2.615, allocations: 2.083 MB / 1.514 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006439/2.616, allocations: 1.301 MB / 1.515 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001664/2.618, allocations: 0.5607 MB / 1.515 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004684/2.618, allocations: 476.9 kB / 1.516 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of SimCode: time 3.4e-07/2.618, allocations: 0 / 1.516 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.355/6.973, allocations: 44.04 MB / 1.559 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/6.973, allocations: 219.5 kB / 1.559 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.975/10.95, allocations: 0 / 1.559 GB, free: 127.4 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)