Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8775/0.8775, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 172.8 kB / 182.2 MB, free: 9.438 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.668/1.668, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 87.8 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001965/0.001965, allocations: 286.1 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.046e-05/2.069e-05, allocations: 0 / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4948/0.4949, allocations: 82.77 MB / 0.7575 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8958/1.391, allocations: 321.3 MB / 1.071 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003546/1.391, allocations: 76.45 kB / 1.071 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02005/1.411, allocations: 8.244 MB / 1.079 GB, free: 4.242 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.343e-06/1.411, allocations: 0 / 1.079 GB, free: 4.242 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.422e-06/1.411, allocations: 0 / 1.079 GB, free: 4.242 MB / 0.6198 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.0003979/1.412, allocations: 349.9 kB / 1.08 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/1.412, allocations: 8.031 kB / 1.08 GB, free: 3.852 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002241/1.412, allocations: 15.3 kB / 1.08 GB, free: 3.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/1.412, allocations: 163.1 kB / 1.08 GB, free: 3.641 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/1.412, allocations: 3.953 kB / 1.08 GB, free: 3.637 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/1.412, allocations: 11.84 kB / 1.08 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.757e-05/1.412, allocations: 4 kB / 1.08 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/1.412, allocations: 70.38 kB / 1.08 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/1.412, allocations: 0 / 1.08 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/1.412, allocations: 0 / 1.08 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.412, allocations: 0 / 1.08 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006281/1.413, allocations: 442.5 kB / 1.08 GB, free: 3.066 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/1.413, allocations: 67.03 kB / 1.08 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/1.413, allocations: 30.14 kB / 1.08 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/1.413, allocations: 0 / 1.08 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/1.413, allocations: 34.56 kB / 1.08 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/1.413, allocations: 0 / 1.08 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005825/1.414, allocations: 283.4 kB / 1.081 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/1.414, allocations: 106.8 kB / 1.081 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.617e-05/1.414, allocations: 96.36 kB / 1.081 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/1.414, allocations: 25.7 kB / 1.081 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/1.414, allocations: 88.11 kB / 1.081 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/1.414, allocations: 22.59 kB / 1.081 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/1.414, allocations: 3.938 kB / 1.081 GB, free: 2.211 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.414, allocations: 326.3 kB / 1.081 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/1.414, allocations: 7.312 kB / 1.081 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.374e-05/1.414, allocations: 47.97 kB / 1.081 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.293e-05/1.414, allocations: 20.05 kB / 1.081 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/1.414, allocations: 0 / 1.081 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001205/1.415, allocations: 95.81 kB / 1.082 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.415, allocations: 4 kB / 1.082 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/1.415, allocations: 0 / 1.082 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/1.415, allocations: 8.125 kB / 1.082 GB, free: 1.703 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.865e-05/1.415, allocations: 19.94 kB / 1.082 GB, free: 1.684 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/1.415, allocations: 8.844 kB / 1.082 GB, free: 1.676 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.365e-05/1.415, allocations: 0 / 1.082 GB, free: 1.676 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/1.415, allocations: 4 kB / 1.082 GB, free: 1.672 MB / 0.6198 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 () * 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 8.254e-05/1.415, allocations: 112.2 kB / 1.082 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001218/1.415, allocations: 61.38 kB / 1.082 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/1.415, allocations: 7.906 kB / 1.082 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/1.415, allocations: 11.5 kB / 1.082 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/1.415, allocations: 0 / 1.082 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.415, allocations: 4 kB / 1.082 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/1.415, allocations: 0 / 1.082 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/1.415, allocations: 153.7 kB / 1.082 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.415, allocations: 0 / 1.082 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.547e-05/1.416, allocations: 19.92 kB / 1.082 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/1.416, allocations: 4 kB / 1.082 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/1.416, allocations: 0 / 1.082 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.416, allocations: 0 / 1.082 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.416, allocations: 0 / 1.082 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/1.416, allocations: 351.6 kB / 1.082 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.817e-05/1.416, allocations: 85.14 kB / 1.082 GB, free: 0.8125 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/1.416, allocations: 4 kB / 1.082 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/1.416, allocations: 7.875 kB / 1.082 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/1.416, allocations: 15.94 kB / 1.082 GB, free: 0.7852 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/1.416, allocations: 7.375 kB / 1.082 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.531e-05/1.416, allocations: 75.28 kB / 1.082 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/1.416, allocations: 0 / 1.082 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002985/1.417, allocations: 12 kB / 1.083 GB, free: 0.6953 MB / 0.6198 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 () * 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.0006268/1.417, allocations: 1.021 MB / 1.084 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001127/1.417, allocations: 34.75 kB / 1.084 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.417, allocations: 256 / 1.084 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.281e-05/1.417, allocations: 23.97 kB / 1.084 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/1.418, allocations: 2.062 kB / 1.084 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007672/1.418, allocations: 323.6 kB / 1.084 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/1.419, allocations: 0.6813 MB / 1.085 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.137e-05/1.419, allocations: 15.97 kB / 1.085 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/1.419, allocations: 15 kB / 1.085 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/1.419, allocations: 0 / 1.085 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0388/1.458, allocations: 1.107 MB / 1.086 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/1.458, allocations: 190.3 kB / 1.086 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/3.151, allocations: 0 / 1.086 GB, free: 13.26 MB / 0.6355 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)