Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.00127/0.00127, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001158/0.001158, allocations: 191.1 kB / 16.13 MB, free: 6.656 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.246/1.246, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9189/0.9189, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 63.47 kB / 0.5048 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1474, allocations: 80.92 MB / 0.5838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006897/0.1543, allocations: 4.107 MB / 0.5878 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.1567, allocations: 2.457 MB / 0.5902 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.546e-05/0.1568, allocations: 0 / 0.5902 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.157, allocations: 35.81 kB / 0.5903 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.1572, allocations: 95.47 kB / 0.5903 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009101/0.1582, allocations: 477 kB / 0.5908 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.1584, allocations: 343.7 kB / 0.5911 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.1585, allocations: 13.56 kB / 0.5911 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.1587, allocations: 111.6 kB / 0.5912 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1588, allocations: 91.66 kB / 0.5913 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.1588, allocations: 8 kB / 0.5913 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006671/0.1595, allocations: 463.1 kB / 0.5918 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.1596, allocations: 39.83 kB / 0.5918 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.963e-05/0.1597, allocations: 83.59 kB / 0.5919 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005209/0.1602, allocations: 415.2 kB / 0.5923 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1602, allocations: 0 / 0.5923 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.52e-07/0.1602, allocations: 4 kB / 0.5923 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.1602, allocations: 0 / 0.5923 GB, free: 12.18 MB / 0.4981 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.0006343/0.1608, allocations: 0.5031 MB / 0.5928 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1609, allocations: 8.031 kB / 0.5928 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.1609, allocations: 54.73 kB / 0.5929 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001905/0.1629, allocations: 184.5 kB / 0.593 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.1631, allocations: 208.1 kB / 0.5932 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.1631, allocations: 16.7 kB / 0.5932 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.1631, allocations: 12.38 kB / 0.5933 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.1637, allocations: 312.1 kB / 0.5936 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1637, allocations: 0 / 0.5936 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.1638, allocations: 8 kB / 0.5936 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.1638, allocations: 8 kB / 0.5936 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006442/0.1644, allocations: 263.5 kB / 0.5938 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.1658, allocations: 1.389 MB / 0.5952 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000569/0.1664, allocations: 193.9 kB / 0.5954 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.1666, allocations: 76.81 kB / 0.5954 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.1667, allocations: 7.984 kB / 0.5954 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1667, allocations: 38.5 kB / 0.5955 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.1667, allocations: 0 / 0.5955 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.000685/0.1674, allocations: 252.1 kB / 0.5957 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.1674, allocations: 55.41 kB / 0.5958 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.1675, allocations: 154.1 kB / 0.5959 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.1676, allocations: 29.7 kB / 0.5959 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.1676, allocations: 132 kB / 0.5961 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.1677, allocations: 63.11 kB / 0.5961 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.1678, allocations: 49.92 kB / 0.5962 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.152e-05/0.1679, allocations: 326.8 kB / 0.5965 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.1681, allocations: 64.42 kB / 0.5966 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.1683, allocations: 147.8 kB / 0.5967 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004086/0.1687, allocations: 213.3 kB / 0.5969 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1687, allocations: 0 / 0.5969 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005132/0.1692, allocations: 253.1 kB / 0.5971 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1693, allocations: 14.28 kB / 0.5972 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1693, allocations: 4 kB / 0.5972 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1693, allocations: 4 kB / 0.5972 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.1696, allocations: 63.89 kB / 0.5972 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1696, allocations: 7.938 kB / 0.5972 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.1699, allocations: 31.73 kB / 0.5973 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.1699, allocations: 15.98 kB / 0.5973 GB, free: 6.703 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0001027/0.17, allocations: 138.3 kB / 0.5974 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.1701, allocations: 15.81 kB / 0.5974 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005712/0.1707, allocations: 226.7 kB / 0.5976 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1707, allocations: 4 kB / 0.5976 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1707, allocations: 0 / 0.5976 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1707, allocations: 0 / 0.5976 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.1709, allocations: 253.5 kB / 0.5979 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1709, allocations: 0 / 0.5979 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.1712, allocations: 43.97 kB / 0.5979 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.1713, allocations: 4 kB / 0.5979 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.1713, allocations: 7.984 kB / 0.5979 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1713, allocations: 0 / 0.5979 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.1713, allocations: 3.984 kB / 0.5979 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004867/0.1718, allocations: 297 kB / 0.5982 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.225e-05/0.1719, allocations: 100.9 kB / 0.5983 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.1719, allocations: 8 kB / 0.5983 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.1722, allocations: 15.97 kB / 0.5983 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.1722, allocations: 15.98 kB / 0.5984 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.1723, allocations: 4 kB / 0.5984 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.692e-05/0.1723, allocations: 115.2 kB / 0.5985 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1723, allocations: 0 / 0.5985 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003231/0.1727, allocations: 72.06 kB / 0.5985 GB, free: 5.309 MB / 0.4981 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 (20): * Single equations (assignments): 20 * 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.0007888/0.1735, allocations: 0.8604 MB / 0.5994 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004544/0.1739, allocations: 182.2 kB / 0.5996 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1739, allocations: 4 kB / 0.5996 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.1741, allocations: 87.88 kB / 0.5996 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.1746, allocations: 59.95 kB / 0.5997 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.1773, allocations: 2.196 MB / 0.6018 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.1776, allocations: 0.7212 MB / 0.6025 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003293/0.1779, allocations: 49.92 kB / 0.6026 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.178, allocations: 55.34 kB / 0.6026 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.178, allocations: 0 / 0.6026 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7748/0.9528, allocations: 4.881 MB / 0.6074 GB, free: 51.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/0.953, allocations: 231.7 kB / 0.6076 GB, free: 51.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.815, allocations: 3.875 kB / 0.6076 GB, free: 51.39 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)