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.0009373/0.0009374, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005418/0.005418, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7563/0.7563, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003037, allocations: 11.98 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.359, allocations: 81.57 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.06689/0.426, allocations: 70.47 MB / 0.6526 GB, free: 9.758 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02273/0.4487, allocations: 16.87 MB / 0.669 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002472/0.4512, allocations: 83.44 kB / 0.6691 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.4535, allocations: 0.8628 MB / 0.67 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00516/0.4587, allocations: 2.175 MB / 0.6721 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004043/0.4627, allocations: 1.871 MB / 0.6739 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009596/0.4723, allocations: 10.6 MB / 0.6843 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006821/0.4792, allocations: 5.58 MB / 0.6897 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004992/0.4842, allocations: 2.792 MB / 0.6924 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003122/0.4873, allocations: 2.411 MB / 0.6948 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002781/0.4876, allocations: 124 kB / 0.6949 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.49, allocations: 1.225 MB / 0.6961 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005647/0.4906, allocations: 0.6143 MB / 0.6967 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001583/0.4922, allocations: 1.614 MB / 0.6983 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004112/0.4963, allocations: 4.496 MB / 0.7027 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4963, allocations: 0 / 0.7027 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4964, allocations: 0 / 0.7027 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.834e-05/0.4964, allocations: 4 kB / 0.7027 GB, free: 6.262 MB / 0.5294 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.006299/0.5027, allocations: 3.8 MB / 0.7064 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.5028, allocations: 12.03 kB / 0.7064 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003008/0.5031, allocations: 232.2 kB / 0.7066 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.5051, allocations: 0.5773 MB / 0.7072 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004242/0.5094, allocations: 2.643 MB / 0.7098 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.5095, allocations: 139.8 kB / 0.7099 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002779/0.5098, allocations: 187.9 kB / 0.7101 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003551/0.5133, allocations: 2.323 MB / 0.7123 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.5134, allocations: 11.81 kB / 0.7124 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.5136, allocations: 72 kB / 0.7124 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/0.5136, allocations: 40 kB / 0.7125 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003408/0.517, allocations: 1.896 MB / 0.7143 GB, free: 10.03 MB / 0.545 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.01264/0.5297, allocations: 11.66 MB / 0.7257 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/0.5324, allocations: 1.381 MB / 0.7271 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.534, allocations: 1.017 MB / 0.728 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005573/0.5396, allocations: 3.752 MB / 0.7317 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/0.541, allocations: 0.7857 MB / 0.7325 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001372/0.5424, allocations: 450.6 kB / 0.7329 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=96): time 4.879e-06/0.5424, allocations: 0 / 0.7329 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=96): time 0.01168/0.5541, allocations: 4.203 MB / 0.737 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.5541, allocations: 68.34 kB / 0.7371 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003459/0.5576, allocations: 2.856 MB / 0.7399 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.5577, allocations: 57.7 kB / 0.7399 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001189/0.5589, allocations: 1.429 MB / 0.7413 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002808/0.5592, allocations: 343.2 kB / 0.7416 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.5594, allocations: 125.6 kB / 0.7418 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.5595, allocations: 301.1 kB / 0.7421 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.5608, allocations: 0.6714 MB / 0.7427 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.5625, allocations: 1.411 MB / 0.7441 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00289/0.5654, allocations: 1.889 MB / 0.7459 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.5655, allocations: 4 kB / 0.7459 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005705/0.5712, allocations: 2.816 MB / 0.7487 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003344/0.5715, allocations: 0.534 MB / 0.7492 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.5716, allocations: 12 kB / 0.7492 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002445/0.574, allocations: 0.6999 MB / 0.7499 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.5752, allocations: 289.4 kB / 0.7502 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.5771, allocations: 1.904 MB / 0.752 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/0.5791, allocations: 184.7 kB / 0.7522 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.5793, allocations: 75.97 kB / 0.7523 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.5793, allocations: 6.5 kB / 0.7523 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004081/0.5834, allocations: 2.362 MB / 0.7546 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.5834, allocations: 19.92 kB / 0.7546 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009173/0.5843, allocations: 473.3 kB / 0.7551 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.5854, allocations: 285.4 kB / 0.7553 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007236/0.5927, allocations: 5.85 MB / 0.7611 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002397/0.5951, allocations: 176.8 kB / 0.7612 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.5953, allocations: 67.98 kB / 0.7613 GB, free: 7.781 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (133): * Single equations (assignments): 129 * 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.001501/0.5968, allocations: 0.8485 MB / 0.7621 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006497/0.5974, allocations: 292.2 kB / 0.7624 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00485/0.6023, allocations: 2.297 MB / 0.7646 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.6023, allocations: 11.98 kB / 0.7646 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.6023, allocations: 4 kB / 0.7647 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003326/0.6057, allocations: 2.002 MB / 0.7666 GB, free: 2.227 MB / 0.5919 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 postOpt removeSimpleEquations (simulation): time 0.007359/0.613, allocations: 4.344 MB / 0.7708 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.6131, allocations: 8.062 kB / 0.7709 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007832/0.6139, allocations: 149.4 kB / 0.771 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001096/0.615, allocations: 484.8 kB / 0.7715 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.528e-05/0.615, allocations: 27.98 kB / 0.7715 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/0.6167, allocations: 1.861 MB / 0.7733 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6167, allocations: 0 / 0.7733 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005256/0.6219, allocations: 3.072 MB / 0.7763 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009591/0.6229, allocations: 0.4933 MB / 0.7768 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004083/0.6233, allocations: 23.98 kB / 0.7768 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/0.6248, allocations: 143.8 kB / 0.7769 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.625, allocations: 68.84 kB / 0.777 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.162e-05/0.6251, allocations: 43.91 kB / 0.7771 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002804/0.6279, allocations: 1.955 MB / 0.779 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6279, allocations: 0 / 0.779 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003577/0.6315, allocations: 1.361 MB / 0.7803 GB, free: 4.012 MB / 0.6075 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 (58): * Single equations (assignments): 50 * 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.005938/0.6374, allocations: 3.737 MB / 0.7839 GB, free: 252 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005681/0.6431, allocations: 3.139 MB / 0.787 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.6431, allocations: 0 / 0.787 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/0.6446, allocations: 0.7643 MB / 0.7878 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00551/0.6501, allocations: 1.179 MB / 0.7889 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3206/0.9707, allocations: 25.81 MB / 0.8141 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003033/0.9738, allocations: 2.041 MB / 0.8161 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003498/0.9773, allocations: 0.7196 MB / 0.8168 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001806/0.9791, allocations: 1.164 MB / 0.8179 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of SimCode: time 1.283e-06/0.9791, allocations: 0 / 0.8179 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3198/1.299, allocations: 74.42 MB / 0.8906 GB, free: 152.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/1.299, allocations: 260.3 kB / 0.8909 GB, free: 151.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.599/4.898, allocations: 0 / 0.8909 GB, free: 151.9 MB / 0.6387 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)