Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Example4,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example4,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4",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.001881/0.001888, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.002177/0.002177, allocations: 195.6 kB / 16.26 MB, free: 6.625 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.22/2.22, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.228/1.228, allocations: 135.1 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 69 kB / 0.505 GB, free: 5.559 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2528, allocations: 80.92 MB / 0.584 GB, free: 4.809 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.6287/0.8815, allocations: 234.6 MB / 0.8131 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01961/0.9012, allocations: 15.67 MB / 0.8284 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/0.9033, allocations: 55.62 kB / 0.8285 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002634/0.9059, allocations: 0.9096 MB / 0.8294 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006797/0.9128, allocations: 2.791 MB / 0.8321 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003802/0.9166, allocations: 1.529 MB / 0.8336 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004043/0.9207, allocations: 3.436 MB / 0.8369 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.9223, allocations: 1.265 MB / 0.8382 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005336/0.9277, allocations: 2.48 MB / 0.8406 GB, free: 6.266 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002244/0.9299, allocations: 1.149 MB / 0.8417 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002968/0.9302, allocations: 120 kB / 0.8418 GB, free: 5.008 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005422/0.9357, allocations: 3.265 MB / 0.845 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007251/0.9364, allocations: 486.3 kB / 0.8455 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.938, allocations: 0.8124 MB / 0.8463 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005083/0.9431, allocations: 3.159 MB / 0.8494 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.9431, allocations: 0 / 0.8494 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9431, allocations: 0 / 0.8494 GB, free: 13.27 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.312e-05/0.9432, allocations: 3.938 kB / 0.8494 GB, free: 13.27 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003527/0.9467, allocations: 2.012 MB / 0.8513 GB, free: 11.21 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.9468, allocations: 12.03 kB / 0.8513 GB, free: 11.2 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001815/0.947, allocations: 156.2 kB / 0.8515 GB, free: 11.04 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002589/0.9496, allocations: 0.4897 MB / 0.852 GB, free: 10.54 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/0.9515, allocations: 1.114 MB / 0.8531 GB, free: 9.371 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008146/0.9523, allocations: 250.7 kB / 0.8533 GB, free: 9.129 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.9525, allocations: 100 kB / 0.8534 GB, free: 9.031 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/0.9547, allocations: 1.314 MB / 0.8547 GB, free: 7.625 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.9547, allocations: 7.938 kB / 0.8547 GB, free: 7.617 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.264e-05/0.9548, allocations: 44 kB / 0.8547 GB, free: 7.574 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.445e-05/0.9549, allocations: 41.98 kB / 0.8548 GB, free: 7.535 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/0.9571, allocations: 1.081 MB / 0.8558 GB, free: 6.449 MB / 0.67 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.3379/1.295, allocations: 6.63 MB / 0.8623 GB, free: 222.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/1.297, allocations: 0.5696 MB / 0.8629 GB, free: 222.2 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005623/1.297, allocations: 268.5 kB / 0.8631 GB, free: 222.2 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000304/1.297, allocations: 283.4 kB / 0.8634 GB, free: 221.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/1.297, allocations: 37.16 kB / 0.8634 GB, free: 221.8 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/1.297, allocations: 0 / 0.8634 GB, free: 221.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002216/1.3, allocations: 0.8599 MB / 0.8643 GB, free: 221.8 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/1.3, allocations: 59.03 kB / 0.8643 GB, free: 221.7 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/1.301, allocations: 1.363 MB / 0.8656 GB, free: 221.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/1.301, allocations: 35.83 kB / 0.8657 GB, free: 221.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003609/1.302, allocations: 0.6783 MB / 0.8663 GB, free: 221.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.696e-05/1.302, allocations: 117.7 kB / 0.8665 GB, free: 221.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/1.302, allocations: 160.1 kB / 0.8666 GB, free: 221.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.012e-05/1.302, allocations: 330.5 kB / 0.8669 GB, free: 220.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008145/1.303, allocations: 322.4 kB / 0.8672 GB, free: 220.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009487/1.304, allocations: 0.6452 MB / 0.8679 GB, free: 220.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/1.305, allocations: 0.8693 MB / 0.8687 GB, free: 219.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.305, allocations: 2.844 kB / 0.8687 GB, free: 219.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001908/1.307, allocations: 1.018 MB / 0.8697 GB, free: 219.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.307, allocations: 8.25 kB / 0.8697 GB, free: 219.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/1.307, allocations: 8.562 kB / 0.8697 GB, free: 219.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/1.307, allocations: 16.28 kB / 0.8697 GB, free: 219.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007484/1.308, allocations: 204.7 kB / 0.8699 GB, free: 219.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/1.308, allocations: 19.09 kB / 0.8699 GB, free: 219.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/1.309, allocations: 221.5 kB / 0.8702 GB, free: 219.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/1.309, allocations: 46.62 kB / 0.8702 GB, free: 219.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00102/1.31, allocations: 0.5691 MB / 0.8708 GB, free: 219.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008276/1.311, allocations: 0.6481 MB / 0.8714 GB, free: 218.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001338/1.313, allocations: 0.8697 MB / 0.8722 GB, free: 218.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.307e-06/1.313, allocations: 3.469 kB / 0.8722 GB, free: 218.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.001861/1.314, allocations: 1.013 MB / 0.8732 GB, free: 217.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/1.314, allocations: 10.84 kB / 0.8732 GB, free: 217.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.314, allocations: 11.47 kB / 0.8733 GB, free: 217.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.537e-06/1.315, allocations: 11.97 kB / 0.8733 GB, free: 217.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006959/1.315, allocations: 198.8 kB / 0.8735 GB, free: 217.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/1.315, allocations: 25.61 kB / 0.8735 GB, free: 217.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/1.316, allocations: 169.5 kB / 0.8736 GB, free: 217.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/1.316, allocations: 34.86 kB / 0.8737 GB, free: 217.7 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001733/1.317, allocations: 227.6 kB / 0.8739 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/1.317, allocations: 137.2 kB / 0.874 GB, free: 217.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/1.318, allocations: 0.6543 MB / 0.8747 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/1.318, allocations: 6.719 kB / 0.8747 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.318, allocations: 3.562 kB / 0.8747 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.318, allocations: 3.141 kB / 0.8747 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/1.321, allocations: 1.934 MB / 0.8766 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/1.321, allocations: 2.906 kB / 0.8766 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004576/1.322, allocations: 95.56 kB / 0.8767 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/1.322, allocations: 6.062 kB / 0.8767 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/1.322, allocations: 13.06 kB / 0.8767 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/1.322, allocations: 9.469 kB / 0.8767 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.322, allocations: 9.844 kB / 0.8767 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/1.323, allocations: 0.8148 MB / 0.8775 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/1.323, allocations: 298.2 kB / 0.8778 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/1.324, allocations: 16.67 kB / 0.8778 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/1.325, allocations: 96.2 kB / 0.8779 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.552e-05/1.325, allocations: 33.38 kB / 0.8779 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/1.325, allocations: 30 kB / 0.8779 GB, free: 215.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001127/1.326, allocations: 0.9913 MB / 0.8789 GB, free: 215.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/1.326, allocations: 0 / 0.8789 GB, free: 215.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001522/1.327, allocations: 0.5648 MB / 0.8795 GB, free: 215 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001904/1.329, allocations: 1.528 MB / 0.881 GB, free: 214 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002392/1.332, allocations: 1.124 MB / 0.8821 GB, free: 213.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.332, allocations: 0 / 0.8821 GB, free: 213.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005686/1.332, allocations: 266.8 kB / 0.8823 GB, free: 213.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002872/1.335, allocations: 0.7489 MB / 0.883 GB, free: 213.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01592/1.351, allocations: 10.76 MB / 0.8935 GB, free: 207.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005544/1.352, allocations: 1.182 MB / 0.8947 GB, free: 206.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001546/1.353, allocations: 365.1 kB / 0.8951 GB, free: 206.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005142/1.354, allocations: 498.4 kB / 0.8955 GB, free: 205.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.142e-06/1.354, allocations: 0 / 0.8955 GB, free: 205.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.301/2.655, allocations: 34.73 MB / 0.9294 GB, free: 196.6 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/2.655, allocations: 228 kB / 0.9297 GB, free: 196.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.681/7.336, allocations: 0 / 0.9297 GB, free: 196.4 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)