Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.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.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",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.008189/0.008189, allocations: 98.56 kB / 15.73 MB, free: 6.012 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.001438/0.001438, allocations: 191.9 kB / 16.67 MB, free: 5.949 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9496/0.9496, allocations: 135.6 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 63.89 kB / 0.5858 GB, free: 3.195 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.537/0.5389, allocations: 81.03 MB / 0.6649 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006615/0.5456, allocations: 4.702 MB / 0.6695 GB, free: 3 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002844/0.5485, allocations: 2.71 MB / 0.6722 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.5486, allocations: 1.219 kB / 0.6722 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.549, allocations: 50.7 kB / 0.6722 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000381/0.5494, allocations: 94.88 kB / 0.6723 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.5509, allocations: 0.5075 MB / 0.6728 GB, free: 320 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.5512, allocations: 231.1 kB / 0.673 GB, free: 196 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.056e-05/0.5513, allocations: 13.94 kB / 0.673 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.5516, allocations: 109.5 kB / 0.6731 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.5517, allocations: 97.8 kB / 0.6732 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.5518, allocations: 8.188 kB / 0.6732 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.5528, allocations: 363.4 kB / 0.6736 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.5529, allocations: 43.09 kB / 0.6736 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.5531, allocations: 83.52 kB / 0.6737 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007502/0.5538, allocations: 360.8 kB / 0.674 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5538, allocations: 3.938 kB / 0.674 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5538, allocations: 0 / 0.674 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.5539, allocations: 1.312 kB / 0.674 GB, free: 15.6 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000909/0.5548, allocations: 0.501 MB / 0.6745 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.5548, allocations: 9.656 kB / 0.6745 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.247e-05/0.5549, allocations: 49.17 kB / 0.6746 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.5551, allocations: 26.09 kB / 0.6746 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.5554, allocations: 216.8 kB / 0.6748 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.5555, allocations: 15.38 kB / 0.6748 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.5555, allocations: 14.22 kB / 0.6748 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.5559, allocations: 246.1 kB / 0.6751 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.556, allocations: 5.188 kB / 0.6751 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.556, allocations: 6.094 kB / 0.6751 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.696e-05/0.556, allocations: 10.19 kB / 0.6751 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005342/0.5566, allocations: 432.4 kB / 0.6755 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.5579, allocations: 0.9497 MB / 0.6764 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.5583, allocations: 162.4 kB / 0.6766 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.5584, allocations: 66.58 kB / 0.6767 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001969/0.5604, allocations: 1.824 MB / 0.6784 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.5604, allocations: 40.8 kB / 0.6785 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/0.5604, allocations: 0 / 0.6785 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.000399/0.5609, allocations: 151.2 kB / 0.6786 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.5609, allocations: 57.31 kB / 0.6787 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.5611, allocations: 168.5 kB / 0.6788 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.5611, allocations: 26.89 kB / 0.6789 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.5613, allocations: 148.6 kB / 0.679 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.5613, allocations: 58.23 kB / 0.6791 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.174e-05/0.5614, allocations: 56.94 kB / 0.6791 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.5616, allocations: 321.3 kB / 0.6794 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.789e-05/0.5617, allocations: 38.52 kB / 0.6795 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.5619, allocations: 142 kB / 0.6796 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.5622, allocations: 206.9 kB / 0.6798 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.5622, allocations: 1.406 kB / 0.6798 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003696/0.5626, allocations: 216.8 kB / 0.68 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.5626, allocations: 5.781 kB / 0.68 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.5626, allocations: 5 kB / 0.68 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.5626, allocations: 7.812 kB / 0.68 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.5628, allocations: 49.27 kB / 0.6801 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.5629, allocations: 8.75 kB / 0.6801 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.563, allocations: 28.62 kB / 0.6801 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.563, allocations: 18.86 kB / 0.6801 GB, free: 9.848 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001554/0.5632, allocations: 131.1 kB / 0.6802 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.5632, allocations: 21.22 kB / 0.6803 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003447/0.5636, allocations: 152.1 kB / 0.6804 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.5636, allocations: 6.75 kB / 0.6804 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.5636, allocations: 0 / 0.6804 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.5636, allocations: 7.922 kB / 0.6804 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/0.564, allocations: 214.8 kB / 0.6806 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.564, allocations: 0 / 0.6806 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/0.5641, allocations: 27.58 kB / 0.6807 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5641, allocations: 0 / 0.6807 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.5641, allocations: 6.562 kB / 0.6807 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.5641, allocations: 3.938 kB / 0.6807 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5641, allocations: 5.25 kB / 0.6807 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.5645, allocations: 231.7 kB / 0.6809 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.5646, allocations: 106.4 kB / 0.681 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.5646, allocations: 5.375 kB / 0.681 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.5648, allocations: 15.52 kB / 0.681 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.5649, allocations: 16.86 kB / 0.681 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.5649, allocations: 10.2 kB / 0.681 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001335/0.565, allocations: 123.5 kB / 0.6812 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.565, allocations: 1.094 kB / 0.6812 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004461/0.5655, allocations: 81.16 kB / 0.6812 GB, free: 8.906 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.000903/0.5664, allocations: 0.8329 MB / 0.6821 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002695/0.5667, allocations: 113 kB / 0.6822 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5667, allocations: 1.188 kB / 0.6822 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.527e-05/0.5668, allocations: 44.14 kB / 0.6822 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.5672, allocations: 52.17 kB / 0.6823 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.57, allocations: 2.031 MB / 0.6842 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.5704, allocations: 0.7157 MB / 0.6849 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.5706, allocations: 51.11 kB / 0.685 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.712e-05/0.5707, allocations: 49.95 kB / 0.685 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of SimCode: time 4.1e-07/0.5707, allocations: 0 / 0.685 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03256/0.6033, allocations: 5.24 MB / 0.6901 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.427/9.03, allocations: 11.27 kB / 0.6902 GB, free: 2.82 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)