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.001145/0.001145, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001143/0.001144, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.285/2.285, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.118/1.118, allocations: 132.2 MB / 423.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005549/0.0005553, allocations: 11.94 kB / 0.5033 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6867/0.6873, allocations: 81.57 MB / 0.583 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005629/0.693, allocations: 3.066 MB / 0.586 GB, free: 1.812 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003511/0.6966, allocations: 2.173 MB / 0.5881 GB, free: 308 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.6968, allocations: 1.094 kB / 0.5881 GB, free: 308 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004376/0.6973, allocations: 46.52 kB / 0.5881 GB, free: 280 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000401/0.6977, allocations: 83.28 kB / 0.5882 GB, free: 220 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.6996, allocations: 453.6 kB / 0.5886 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004205/0.7, allocations: 170.1 kB / 0.5888 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.132e-05/0.7001, allocations: 12.47 kB / 0.5888 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003358/0.7004, allocations: 106.6 kB / 0.5889 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.7006, allocations: 78.22 kB / 0.589 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.918e-05/0.7007, allocations: 6.75 kB / 0.589 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.7021, allocations: 398.6 kB / 0.5894 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.7022, allocations: 39.05 kB / 0.5894 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.263e-05/0.7023, allocations: 55.23 kB / 0.5895 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006615/0.703, allocations: 247.2 kB / 0.5897 GB, free: 15.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.703, allocations: 5.438 kB / 0.5897 GB, free: 15.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.703, allocations: 0 / 0.5897 GB, free: 15.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.703, allocations: 0 / 0.5897 GB, free: 15.57 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.0009973/0.704, allocations: 485.9 kB / 0.5902 GB, free: 15.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.832e-05/0.7041, allocations: 9.844 kB / 0.5902 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.166e-05/0.7042, allocations: 48.97 kB / 0.5902 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/0.7064, allocations: 187 kB / 0.5904 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.7068, allocations: 209.7 kB / 0.5906 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.7068, allocations: 10.98 kB / 0.5906 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.7069, allocations: 14.81 kB / 0.5906 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007821/0.7077, allocations: 304.4 kB / 0.5909 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.7077, allocations: 2.281 kB / 0.5909 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/0.7078, allocations: 15.44 kB / 0.5909 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/0.7078, allocations: 5.094 kB / 0.5909 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008641/0.7087, allocations: 261.4 kB / 0.5912 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.7109, allocations: 1.385 MB / 0.5925 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007741/0.7117, allocations: 194.5 kB / 0.5927 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.7118, allocations: 2.031 kB / 0.5927 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.7118, allocations: 40.95 kB / 0.5928 GB, free: 13.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.7118, allocations: 0 / 0.5928 GB, free: 13.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0009413/0.7128, allocations: 251 kB / 0.593 GB, free: 13.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.7128, allocations: 57.23 kB / 0.5931 GB, free: 13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.713, allocations: 155.5 kB / 0.5932 GB, free: 12.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/0.7131, allocations: 27.42 kB / 0.5932 GB, free: 12.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.7132, allocations: 132 kB / 0.5934 GB, free: 12.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.361e-05/0.7133, allocations: 59.98 kB / 0.5934 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/0.7133, allocations: 9.406 kB / 0.5934 GB, free: 12.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.7134, allocations: 322.9 kB / 0.5937 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.7137, allocations: 63.55 kB / 0.5938 GB, free: 12.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.714, allocations: 142.7 kB / 0.5939 GB, free: 12.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.7143, allocations: 82.33 kB / 0.594 GB, free: 12.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.7143, allocations: 0 / 0.594 GB, free: 12.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006969/0.715, allocations: 250.5 kB / 0.5942 GB, free: 12.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.715, allocations: 6 kB / 0.5943 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.7151, allocations: 15.67 kB / 0.5943 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.7151, allocations: 4.156 kB / 0.5943 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004268/0.7155, allocations: 66.75 kB / 0.5943 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.7155, allocations: 5.172 kB / 0.5943 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.7158, allocations: 34.84 kB / 0.5944 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/0.7159, allocations: 19.39 kB / 0.5944 GB, free: 12.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.7161, allocations: 130.9 kB / 0.5945 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.499e-05/0.7161, allocations: 12 kB / 0.5945 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007928/0.7169, allocations: 234 kB / 0.5948 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.7169, allocations: 2.281 kB / 0.5948 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.717, allocations: 0.7969 kB / 0.5948 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.717, allocations: 5.969 kB / 0.5948 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.7173, allocations: 235.1 kB / 0.595 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.7174, allocations: 4 kB / 0.595 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.7177, allocations: 53.08 kB / 0.595 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.7177, allocations: 1.844 kB / 0.595 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.7177, allocations: 11.31 kB / 0.5951 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.7178, allocations: 0.6562 kB / 0.5951 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.7178, allocations: 3.953 kB / 0.5951 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006306/0.7184, allocations: 299.5 kB / 0.5953 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.7186, allocations: 111.3 kB / 0.5954 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.7186, allocations: 3.312 kB / 0.5955 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003107/0.7189, allocations: 19.55 kB / 0.5955 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.719, allocations: 10.3 kB / 0.5955 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.719, allocations: 19.7 kB / 0.5955 GB, free: 11.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.7191, allocations: 118.5 kB / 0.5956 GB, free: 11.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7192, allocations: 0 / 0.5956 GB, free: 11.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004855/0.7196, allocations: 66.62 kB / 0.5957 GB, free: 11.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001079/0.7207, allocations: 0.8574 MB / 0.5965 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007368/0.7215, allocations: 183.6 kB / 0.5967 GB, free: 10.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.7215, allocations: 0 / 0.5967 GB, free: 10.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.7218, allocations: 85.3 kB / 0.5968 GB, free: 10.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.7223, allocations: 58.12 kB / 0.5968 GB, free: 10.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/0.7254, allocations: 2.617 MB / 0.5994 GB, free: 8.141 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.7258, allocations: 0.7243 MB / 0.6001 GB, free: 7.441 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004208/0.7262, allocations: 54.8 kB / 0.6001 GB, free: 7.414 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.7264, allocations: 50.56 kB / 0.6002 GB, free: 7.383 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.7264, allocations: 0 / 0.6002 GB, free: 7.383 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.7487, allocations: 4.676 MB / 0.6048 GB, free: 5.445 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/0.7491, allocations: 196.4 kB / 0.6049 GB, free: 5.211 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.654/3.403, allocations: 0 / 0.6049 GB, free: 5.211 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/linux/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) Environment - environmentSimulation: