Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_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.0007489/0.0007488, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.00511/0.00511, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.247/1.247, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7106/0.7106, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003378, allocations: 9.438 kB / 0.5041 GB, free: 3.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.445, allocations: 81.57 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003812/0.4488, allocations: 3.73 MB / 0.5874 GB, free: 1.309 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.4514, allocations: 2.427 MB / 0.5898 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.4516, allocations: 5.375 kB / 0.5898 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.4518, allocations: 41.34 kB / 0.5898 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.4521, allocations: 86.72 kB / 0.5899 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.4537, allocations: 482.2 kB / 0.5903 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005047/0.4542, allocations: 341.6 kB / 0.5907 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.4542, allocations: 12.56 kB / 0.5907 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.4545, allocations: 115.6 kB / 0.5908 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.4547, allocations: 95.31 kB / 0.5909 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.4548, allocations: 6.125 kB / 0.5909 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009831/0.4557, allocations: 461.2 kB / 0.5913 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.55e-05/0.4558, allocations: 39.62 kB / 0.5914 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.456, allocations: 114 kB / 0.5915 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008563/0.4568, allocations: 403.3 kB / 0.5919 GB, free: 14.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4569, allocations: 0 / 0.5919 GB, free: 14.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4569, allocations: 1.062 kB / 0.5919 GB, free: 14.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.4569, allocations: 0 / 0.5919 GB, free: 14.68 MB / 446.1 MB 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.0007896/0.4577, allocations: 480.5 kB / 0.5923 GB, free: 14.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.4577, allocations: 10 kB / 0.5923 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.903e-05/0.4578, allocations: 48.3 kB / 0.5924 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.4598, allocations: 185.8 kB / 0.5926 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.4601, allocations: 210.9 kB / 0.5928 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.4602, allocations: 11.3 kB / 0.5928 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.4602, allocations: 14.5 kB / 0.5928 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000679/0.4609, allocations: 315.3 kB / 0.5931 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4609, allocations: 1.625 kB / 0.5931 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.754e-05/0.461, allocations: 11.81 kB / 0.5931 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.461, allocations: 4.844 kB / 0.5931 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000775/0.4618, allocations: 262.7 kB / 0.5933 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.4636, allocations: 1.406 MB / 0.5947 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006699/0.4642, allocations: 193.5 kB / 0.5949 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.4645, allocations: 76.91 kB / 0.595 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.4645, allocations: 2.281 kB / 0.595 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.4646, allocations: 46.14 kB / 0.595 GB, free: 12.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.4646, allocations: 0 / 0.595 GB, free: 12.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007992/0.4654, allocations: 237.9 kB / 0.5953 GB, free: 12.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.4654, allocations: 54.03 kB / 0.5953 GB, free: 12.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.4656, allocations: 168.1 kB / 0.5955 GB, free: 11.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/0.4657, allocations: 27.88 kB / 0.5955 GB, free: 11.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.4658, allocations: 131.4 kB / 0.5956 GB, free: 11.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.284e-05/0.4659, allocations: 60.44 kB / 0.5957 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.484e-05/0.466, allocations: 21.61 kB / 0.5957 GB, free: 11.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.4662, allocations: 331 kB / 0.596 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/0.4665, allocations: 65.86 kB / 0.5961 GB, free: 11.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.467, allocations: 144.6 kB / 0.5962 GB, free: 11.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000801/0.4678, allocations: 215.6 kB / 0.5964 GB, free: 11.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4678, allocations: 0 / 0.5964 GB, free: 11.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001006/0.4688, allocations: 259.7 kB / 0.5967 GB, free: 11.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.4689, allocations: 6.438 kB / 0.5967 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.4689, allocations: 2.875 kB / 0.5967 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.4689, allocations: 3.719 kB / 0.5967 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000543/0.4695, allocations: 66.28 kB / 0.5967 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.4695, allocations: 4.875 kB / 0.5967 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.4699, allocations: 35.95 kB / 0.5968 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/0.47, allocations: 14.77 kB / 0.5968 GB, free: 10.98 MB / 446.1 MB 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.0001897/0.4702, allocations: 129.8 kB / 0.5969 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.109e-05/0.4703, allocations: 16.78 kB / 0.5969 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.4714, allocations: 226.3 kB / 0.5971 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.4714, allocations: 2.953 kB / 0.5972 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4714, allocations: 0 / 0.5972 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.4714, allocations: 2.031 kB / 0.5972 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.4719, allocations: 250.8 kB / 0.5974 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.4719, allocations: 1.828 kB / 0.5974 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/0.4724, allocations: 43 kB / 0.5974 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.4724, allocations: 1.312 kB / 0.5974 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.4724, allocations: 6.406 kB / 0.5974 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.4724, allocations: 1.906 kB / 0.5974 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4725, allocations: 3.984 kB / 0.5974 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008847/0.4734, allocations: 301.8 kB / 0.5977 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.4735, allocations: 108.6 kB / 0.5978 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.4736, allocations: 2.25 kB / 0.5978 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004358/0.474, allocations: 21.81 kB / 0.5979 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.4741, allocations: 18.17 kB / 0.5979 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.4742, allocations: 7.016 kB / 0.5979 GB, free: 10.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.4743, allocations: 124.5 kB / 0.598 GB, free: 10.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4743, allocations: 0 / 0.598 GB, free: 10.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000625/0.475, allocations: 62.14 kB / 0.5981 GB, free: 10.09 MB / 446.1 MB 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.001421/0.4764, allocations: 0.8657 MB / 0.5989 GB, free: 9.352 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008287/0.4772, allocations: 188.5 kB / 0.5991 GB, free: 9.297 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4773, allocations: 0 / 0.5991 GB, free: 9.297 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003814/0.4776, allocations: 91.77 kB / 0.5992 GB, free: 9.273 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007846/0.4784, allocations: 60.42 kB / 0.5992 GB, free: 9.258 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004701/0.4832, allocations: 2.248 MB / 0.6014 GB, free: 7.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.4835, allocations: 0.7145 MB / 0.6021 GB, free: 6.789 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006258/0.4842, allocations: 51.28 kB / 0.6022 GB, free: 6.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.4844, allocations: 49.47 kB / 0.6022 GB, free: 6.715 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4844, allocations: 0 / 0.6022 GB, free: 6.715 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5171/1.001, allocations: 4.796 MB / 0.6069 GB, free: 4.473 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003177/1.002, allocations: 219.4 kB / 0.6071 GB, free: 4.223 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.226/3.228, allocations: 0 / 0.6071 GB, free: 4.223 MB / 446.1 MB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)