Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 249.5 MB / 257 MB, free: 6.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001293/0.001293, allocations: 180.8 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009267/0.0009265, allocations: 96.7 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.045e-05/2.047e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2302, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.107/1.337, allocations: 345.2 MB / 1.222 GB, free: 7.633 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/1.337, allocations: 83.06 kB / 1.223 GB, free: 7.586 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.01852/1.356, allocations: 8.054 MB / 1.23 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.41e-06/1.356, allocations: 0 / 1.23 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.227e-06/1.356, allocations: 7.875 kB / 1.23 GB, free: 1.18 MB / 0.8386 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.0004888/1.356, allocations: 345.8 kB / 1.231 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/1.356, allocations: 8.031 kB / 1.231 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002357/1.357, allocations: 16.92 kB / 1.231 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/1.357, allocations: 163 kB / 1.231 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/1.357, allocations: 4 kB / 1.231 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/1.357, allocations: 7.906 kB / 1.231 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.226e-05/1.357, allocations: 7.375 kB / 1.231 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/1.357, allocations: 72.05 kB / 1.231 GB, free: 492 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/1.357, allocations: 0 / 1.231 GB, free: 492 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/1.357, allocations: 0 / 1.231 GB, free: 492 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/1.357, allocations: 4 kB / 1.231 GB, free: 488 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007818/1.358, allocations: 435.2 kB / 1.231 GB, free: 8 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/1.358, allocations: 75.41 kB / 1.232 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.94e-05/1.358, allocations: 22.52 kB / 1.232 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/1.358, allocations: 4 kB / 1.232 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/1.358, allocations: 34.5 kB / 1.232 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/1.358, allocations: 0 / 1.232 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0006845/1.359, allocations: 292.2 kB / 1.232 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/1.359, allocations: 102.8 kB / 1.232 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/1.359, allocations: 89 kB / 1.232 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/1.359, allocations: 29.69 kB / 1.232 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/1.359, allocations: 87.98 kB / 1.232 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/1.359, allocations: 27.28 kB / 1.232 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/1.359, allocations: 4.062 kB / 1.232 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000184/1.36, allocations: 322.8 kB / 1.232 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.388e-05/1.36, allocations: 7.375 kB / 1.232 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.221e-05/1.36, allocations: 48.41 kB / 1.233 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.061e-05/1.36, allocations: 23.8 kB / 1.233 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/1.36, allocations: 0 / 1.233 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000147/1.36, allocations: 88.77 kB / 1.233 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.36, allocations: 4 kB / 1.233 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.36, allocations: 0 / 1.233 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/1.36, allocations: 4 kB / 1.233 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.516e-05/1.36, allocations: 16 kB / 1.233 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/1.36, allocations: 7.984 kB / 1.233 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.98e-05/1.36, allocations: 4.125 kB / 1.233 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-06/1.36, allocations: 7.938 kB / 1.233 GB, free: 14.61 MB / 0.8542 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 0.0001013/1.36, allocations: 104.9 kB / 1.233 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001395/1.36, allocations: 64.75 kB / 1.233 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/1.36, allocations: 3.906 kB / 1.233 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/1.36, allocations: 11.56 kB / 1.233 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/1.36, allocations: 128 / 1.233 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/1.361, allocations: 4 kB / 1.233 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/1.361, allocations: 12.02 kB / 1.233 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/1.361, allocations: 145.8 kB / 1.233 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.361, allocations: 4 kB / 1.233 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.862e-05/1.361, allocations: 15.98 kB / 1.233 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/1.361, allocations: 0 / 1.233 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/1.361, allocations: 4 kB / 1.233 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.361, allocations: 3.938 kB / 1.233 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.361, allocations: 0 / 1.233 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/1.361, allocations: 344.5 kB / 1.233 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.882e-05/1.361, allocations: 96.36 kB / 1.233 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/1.361, allocations: 0 / 1.233 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/1.362, allocations: 4 kB / 1.233 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/1.362, allocations: 11.94 kB / 1.233 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/1.362, allocations: 0 / 1.233 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.328e-05/1.362, allocations: 87.41 kB / 1.234 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.362, allocations: 3.938 kB / 1.234 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003081/1.362, allocations: 12 kB / 1.234 GB, free: 13.62 MB / 0.8542 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.0007498/1.363, allocations: 1.011 MB / 1.235 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001259/1.363, allocations: 42.98 kB / 1.235 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.363, allocations: 0 / 1.235 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-05/1.363, allocations: 23.72 kB / 1.235 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/1.363, allocations: 4.375 kB / 1.235 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008854/1.364, allocations: 338.7 kB / 1.235 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/1.365, allocations: 0.6813 MB / 1.236 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.594e-05/1.365, allocations: 11.98 kB / 1.236 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/1.365, allocations: 14.81 kB / 1.236 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of SimCode: time 2.4e-07/1.365, allocations: 0 / 1.236 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/1.385, allocations: 1.096 MB / 1.237 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002587/1.386, allocations: 199.7 kB / 1.237 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/3.05, allocations: 10.52 kB / 1.237 GB, free: 10.17 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)