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.008445/0.008445, allocations: 100.3 kB / 15.73 MB, free: 6.449 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.001795/0.001795, allocations: 198.2 kB / 16.68 MB, free: 6.355 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.954/0.954, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 60.14 kB / 0.5852 GB, free: 3.828 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4405, allocations: 80.92 MB / 0.6642 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004742/0.4453, allocations: 4.05 MB / 0.6682 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002197/0.4475, allocations: 2.428 MB / 0.6705 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.5e-05/0.4477, allocations: 2.562 kB / 0.6705 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.4479, allocations: 43.44 kB / 0.6706 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.4482, allocations: 103.9 kB / 0.6707 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.4494, allocations: 0.5418 MB / 0.6712 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.4497, allocations: 258.9 kB / 0.6715 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.772e-05/0.4498, allocations: 13.52 kB / 0.6715 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.45, allocations: 115.9 kB / 0.6716 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.4501, allocations: 91.53 kB / 0.6717 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.4502, allocations: 15.84 kB / 0.6717 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007466/0.4509, allocations: 459.1 kB / 0.6721 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.574e-05/0.451, allocations: 42.84 kB / 0.6722 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.513e-05/0.4511, allocations: 80.31 kB / 0.6722 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005185/0.4516, allocations: 409.4 kB / 0.6726 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.4516, allocations: 1.156 kB / 0.6726 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4516, allocations: 0 / 0.6726 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.4516, allocations: 0 / 0.6726 GB, free: 0.7969 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.0006527/0.4523, allocations: 0.5079 MB / 0.6731 GB, free: 320 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.4523, allocations: 8.875 kB / 0.6731 GB, free: 320 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.4524, allocations: 48.58 kB / 0.6732 GB, free: 268 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.4542, allocations: 178.6 kB / 0.6734 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.4545, allocations: 222.4 kB / 0.6736 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.4546, allocations: 10.92 kB / 0.6736 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.4546, allocations: 22.69 kB / 0.6736 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006617/0.4553, allocations: 302.5 kB / 0.6739 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.4553, allocations: 5.031 kB / 0.6739 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.4554, allocations: 11.25 kB / 0.6739 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.4554, allocations: 4.531 kB / 0.6739 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007266/0.4561, allocations: 259.5 kB / 0.6742 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.4579, allocations: 1.379 MB / 0.6755 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006817/0.4586, allocations: 191.4 kB / 0.6757 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.4588, allocations: 80.45 kB / 0.6758 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.4589, allocations: 6.531 kB / 0.6758 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.4589, allocations: 39.88 kB / 0.6758 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 2.044e-06/0.4589, allocations: 1.25 kB / 0.6758 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0007395/0.4597, allocations: 245.4 kB / 0.676 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.4597, allocations: 53.62 kB / 0.6761 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.4599, allocations: 162.6 kB / 0.6763 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.4599, allocations: 35.02 kB / 0.6763 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.46, allocations: 122.6 kB / 0.6764 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.46, allocations: 63.27 kB / 0.6765 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.4602, allocations: 50.81 kB / 0.6765 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4603, allocations: 330.5 kB / 0.6768 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.4605, allocations: 62.78 kB / 0.6769 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.4607, allocations: 149.1 kB / 0.677 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/0.4612, allocations: 220.4 kB / 0.6772 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4612, allocations: 1.094 kB / 0.6772 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005878/0.4618, allocations: 252.9 kB / 0.6775 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4618, allocations: 5.219 kB / 0.6775 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.4619, allocations: 6.969 kB / 0.6775 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.4619, allocations: 3.75 kB / 0.6775 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.4623, allocations: 66.58 kB / 0.6776 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.4623, allocations: 2.938 kB / 0.6776 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.4625, allocations: 32.08 kB / 0.6776 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.4626, allocations: 17.2 kB / 0.6776 GB, free: 12.55 MB / 0.5137 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.0001256/0.4627, allocations: 130.3 kB / 0.6777 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.4628, allocations: 24.7 kB / 0.6778 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005799/0.4633, allocations: 218.3 kB / 0.678 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4634, allocations: 2.469 kB / 0.678 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4634, allocations: 3.938 kB / 0.678 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.4634, allocations: 5.484 kB / 0.678 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.4637, allocations: 243.6 kB / 0.6782 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4637, allocations: 4.938 kB / 0.6782 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/0.464, allocations: 50.02 kB / 0.6783 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.464, allocations: 0.8438 kB / 0.6783 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.464, allocations: 2.25 kB / 0.6783 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.464, allocations: 1.125 kB / 0.6783 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.464, allocations: 0 / 0.6783 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005435/0.4646, allocations: 313.3 kB / 0.6786 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.4647, allocations: 108.2 kB / 0.6787 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.4647, allocations: 5.281 kB / 0.6787 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.465, allocations: 17.67 kB / 0.6787 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.465, allocations: 9.484 kB / 0.6787 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.4651, allocations: 9.5 kB / 0.6787 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.086e-05/0.4651, allocations: 119.9 kB / 0.6788 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4652, allocations: 0 / 0.6788 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003665/0.4655, allocations: 67.92 kB / 0.6789 GB, free: 11.52 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 (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.0008754/0.4664, allocations: 0.8624 MB / 0.6797 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005039/0.4669, allocations: 187 kB / 0.6799 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.4669, allocations: 1.094 kB / 0.6799 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.4672, allocations: 90.06 kB / 0.68 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.4676, allocations: 58.64 kB / 0.68 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.4706, allocations: 2.156 MB / 0.6822 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.4709, allocations: 0.7143 MB / 0.6829 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002483/0.4711, allocations: 56.64 kB / 0.6829 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.4712, allocations: 44.89 kB / 0.6829 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of SimCode: time 3.6e-07/0.4713, allocations: 0 / 0.6829 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.4934, allocations: 5.19 MB / 0.688 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.632/8.126, allocations: 22.61 kB / 0.688 GB, free: 5.422 MB / 0.5137 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)