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.008505/0.008505, allocations: 170.6 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7796/0.7796, allocations: 135.2 MB / 151 MB, free: 13.81 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.652/1.652, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.0009759/0.0009759, allocations: 96.3 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004584, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4965/0.497, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9207/1.418, allocations: 364.6 MB / 1.006 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003452/1.418, allocations: 94.39 kB / 1.006 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.017/3.435, allocations: 490.9 MB / 1.485 GB, free: 92.01 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.785e-06/3.435, allocations: 0 / 1.485 GB, free: 92.01 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003267/3.436, allocations: 49.48 kB / 1.485 GB, free: 91.97 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.006848/3.443, allocations: 1.965 MB / 1.487 GB, free: 89.97 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/3.443, allocations: 8.031 kB / 1.487 GB, free: 89.96 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005148/3.443, allocations: 130.6 kB / 1.487 GB, free: 89.82 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/3.445, allocations: 237.8 kB / 1.487 GB, free: 89.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006718/3.452, allocations: 1.972 MB / 1.489 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/3.452, allocations: 67.23 kB / 1.489 GB, free: 87.54 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000366/3.452, allocations: 88 kB / 1.489 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/3.455, allocations: 0.9529 MB / 1.49 GB, free: 86.45 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.956e-05/3.455, allocations: 4 kB / 1.49 GB, free: 86.45 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/3.455, allocations: 32 kB / 1.49 GB, free: 86.41 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/3.455, allocations: 19.95 kB / 1.49 GB, free: 86.39 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/3.457, allocations: 0.7142 MB / 1.491 GB, free: 85.68 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00832/3.465, allocations: 4.602 MB / 1.496 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/3.466, allocations: 0.5964 MB / 1.496 GB, free: 80.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003821/3.47, allocations: 1.703 MB / 1.498 GB, free: 78.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007086/3.471, allocations: 338.2 kB / 1.498 GB, free: 78.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009383/3.472, allocations: 111.4 kB / 1.498 GB, free: 77.96 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 6.532e-06/3.472, allocations: 0 / 1.498 GB, free: 77.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.003207/3.475, allocations: 1.131 MB / 1.499 GB, free: 76.81 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/3.475, allocations: 55.41 kB / 1.499 GB, free: 76.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/3.477, allocations: 1.127 MB / 1.501 GB, free: 75.61 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/3.478, allocations: 48.22 kB / 1.501 GB, free: 75.56 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006617/3.478, allocations: 0.6443 MB / 1.501 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/3.478, allocations: 164.3 kB / 1.501 GB, free: 74.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/3.479, allocations: 12 kB / 1.501 GB, free: 74.74 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001216/3.479, allocations: 334 kB / 1.502 GB, free: 74.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/3.479, allocations: 237.8 kB / 1.502 GB, free: 74.18 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006961/3.48, allocations: 0.5748 MB / 1.503 GB, free: 73.44 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006598/3.481, allocations: 357.3 kB / 1.503 GB, free: 73.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/3.481, allocations: 0 / 1.503 GB, free: 73.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002017/3.483, allocations: 1.011 MB / 1.504 GB, free: 72.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009793/3.484, allocations: 3.049 MB / 1.507 GB, free: 68.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/3.484, allocations: 8 kB / 1.507 GB, free: 68.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004071/3.484, allocations: 147.5 kB / 1.507 GB, free: 68.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/3.485, allocations: 143.8 kB / 1.507 GB, free: 68.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006407/3.485, allocations: 0.7637 MB / 1.508 GB, free: 67.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/3.487, allocations: 83.84 kB / 1.508 GB, free: 67.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/3.487, allocations: 43.98 kB / 1.508 GB, free: 67.63 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/3.487, allocations: 7.938 kB / 1.508 GB, free: 67.62 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001556/3.488, allocations: 0.916 MB / 1.509 GB, free: 66.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/3.488, allocations: 8 kB / 1.509 GB, free: 66.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/3.488, allocations: 109.2 kB / 1.509 GB, free: 66.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/3.489, allocations: 143.7 kB / 1.509 GB, free: 66.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/3.491, allocations: 2.226 MB / 1.511 GB, free: 64.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/3.492, allocations: 83.84 kB / 1.511 GB, free: 63.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.918e-05/3.492, allocations: 32 kB / 1.511 GB, free: 63.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: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Number of clocked 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.0009049/3.493, allocations: 483.8 kB / 1.512 GB, free: 63.45 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/3.493, allocations: 134.3 kB / 1.512 GB, free: 63.32 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/3.495, allocations: 0.885 MB / 1.513 GB, free: 62.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/3.495, allocations: 11.95 kB / 1.513 GB, free: 62.42 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/3.495, allocations: 0 / 1.513 GB, free: 62.42 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001196/3.497, allocations: 0.8797 MB / 1.514 GB, free: 61.48 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00367/3.5, allocations: 1.873 MB / 1.516 GB, free: 59.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/3.5, allocations: 4.062 kB / 1.516 GB, free: 59.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/3.501, allocations: 83.88 kB / 1.516 GB, free: 59.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002607/3.501, allocations: 122.3 kB / 1.516 GB, free: 59.34 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-05/3.501, allocations: 16 kB / 1.516 GB, free: 59.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004713/3.501, allocations: 0.7487 MB / 1.517 GB, free: 58.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/3.501, allocations: 4 kB / 1.517 GB, free: 58.54 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/3.503, allocations: 1.237 MB / 1.518 GB, free: 57.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006632/3.504, allocations: 275.4 kB / 1.518 GB, free: 56.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/3.504, allocations: 12 kB / 1.518 GB, free: 56.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008364/3.505, allocations: 63.86 kB / 1.518 GB, free: 56.91 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/3.505, allocations: 40.39 kB / 1.518 GB, free: 56.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/3.506, allocations: 23.97 kB / 1.518 GB, free: 56.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001399/3.507, allocations: 0.8818 MB / 1.519 GB, free: 55.96 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/3.507, allocations: 7.875 kB / 1.519 GB, free: 55.95 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003031/3.51, allocations: 0.7292 MB / 1.52 GB, free: 55.22 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) * Number of clocked states: 0 () * 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.004328/3.514, allocations: 2.526 MB / 1.522 GB, free: 52.76 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002888/3.517, allocations: 1.313 MB / 1.523 GB, free: 51.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/3.517, allocations: 0 / 1.523 GB, free: 51.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007084/3.518, allocations: 335.5 kB / 1.524 GB, free: 51.09 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/3.521, allocations: 0.5604 MB / 1.524 GB, free: 50.55 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008571/3.529, allocations: 8.83 MB / 1.533 GB, free: 41.52 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/3.53, allocations: 1.299 MB / 1.534 GB, free: 40.19 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001464/3.532, allocations: 301.3 kB / 1.534 GB, free: 39.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007187/3.533, allocations: 0.4915 MB / 1.535 GB, free: 39.41 MB / 0.6823 GB Notification: Performance of SimCode: time 1.323e-06/3.533, allocations: 0 / 1.535 GB, free: 39.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5479/4.081, allocations: 40.74 MB / 1.575 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/4.081, allocations: 241.6 kB / 1.575 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.706/7.787, allocations: 0.8125 kB / 1.575 GB, free: 131.1 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)