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.771/0.771, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 183.7 kB / 187.3 MB, free: 11.88 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.535/1.535, allocations: 221.3 MB / 441.4 MB, free: 4.574 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.0009941/0.0009938, allocations: 100.1 kB / 0.5124 GB, free: 24.29 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001837/0.001837, allocations: 279.2 kB / 0.5939 GB, free: 7.934 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.542e-05/3.546e-05, allocations: 4 kB / 0.6835 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4788/0.4788, allocations: 82.76 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7816/1.26, allocations: 322 MB / 1.079 GB, free: 3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/1.261, allocations: 74.02 kB / 1.079 GB, free: 2.961 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02056/1.281, allocations: 8.286 MB / 1.087 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.02e-05/1.281, allocations: 0 / 1.087 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.845e-06/1.281, allocations: 0 / 1.087 GB, free: 12.29 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.0003725/1.282, allocations: 353.3 kB / 1.087 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/1.282, allocations: 8.031 kB / 1.087 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.337e-05/1.282, allocations: 34.55 kB / 1.087 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/1.282, allocations: 12 kB / 1.087 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/1.282, allocations: 171 kB / 1.087 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/1.282, allocations: 7.297 kB / 1.087 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/1.282, allocations: 7.906 kB / 1.088 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/1.283, allocations: 70.7 kB / 1.088 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/1.283, allocations: 0 / 1.088 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/1.283, allocations: 0 / 1.088 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/1.283, allocations: 0 / 1.088 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.576e-05/1.283, allocations: 11.94 kB / 1.088 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006178/1.283, allocations: 465.6 kB / 1.088 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/1.283, allocations: 82.66 kB / 1.088 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.188e-05/1.283, allocations: 22.64 kB / 1.088 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/1.283, allocations: 7.984 kB / 1.088 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/1.283, allocations: 34.06 kB / 1.088 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/1.283, allocations: 0 / 1.088 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006046/1.284, allocations: 299.5 kB / 1.088 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/1.284, allocations: 106.8 kB / 1.089 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.217e-05/1.284, allocations: 92.69 kB / 1.089 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/1.284, allocations: 25.7 kB / 1.089 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/1.284, allocations: 91.3 kB / 1.089 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/1.284, allocations: 27.08 kB / 1.089 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/1.284, allocations: 0 / 1.089 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.285, allocations: 330.3 kB / 1.089 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.67e-05/1.285, allocations: 11.75 kB / 1.089 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.086e-05/1.285, allocations: 45.09 kB / 1.089 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.94e-05/1.285, allocations: 26.98 kB / 1.089 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.285, allocations: 0 / 1.089 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001315/1.285, allocations: 95.64 kB / 1.089 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.285, allocations: 9.562 kB / 1.089 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.285, allocations: 0 / 1.089 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.285, allocations: 4 kB / 1.089 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.375e-05/1.285, allocations: 16 kB / 1.089 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/1.285, allocations: 3.938 kB / 1.089 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.649e-05/1.285, allocations: 8.172 kB / 1.089 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/1.285, allocations: 12 kB / 1.089 GB, free: 9.598 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.592e-05/1.285, allocations: 115.9 kB / 1.089 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/1.285, allocations: 3.562 kB / 1.089 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/1.285, allocations: 11 kB / 1.089 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/1.285, allocations: 0 / 1.089 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.285, allocations: 0 / 1.089 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.285, allocations: 4 kB / 1.089 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/1.286, allocations: 177.2 kB / 1.09 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.286, allocations: 0 / 1.09 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.354e-05/1.286, allocations: 23.89 kB / 1.09 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/1.286, allocations: 4 kB / 1.09 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/1.286, allocations: 0 / 1.09 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.286, allocations: 3.938 kB / 1.09 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.286, allocations: 4 kB / 1.09 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/1.286, allocations: 347.8 kB / 1.09 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.386e-05/1.286, allocations: 89.16 kB / 1.09 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/1.286, allocations: 4 kB / 1.09 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/1.286, allocations: 3.938 kB / 1.09 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/1.286, allocations: 15.88 kB / 1.09 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/1.286, allocations: 4 kB / 1.09 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.758e-05/1.286, allocations: 75.28 kB / 1.09 GB, free: 8.664 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/1.286, allocations: 4 kB / 1.09 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002823/1.287, allocations: 15.12 kB / 1.09 GB, free: 8.648 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.0006478/1.287, allocations: 1.035 MB / 1.091 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001201/1.287, allocations: 39.06 kB / 1.091 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.287, allocations: 0 / 1.091 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.827e-05/1.287, allocations: 27.34 kB / 1.091 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/1.288, allocations: 1.016 kB / 1.091 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007414/1.288, allocations: 335.8 kB / 1.092 GB, free: 7.188 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/1.289, allocations: 0.6809 MB / 1.092 GB, free: 6.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.888e-05/1.289, allocations: 11.98 kB / 1.092 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/1.289, allocations: 15.06 kB / 1.092 GB, free: 6.457 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/1.289, allocations: 0 / 1.092 GB, free: 6.457 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01383/1.303, allocations: 1.485 MB / 1.094 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/1.303, allocations: 193.8 kB / 1.094 GB, free: 4.973 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/2.845, allocations: 0 / 1.094 GB, free: 4.973 MB / 0.6198 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)