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.001034/0.001034, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001202/0.001201, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.3 MB / 240 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.031/1.031, allocations: 135.3 MB / 426.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005287/0.0005288, allocations: 12.22 kB / 0.5071 GB, free: 5.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1969, allocations: 82.31 MB / 0.5875 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004708/0.2017, allocations: 3.586 MB / 0.591 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002701/0.2044, allocations: 2.26 MB / 0.5932 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.2046, allocations: 0 / 0.5932 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.2049, allocations: 27.81 kB / 0.5932 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.2052, allocations: 103.4 kB / 0.5933 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.2066, allocations: 418.7 kB / 0.5937 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004176/0.207, allocations: 299.8 kB / 0.594 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.714e-05/0.2071, allocations: 13.56 kB / 0.594 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.2073, allocations: 115.5 kB / 0.5941 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.2075, allocations: 91.66 kB / 0.5942 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.2075, allocations: 8 kB / 0.5942 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008112/0.2083, allocations: 351.3 kB / 0.5945 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.323e-05/0.2084, allocations: 39.89 kB / 0.5946 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.197e-05/0.2085, allocations: 53.64 kB / 0.5946 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004473/0.209, allocations: 259.6 kB / 0.5949 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.209, allocations: 0 / 0.5949 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.209, allocations: 4 kB / 0.5949 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.209, allocations: 0 / 0.5949 GB, free: 11.27 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.0007562/0.2098, allocations: 483 kB / 0.5953 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.2098, allocations: 8.031 kB / 0.5953 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.354e-05/0.2099, allocations: 50.55 kB / 0.5954 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/0.2117, allocations: 187.5 kB / 0.5956 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.212, allocations: 206.9 kB / 0.5958 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.212, allocations: 8.328 kB / 0.5958 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.2121, allocations: 16 kB / 0.5958 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005985/0.2127, allocations: 300.2 kB / 0.5961 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.2127, allocations: 0 / 0.5961 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.2127, allocations: 12 kB / 0.5961 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.2127, allocations: 8 kB / 0.5961 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006453/0.2134, allocations: 259.6 kB / 0.5963 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.215, allocations: 1.396 MB / 0.5977 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005873/0.2156, allocations: 194.5 kB / 0.5979 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.2158, allocations: 76.81 kB / 0.598 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.2159, allocations: 3.906 kB / 0.598 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.2159, allocations: 42.5 kB / 0.598 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.2159, allocations: 4 kB / 0.598 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0007154/0.2166, allocations: 237.3 kB / 0.5982 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.2167, allocations: 55.41 kB / 0.5983 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.2168, allocations: 161.4 kB / 0.5984 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.2169, allocations: 25.7 kB / 0.5985 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.738e-05/0.217, allocations: 143.9 kB / 0.5986 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.217, allocations: 59.19 kB / 0.5987 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/0.2171, allocations: 4 kB / 0.5987 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.2172, allocations: 322.8 kB / 0.599 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.2174, allocations: 60.42 kB / 0.599 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.2176, allocations: 151.8 kB / 0.5992 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.2179, allocations: 73.86 kB / 0.5992 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2179, allocations: 0 / 0.5992 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005526/0.2184, allocations: 253.1 kB / 0.5995 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.2184, allocations: 4 kB / 0.5995 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.2185, allocations: 4 kB / 0.5995 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.2185, allocations: 7.953 kB / 0.5995 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.2188, allocations: 63.89 kB / 0.5996 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.2188, allocations: 7.984 kB / 0.5996 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.2191, allocations: 36.06 kB / 0.5996 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.2191, allocations: 15.98 kB / 0.5996 GB, free: 6.043 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.2192, allocations: 129.7 kB / 0.5997 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.2193, allocations: 15.81 kB / 0.5998 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006342/0.2199, allocations: 230.6 kB / 0.6 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.2199, allocations: 3.984 kB / 0.6 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2199, allocations: 0 / 0.6 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.22, allocations: 4 kB / 0.6 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.2203, allocations: 249.6 kB / 0.6002 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2203, allocations: 0 / 0.6002 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.2206, allocations: 43.97 kB / 0.6003 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.2206, allocations: 0 / 0.6003 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.2206, allocations: 15.92 kB / 0.6003 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2206, allocations: 0 / 0.6003 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2206, allocations: 0 / 0.6003 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.2211, allocations: 289.7 kB / 0.6006 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.2212, allocations: 104.9 kB / 0.6007 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.2213, allocations: 4 kB / 0.6007 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.2215, allocations: 23.97 kB / 0.6007 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.2216, allocations: 15.98 kB / 0.6007 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.2216, allocations: 8 kB / 0.6007 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.313e-05/0.2217, allocations: 118.9 kB / 0.6008 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2217, allocations: 0 / 0.6008 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003972/0.2221, allocations: 63.89 kB / 0.6009 GB, free: 4.656 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 (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.0009583/0.2231, allocations: 0.8584 MB / 0.6017 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007595/0.2238, allocations: 181.6 kB / 0.6019 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.2239, allocations: 3.938 kB / 0.6019 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.2242, allocations: 100.4 kB / 0.602 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/0.2249, allocations: 58.2 kB / 0.6021 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/0.2281, allocations: 1.099 MB / 0.6031 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.2286, allocations: 0.7137 MB / 0.6038 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005999/0.2292, allocations: 57.92 kB / 0.6039 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.2294, allocations: 51.16 kB / 0.6039 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/0.2294, allocations: 0 / 0.6039 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3431/0.5725, allocations: 4.684 MB / 0.6085 GB, free: 48.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.5728, allocations: 219.1 kB / 0.6087 GB, free: 47.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/2.58, allocations: 0 / 0.6087 GB, free: 47.99 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/linux/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) Environment - environmentSimulation: