Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002379/0.002379, allocations: 181.1 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6433/0.6433, allocations: 91.98 MB / 108.5 MB, free: 13.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.739/1.739, allocations: 223.1 MB / 354.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 100.2 kB / 427.4 MB, free: 3.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003781, allocations: 8 kB / 0.4983 GB, free: 42.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1545, allocations: 72.31 MB / 0.5689 GB, free: 1.855 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.228/1.382, allocations: 308.3 MB / 0.87 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/1.383, allocations: 79.92 kB / 0.8701 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03702/1.42, allocations: 16.79 MB / 0.8865 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.937e-06/1.42, allocations: 0 / 0.8865 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.756e-05/1.42, allocations: 4 kB / 0.8865 GB, free: 141.8 MB / 0.5886 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.0008626/1.421, allocations: 493.6 kB / 0.887 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/1.421, allocations: 16.03 kB / 0.887 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.269e-05/1.421, allocations: 52.69 kB / 0.887 GB, free: 141.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/1.422, allocations: 173 kB / 0.8872 GB, free: 141.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/1.423, allocations: 208.8 kB / 0.8874 GB, free: 140.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/1.423, allocations: 19.64 kB / 0.8874 GB, free: 140.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/1.423, allocations: 14.81 kB / 0.8874 GB, free: 140.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006251/1.423, allocations: 306.7 kB / 0.8877 GB, free: 140.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/1.423, allocations: 0 / 0.8877 GB, free: 140.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/1.424, allocations: 10.38 kB / 0.8877 GB, free: 140.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/1.424, allocations: 7.953 kB / 0.8877 GB, free: 140.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006145/1.424, allocations: 263.1 kB / 0.888 GB, free: 140.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/1.426, allocations: 1.384 MB / 0.8893 GB, free: 138.9 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006317/1.426, allocations: 189.2 kB / 0.8895 GB, free: 138.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/1.426, allocations: 7.953 kB / 0.8895 GB, free: 138.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/1.426, allocations: 42.31 kB / 0.8896 GB, free: 138.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/1.426, allocations: 4 kB / 0.8896 GB, free: 138.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0006853/1.427, allocations: 240.5 kB / 0.8898 GB, free: 138.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/1.427, allocations: 51.41 kB / 0.8898 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/1.427, allocations: 144.7 kB / 0.89 GB, free: 138.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/1.427, allocations: 33.08 kB / 0.89 GB, free: 138.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/1.427, allocations: 130.2 kB / 0.8901 GB, free: 138.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/1.427, allocations: 61.97 kB / 0.8902 GB, free: 138.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/1.427, allocations: 3.5 kB / 0.8902 GB, free: 138.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.855e-05/1.427, allocations: 324.8 kB / 0.8905 GB, free: 137.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/1.428, allocations: 58.67 kB / 0.8906 GB, free: 137.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/1.428, allocations: 155 kB / 0.8907 GB, free: 137.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/1.428, allocations: 76.33 kB / 0.8908 GB, free: 137.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.428, allocations: 0 / 0.8908 GB, free: 137.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004742/1.429, allocations: 248.6 kB / 0.891 GB, free: 137.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/1.429, allocations: 11.95 kB / 0.891 GB, free: 137.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/1.429, allocations: 4 kB / 0.891 GB, free: 137.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/1.429, allocations: 4 kB / 0.891 GB, free: 137.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/1.429, allocations: 71.31 kB / 0.8911 GB, free: 137.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/1.429, allocations: 8 kB / 0.8911 GB, free: 137.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/1.429, allocations: 34.98 kB / 0.8911 GB, free: 137.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/1.429, allocations: 15.31 kB / 0.8912 GB, free: 137.2 MB / 0.5886 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.0001159/1.429, allocations: 127.4 kB / 0.8913 GB, free: 137 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/1.43, allocations: 11.91 kB / 0.8913 GB, free: 137 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005845/1.43, allocations: 235.5 kB / 0.8915 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.43, allocations: 8 kB / 0.8915 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.43, allocations: 7.953 kB / 0.8915 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/1.43, allocations: 3.984 kB / 0.8915 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/1.43, allocations: 242.3 kB / 0.8918 GB, free: 136.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.43, allocations: 0 / 0.8918 GB, free: 136.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/1.431, allocations: 47.95 kB / 0.8918 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/1.431, allocations: 7.938 kB / 0.8918 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/1.431, allocations: 3.062 kB / 0.8918 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.431, allocations: 3.953 kB / 0.8918 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.431, allocations: 4 kB / 0.8918 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004641/1.431, allocations: 289.7 kB / 0.8921 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.459e-05/1.431, allocations: 107.9 kB / 0.8922 GB, free: 136.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/1.431, allocations: 3.438 kB / 0.8922 GB, free: 136.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/1.432, allocations: 35.03 kB / 0.8923 GB, free: 136.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/1.432, allocations: 11.94 kB / 0.8923 GB, free: 136.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/1.432, allocations: 7.125 kB / 0.8923 GB, free: 136.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.492e-05/1.432, allocations: 114.6 kB / 0.8924 GB, free: 136 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2e-07/1.432, allocations: 4 kB / 0.8924 GB, free: 136 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003946/1.432, allocations: 63 kB / 0.8924 GB, free: 135.9 MB / 0.5886 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.000866/1.433, allocations: 0.8708 MB / 0.8933 GB, free: 135.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000483/1.434, allocations: 181.6 kB / 0.8935 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.434, allocations: 0 / 0.8935 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/1.434, allocations: 99 kB / 0.8936 GB, free: 134.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/1.434, allocations: 50.14 kB / 0.8936 GB, free: 134.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/1.436, allocations: 2.604 MB / 0.8962 GB, free: 132.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/1.437, allocations: 0.7176 MB / 0.8969 GB, free: 131.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003599/1.437, allocations: 57.91 kB / 0.8969 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/1.437, allocations: 50.28 kB / 0.897 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/1.437, allocations: 0 / 0.897 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/1.454, allocations: 4.682 MB / 0.9015 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/1.454, allocations: 216 kB / 0.9017 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/3.372, allocations: 3.375 kB / 0.9017 GB, free: 126.7 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)