Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",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.001455/0.001455, allocations: 183.2 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.5496/0.5496, allocations: 91.97 MB / 108.5 MB, free: 13.08 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.71/1.71, allocations: 223.2 MB / 354.3 MB, free: 10.46 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.001006/0.001006, allocations: 98.59 kB / 427.4 MB, free: 2.184 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003517, allocations: 12 kB / 0.4983 GB, free: 41.96 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1705, allocations: 72.31 MB / 0.5689 GB, free: 1.586 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.158/1.329, allocations: 313.4 MB / 0.875 GB, free: 151.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/1.329, allocations: 87.62 kB / 0.8751 GB, free: 151.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01942/1.349, allocations: 8.291 MB / 0.8832 GB, free: 144.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.296e-06/1.349, allocations: 0 / 0.8832 GB, free: 144.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.033e-06/1.349, allocations: 0 / 0.8832 GB, free: 144.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003753/1.349, allocations: 366.8 kB / 0.8836 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/1.349, allocations: 8.031 kB / 0.8836 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.52e-05/1.349, allocations: 42.56 kB / 0.8836 GB, free: 144 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000222/1.349, allocations: 15.94 kB / 0.8836 GB, free: 144 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.754e-05/1.349, allocations: 170 kB / 0.8838 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/1.349, allocations: 4 kB / 0.8838 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/1.35, allocations: 7.062 kB / 0.8838 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/1.35, allocations: 66.62 kB / 0.8839 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/1.35, allocations: 0 / 0.8839 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/1.35, allocations: 4 kB / 0.8839 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/1.35, allocations: 3.953 kB / 0.8839 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.071e-05/1.35, allocations: 15.75 kB / 0.8839 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006274/1.35, allocations: 460.9 kB / 0.8843 GB, free: 143.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/1.351, allocations: 75.16 kB / 0.8844 GB, free: 143.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/1.351, allocations: 7.047 kB / 0.8844 GB, free: 143.1 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/1.351, allocations: 34.5 kB / 0.8844 GB, free: 143 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/1.351, allocations: 4 kB / 0.8844 GB, free: 143 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0006891/1.351, allocations: 309.4 kB / 0.8847 GB, free: 142.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/1.351, allocations: 106.8 kB / 0.8848 GB, free: 142.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.559e-05/1.351, allocations: 99.95 kB / 0.8849 GB, free: 142.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/1.351, allocations: 25.7 kB / 0.885 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.393e-05/1.352, allocations: 83.27 kB / 0.885 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/1.352, allocations: 31.42 kB / 0.8851 GB, free: 142.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/1.352, allocations: 4 kB / 0.8851 GB, free: 142.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.931e-05/1.352, allocations: 318 kB / 0.8854 GB, free: 142 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.682e-05/1.352, allocations: 7.562 kB / 0.8854 GB, free: 142 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.646e-05/1.352, allocations: 55.7 kB / 0.8854 GB, free: 141.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.265e-05/1.352, allocations: 26.98 kB / 0.8855 GB, free: 141.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/1.352, allocations: 0 / 0.8855 GB, free: 141.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001558/1.352, allocations: 91.48 kB / 0.8855 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/1.352, allocations: 11.95 kB / 0.8856 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.352, allocations: 0 / 0.8856 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/1.352, allocations: 4 kB / 0.8856 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.593e-05/1.352, allocations: 16 kB / 0.8856 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/1.352, allocations: 3.938 kB / 0.8856 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.355e-05/1.352, allocations: 12.03 kB / 0.8856 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/1.352, allocations: 4 kB / 0.8856 GB, free: 141.8 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.944e-05/1.352, allocations: 117.2 kB / 0.8857 GB, free: 141.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/1.352, allocations: 3.375 kB / 0.8857 GB, free: 141.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.373e-05/1.352, allocations: 14.95 kB / 0.8857 GB, free: 141.7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.352, allocations: 0 / 0.8857 GB, free: 141.7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.352, allocations: 0 / 0.8857 GB, free: 141.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/1.352, allocations: 4 kB / 0.8857 GB, free: 141.6 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/1.353, allocations: 176 kB / 0.8859 GB, free: 141.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.353, allocations: 4 kB / 0.8859 GB, free: 141.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.726e-05/1.353, allocations: 19.92 kB / 0.8859 GB, free: 141.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/1.353, allocations: 12.48 kB / 0.8859 GB, free: 141.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/1.353, allocations: 0 / 0.8859 GB, free: 141.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/1.353, allocations: 3.953 kB / 0.8859 GB, free: 141.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.353, allocations: 8.062 kB / 0.8859 GB, free: 141.4 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/1.353, allocations: 345.9 kB / 0.8863 GB, free: 141 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/1.353, allocations: 85.06 kB / 0.8863 GB, free: 140.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/1.353, allocations: 0 / 0.8863 GB, free: 140.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/1.353, allocations: 11.72 kB / 0.8864 GB, free: 140.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/1.353, allocations: 12.02 kB / 0.8864 GB, free: 140.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/1.353, allocations: 4 kB / 0.8864 GB, free: 140.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.684e-05/1.353, allocations: 81.95 kB / 0.8865 GB, free: 140.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.11e-07/1.353, allocations: 4 kB / 0.8865 GB, free: 140.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003174/1.354, allocations: 15.56 kB / 0.8865 GB, free: 140.8 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0004927/1.354, allocations: 1.032 MB / 0.8875 GB, free: 139.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001126/1.354, allocations: 42.36 kB / 0.8875 GB, free: 139.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.354, allocations: 0 / 0.8875 GB, free: 139.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.57e-05/1.354, allocations: 23.36 kB / 0.8875 GB, free: 139.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/1.355, allocations: 8.156 kB / 0.8875 GB, free: 139.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/1.356, allocations: 1.437 MB / 0.889 GB, free: 138.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/1.356, allocations: 0.6848 MB / 0.8896 GB, free: 137.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.703e-05/1.356, allocations: 15.92 kB / 0.8896 GB, free: 137.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/1.356, allocations: 17.88 kB / 0.8897 GB, free: 137.5 MB / 0.5886 GB Notification: Performance of SimCode: time 2.6e-07/1.356, allocations: 0 / 0.8897 GB, free: 137.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/1.372, allocations: 1.433 MB / 0.8911 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003006/1.372, allocations: 220.9 kB / 0.8913 GB, free: 136 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/3.104, allocations: 0 / 0.8913 GB, free: 136 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)