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.001462/0.001462, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5448/0.5448, allocations: 90.9 MB / 99.33 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 221.5 MB / 343.2 MB, free: 1.566 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001024, allocations: 103.2 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.699e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1616, allocations: 72.3 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9945/1.156, allocations: 307.6 MB / 0.854 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/1.156, allocations: 76.52 kB / 0.8541 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03431/1.191, allocations: 16.63 MB / 0.8703 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.703e-06/1.191, allocations: 4.344 kB / 0.8703 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.544e-05/1.191, allocations: 4 kB / 0.8703 GB, free: 156.4 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.0008214/1.192, allocations: 491.5 kB / 0.8708 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/1.192, allocations: 12.62 kB / 0.8708 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/1.194, allocations: 177.4 kB / 0.871 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/1.194, allocations: 209.3 kB / 0.8712 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/1.194, allocations: 6.344 kB / 0.8712 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/1.194, allocations: 7.594 kB / 0.8712 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003773/1.194, allocations: 202.6 kB / 0.8714 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/1.195, allocations: 238.8 kB / 0.8716 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.195, allocations: 0 / 0.8716 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/1.195, allocations: 3.953 kB / 0.8716 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/1.195, allocations: 7.781 kB / 0.8716 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/1.196, allocations: 1.34 MB / 0.8729 GB, free: 154.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/1.196, allocations: 142 kB / 0.8731 GB, free: 154.1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.167e-05/1.196, allocations: 65.2 kB / 0.8731 GB, free: 154.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/1.197, allocations: 0 / 0.8731 GB, free: 154.1 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/1.197, allocations: 41.83 kB / 0.8732 GB, free: 154 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.502e-06/1.197, allocations: 0 / 0.8732 GB, free: 154 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0002969/1.197, allocations: 146.5 kB / 0.8733 GB, free: 153.9 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/1.197, allocations: 55.41 kB / 0.8734 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.803e-05/1.197, allocations: 122.5 kB / 0.8735 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/1.197, allocations: 29.7 kB / 0.8735 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/1.197, allocations: 127.4 kB / 0.8736 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/1.197, allocations: 62.91 kB / 0.8737 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.461e-05/1.197, allocations: 0 / 0.8737 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.148e-05/1.197, allocations: 322.6 kB / 0.874 GB, free: 153.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.738e-05/1.197, allocations: 45.84 kB / 0.874 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.996e-05/1.197, allocations: 125 kB / 0.8742 GB, free: 153 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.108e-05/1.197, allocations: 58.97 kB / 0.8742 GB, free: 153 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.197, allocations: 4 kB / 0.8742 GB, free: 153 MB / 0.5886 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002623/1.198, allocations: 192.5 kB / 0.8744 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/1.198, allocations: 4 kB / 0.8744 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/1.198, allocations: 4 kB / 0.8744 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/1.198, allocations: 7.953 kB / 0.8744 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003765/1.198, allocations: 72.02 kB / 0.8745 GB, free: 152.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/1.198, allocations: 4 kB / 0.8745 GB, free: 152.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/1.198, allocations: 31.67 kB / 0.8745 GB, free: 152.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/1.198, allocations: 15.98 kB / 0.8745 GB, free: 152.7 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 () * 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 7.476e-05/1.199, allocations: 108.9 kB / 0.8746 GB, free: 152.5 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002099/1.199, allocations: 147.3 kB / 0.8748 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/1.199, allocations: 15.86 kB / 0.8748 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/1.199, allocations: 175.9 kB / 0.875 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/1.199, allocations: 7.953 kB / 0.875 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.199, allocations: 4 kB / 0.875 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.199, allocations: 3.984 kB / 0.875 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/1.199, allocations: 211.5 kB / 0.8752 GB, free: 152 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.199, allocations: 0 / 0.8752 GB, free: 152 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/1.2, allocations: 47.91 kB / 0.8752 GB, free: 152 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/1.2, allocations: 7.938 kB / 0.8752 GB, free: 152 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/1.2, allocations: 7.797 kB / 0.8752 GB, free: 152 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/1.2, allocations: 3.953 kB / 0.8752 GB, free: 152 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.2, allocations: 0 / 0.8752 GB, free: 152 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/1.2, allocations: 252.9 kB / 0.8755 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-05/1.2, allocations: 104.9 kB / 0.8756 GB, free: 151.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/1.2, allocations: 0 / 0.8756 GB, free: 151.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/1.2, allocations: 15.98 kB / 0.8756 GB, free: 151.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/1.2, allocations: 19.69 kB / 0.8756 GB, free: 151.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/1.2, allocations: 15.98 kB / 0.8756 GB, free: 151.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.158e-05/1.2, allocations: 102.9 kB / 0.8757 GB, free: 151.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/1.2, allocations: 0 / 0.8757 GB, free: 151.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003577/1.201, allocations: 56.12 kB / 0.8758 GB, free: 151.4 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 () * 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.0004608/1.201, allocations: 0.812 MB / 0.8766 GB, free: 150.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002199/1.202, allocations: 143.1 kB / 0.8767 GB, free: 150.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.202, allocations: 0 / 0.8767 GB, free: 150.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.045e-05/1.202, allocations: 70.17 kB / 0.8768 GB, free: 150.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/1.202, allocations: 38.14 kB / 0.8768 GB, free: 150.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007503/1.203, allocations: 249.6 kB / 0.8771 GB, free: 150.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/1.203, allocations: 0.7248 MB / 0.8778 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003243/1.203, allocations: 49.83 kB / 0.8778 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/1.203, allocations: 44.53 kB / 0.8779 GB, free: 149.3 MB / 0.5886 GB Notification: Performance of SimCode: time 3.5e-07/1.203, allocations: 0 / 0.8779 GB, free: 149.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/1.226, allocations: 3.864 MB / 0.8816 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/1.227, allocations: 171.2 kB / 0.8818 GB, free: 145.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.917, allocations: 3.938 kB / 0.8818 GB, free: 145.3 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)