Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example1v1,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example1v1,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007803/0.007803, allocations: 102.1 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 193.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.199/2.199, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.311/1.311, allocations: 132.2 MB / 422.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.08 kB / 0.5809 GB, free: 1.062 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2698, allocations: 80.2 MB / 0.6592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.1409/0.4108, allocations: 72.3 MB / 0.7298 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04181/0.4527, allocations: 16.99 MB / 0.7464 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004821/0.4576, allocations: 95.44 kB / 0.7465 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004184/0.4619, allocations: 0.9977 MB / 0.7475 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009897/0.4718, allocations: 2.367 MB / 0.7498 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009819/0.4817, allocations: 2.068 MB / 0.7518 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01743/0.4991, allocations: 8.036 MB / 0.7596 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01559/0.5148, allocations: 6.113 MB / 0.7656 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01275/0.5276, allocations: 3.359 MB / 0.7689 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007581/0.5353, allocations: 2.489 MB / 0.7713 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001798/0.5371, allocations: 256 kB / 0.7716 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006932/0.5441, allocations: 1.377 MB / 0.7729 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002778/0.547, allocations: 0.7549 MB / 0.7736 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005376/0.5524, allocations: 1.772 MB / 0.7754 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.5628, allocations: 4.759 MB / 0.78 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.5628, allocations: 0 / 0.78 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.033e-06/0.5628, allocations: 0 / 0.78 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002115/0.5631, allocations: 0 / 0.78 GB, free: 1.746 MB / 0.6075 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.0151/0.5782, allocations: 3.946 MB / 0.7839 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/0.5782, allocations: 8.031 kB / 0.7839 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008192/0.5791, allocations: 236 kB / 0.7841 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004675/0.5838, allocations: 0.5383 MB / 0.7846 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/0.5961, allocations: 2.748 MB / 0.7873 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000284/0.5964, allocations: 143.1 kB / 0.7875 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001076/0.5976, allocations: 191.9 kB / 0.7876 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009952/0.6075, allocations: 2.322 MB / 0.7899 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.6077, allocations: 3.938 kB / 0.7899 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006503/0.6084, allocations: 75.98 kB / 0.79 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-05/0.6085, allocations: 40 kB / 0.79 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007708/0.6162, allocations: 1.865 MB / 0.7918 GB, free: 5.316 MB / 0.6231 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.02812/0.6444, allocations: 11.09 MB / 0.8027 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005238/0.6497, allocations: 1.337 MB / 0.804 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003057/0.6528, allocations: 1.005 MB / 0.805 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01267/0.6655, allocations: 3.635 MB / 0.8085 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002861/0.6685, allocations: 0.7702 MB / 0.8093 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002506/0.671, allocations: 226.9 kB / 0.8095 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=95): time 1.351e-05/0.6711, allocations: 0 / 0.8095 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95): time 0.7351/1.406, allocations: 4.164 MB / 0.8135 GB, free: 145.6 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.035e-05/1.406, allocations: 73.3 kB / 0.8136 GB, free: 145.6 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01158/1.418, allocations: 2.878 MB / 0.8164 GB, free: 145.1 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0006133/1.419, allocations: 57.05 kB / 0.8165 GB, free: 145 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.003394/1.422, allocations: 1.416 MB / 0.8179 GB, free: 144.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009604/1.423, allocations: 337.3 kB / 0.8182 GB, free: 144 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001288/1.424, allocations: 351.7 kB / 0.8185 GB, free: 143.9 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.468e-05/1.425, allocations: 302.8 kB / 0.8188 GB, free: 143.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002849/1.427, allocations: 0.6829 MB / 0.8195 GB, free: 143.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003942/1.431, allocations: 1.431 MB / 0.8209 GB, free: 142.2 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006719/1.438, allocations: 1.915 MB / 0.8227 GB, free: 141 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.038e-05/1.438, allocations: 3.969 kB / 0.8227 GB, free: 141 MB / 0.6387 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01476/1.453, allocations: 2.845 MB / 0.8255 GB, free: 139.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/1.453, allocations: 39.39 kB / 0.8256 GB, free: 139.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.495e-05/1.453, allocations: 15.28 kB / 0.8256 GB, free: 139.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00503/1.458, allocations: 0.6914 MB / 0.8262 GB, free: 139.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00266/1.461, allocations: 290.2 kB / 0.8265 GB, free: 139.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003727/1.465, allocations: 1.902 MB / 0.8284 GB, free: 138.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004578/1.469, allocations: 96 kB / 0.8285 GB, free: 138.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007315/1.47, allocations: 90.05 kB / 0.8286 GB, free: 138.4 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005134/1.475, allocations: 1.272 MB / 0.8298 GB, free: 137.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002845/1.478, allocations: 1.392 MB / 0.8312 GB, free: 136.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00457/1.483, allocations: 1.825 MB / 0.8329 GB, free: 135.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.293e-05/1.483, allocations: 3.969 kB / 0.8329 GB, free: 135.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.00958/1.493, allocations: 2.685 MB / 0.8356 GB, free: 134.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.565e-05/1.493, allocations: 44.09 kB / 0.8356 GB, free: 134.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.358e-05/1.493, allocations: 15.72 kB / 0.8356 GB, free: 134.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001575/1.494, allocations: 474 kB / 0.8361 GB, free: 134.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/1.497, allocations: 288.2 kB / 0.8364 GB, free: 134.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/1.507, allocations: 6.338 MB / 0.8425 GB, free: 129.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004309/1.512, allocations: 108.5 kB / 0.8426 GB, free: 129.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005032/1.512, allocations: 77.12 kB / 0.8427 GB, free: 129.3 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0008504/1.513, allocations: 290.9 kB / 0.843 GB, free: 129.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/1.514, allocations: 300.2 kB / 0.8433 GB, free: 128.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007075/1.522, allocations: 2.428 MB / 0.8457 GB, free: 127.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/1.522, allocations: 12 kB / 0.8457 GB, free: 127.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/1.522, allocations: 0 / 0.8457 GB, free: 127.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00473/1.526, allocations: 2.055 MB / 0.8477 GB, free: 125.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/1.54, allocations: 4.374 MB / 0.8519 GB, free: 120.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/1.54, allocations: 4 kB / 0.8519 GB, free: 120.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/1.541, allocations: 171.4 kB / 0.8521 GB, free: 120.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001689/1.543, allocations: 464.9 kB / 0.8526 GB, free: 120.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/1.543, allocations: 39.89 kB / 0.8526 GB, free: 120.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/1.545, allocations: 1.861 MB / 0.8544 GB, free: 118.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.545, allocations: 0 / 0.8544 GB, free: 118.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00922/1.554, allocations: 3.126 MB / 0.8575 GB, free: 115 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00224/1.557, allocations: 485 kB / 0.8579 GB, free: 114.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001248/1.558, allocations: 27.98 kB / 0.858 GB, free: 114.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002467/1.561, allocations: 67.8 kB / 0.858 GB, free: 114.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003136/1.561, allocations: 72.89 kB / 0.8581 GB, free: 114.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/1.561, allocations: 47.97 kB / 0.8581 GB, free: 114.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.005227/1.566, allocations: 1.967 MB / 0.8601 GB, free: 112.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.172e-06/1.566, allocations: 0 / 0.8601 GB, free: 112.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.009435/1.576, allocations: 1.343 MB / 0.8614 GB, free: 111.1 MB / 0.6387 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01143/1.587, allocations: 3.822 MB / 0.8651 GB, free: 107.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009798/1.597, allocations: 3.176 MB / 0.8682 GB, free: 104 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/1.597, allocations: 5.188 kB / 0.8682 GB, free: 104 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002539/1.6, allocations: 0.7918 MB / 0.869 GB, free: 103.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01005/1.61, allocations: 1.258 MB / 0.8702 GB, free: 102 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06394/1.674, allocations: 21.77 MB / 0.8915 GB, free: 79.79 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002428/1.677, allocations: 2.061 MB / 0.8935 GB, free: 77.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004574/1.681, allocations: 0.6796 MB / 0.8941 GB, free: 77.03 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002862/1.684, allocations: 1.194 MB / 0.8953 GB, free: 75.83 MB / 0.6387 GB Notification: Performance of SimCode: time 1.673e-06/1.684, allocations: 0 / 0.8953 GB, free: 75.83 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1925/1.877, allocations: 80.74 MB / 0.9742 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.3/34.18, allocations: 13.91 kB / 0.9742 GB, free: 11.93 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example1v1.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)