Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.757/1.757, allocations: 289.7 MB / 302.2 MB, free: 2.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 183.1 kB / 371.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008913/0.0008912, allocations: 92.19 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.95e-05/3.96e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2742, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.986/1.26, allocations: 350.8 MB / 1.322 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/1.261, allocations: 84.27 kB / 1.322 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.02078/1.281, allocations: 8.069 MB / 1.33 GB, free: 6.727 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.254e-06/1.281, allocations: 0 / 1.33 GB, free: 6.727 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.013e-06/1.281, allocations: 0 / 1.33 GB, free: 6.727 MB / 0.9011 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.0003936/1.282, allocations: 349.8 kB / 1.331 GB, free: 6.344 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/1.282, allocations: 12.03 kB / 1.331 GB, free: 6.332 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/1.282, allocations: 38.25 kB / 1.331 GB, free: 6.289 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/1.282, allocations: 15.73 kB / 1.331 GB, free: 6.277 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/1.282, allocations: 159.1 kB / 1.331 GB, free: 6.082 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/1.282, allocations: 10.58 kB / 1.331 GB, free: 6.078 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/1.282, allocations: 0 / 1.331 GB, free: 6.078 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/1.283, allocations: 74.69 kB / 1.331 GB, free: 5.996 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.283, allocations: 4 kB / 1.331 GB, free: 5.992 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/1.283, allocations: 3.688 kB / 1.331 GB, free: 5.992 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/1.283, allocations: 0 / 1.331 GB, free: 5.992 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.619e-05/1.283, allocations: 12.69 kB / 1.331 GB, free: 5.98 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006286/1.283, allocations: 470.2 kB / 1.331 GB, free: 5.473 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/1.283, allocations: 71.05 kB / 1.332 GB, free: 5.379 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.95e-05/1.283, allocations: 26.78 kB / 1.332 GB, free: 5.344 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/1.283, allocations: 3.438 kB / 1.332 GB, free: 5.344 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/1.283, allocations: 38.5 kB / 1.332 GB, free: 5.297 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/1.284, allocations: 0 / 1.332 GB, free: 5.297 MB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.0006159/1.284, allocations: 301.9 kB / 1.332 GB, free: 4.969 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/1.284, allocations: 106.8 kB / 1.332 GB, free: 4.84 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.061e-05/1.284, allocations: 96.39 kB / 1.332 GB, free: 4.742 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/1.284, allocations: 33.7 kB / 1.332 GB, free: 4.703 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/1.284, allocations: 91.48 kB / 1.332 GB, free: 4.613 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/1.284, allocations: 23.52 kB / 1.332 GB, free: 4.594 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/1.284, allocations: 4 kB / 1.332 GB, free: 4.59 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.285, allocations: 314.3 kB / 1.333 GB, free: 4.277 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.58e-05/1.285, allocations: 11.69 kB / 1.333 GB, free: 4.27 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.235e-05/1.285, allocations: 48.56 kB / 1.333 GB, free: 4.207 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.036e-05/1.285, allocations: 19.94 kB / 1.333 GB, free: 4.191 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/1.285, allocations: 3.938 kB / 1.333 GB, free: 4.188 MB / 0.9011 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001403/1.285, allocations: 96.2 kB / 1.333 GB, free: 4.098 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.285, allocations: 4 kB / 1.333 GB, free: 4.094 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.285, allocations: 4.125 kB / 1.333 GB, free: 4.09 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/1.285, allocations: 8.641 kB / 1.333 GB, free: 4.082 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.083e-05/1.285, allocations: 19.94 kB / 1.333 GB, free: 4.066 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/1.285, allocations: 4.547 kB / 1.333 GB, free: 4.062 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.696e-05/1.285, allocations: 5.328 kB / 1.333 GB, free: 4.059 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/1.285, allocations: 4 kB / 1.333 GB, free: 4.055 MB / 0.9011 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 9.172e-05/1.285, allocations: 111.9 kB / 1.333 GB, free: 3.941 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/1.285, allocations: 4 kB / 1.333 GB, free: 3.938 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.087e-05/1.285, allocations: 15.36 kB / 1.333 GB, free: 3.93 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/1.285, allocations: 4 kB / 1.333 GB, free: 3.926 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/1.285, allocations: 4 kB / 1.333 GB, free: 3.922 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.285, allocations: 0 / 1.333 GB, free: 3.922 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/1.286, allocations: 172.9 kB / 1.333 GB, free: 3.707 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.286, allocations: 0 / 1.333 GB, free: 3.707 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.498e-05/1.286, allocations: 16.66 kB / 1.333 GB, free: 3.691 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/1.286, allocations: 3.984 kB / 1.333 GB, free: 3.688 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/1.286, allocations: 4.938 kB / 1.333 GB, free: 3.688 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.286, allocations: 4 kB / 1.333 GB, free: 3.684 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.286, allocations: 0 / 1.333 GB, free: 3.684 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/1.286, allocations: 360.9 kB / 1.333 GB, free: 3.316 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.4e-05/1.286, allocations: 89.05 kB / 1.334 GB, free: 3.211 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/1.286, allocations: 0 / 1.334 GB, free: 3.211 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/1.286, allocations: 7.438 kB / 1.334 GB, free: 3.207 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/1.286, allocations: 11.94 kB / 1.334 GB, free: 3.195 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/1.286, allocations: 5 kB / 1.334 GB, free: 3.191 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 5.441e-05/1.286, allocations: 86.73 kB / 1.334 GB, free: 3.109 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.41e-07/1.286, allocations: 0 / 1.334 GB, free: 3.109 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002997/1.287, allocations: 12 kB / 1.334 GB, free: 3.098 MB / 0.9011 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.0006496/1.287, allocations: 1.02 MB / 1.335 GB, free: 2.062 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001057/1.288, allocations: 47.56 kB / 1.335 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.288, allocations: 256 / 1.335 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 2.448e-05/1.288, allocations: 19.62 kB / 1.335 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/1.288, allocations: 9.844 kB / 1.335 GB, free: 2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007956/1.289, allocations: 337.7 kB / 1.335 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/1.289, allocations: 0.6848 MB / 1.336 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 6.091e-05/1.289, allocations: 11.98 kB / 1.336 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/1.289, allocations: 15.25 kB / 1.336 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of SimCode: time 3.8e-07/1.289, allocations: 0 / 1.336 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/1.302, allocations: 1.451 MB / 1.337 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/1.302, allocations: 195.7 kB / 1.337 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.893, allocations: 4.062 kB / 1.337 GB, free: 15.44 MB / 0.9167 GB (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)