Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.646/2.646, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.002165/0.002165, allocations: 183.4 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001154, allocations: 94.12 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007084/0.0007084, allocations: 11.58 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.223, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.275/1.498, allocations: 351.2 MB / 1.321 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004491/1.499, allocations: 80.38 kB / 1.321 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04212/1.541, allocations: 8.134 MB / 1.329 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.963e-06/1.541, allocations: 0 / 1.329 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.653e-06/1.541, allocations: 0 / 1.329 GB, free: 7.355 MB / 0.8542 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.0004879/1.541, allocations: 354.5 kB / 1.33 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/1.541, allocations: 12.02 kB / 1.33 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.665e-05/1.542, allocations: 37.88 kB / 1.33 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002581/1.542, allocations: 16.67 kB / 1.33 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/1.542, allocations: 167 kB / 1.33 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/1.542, allocations: 6.875 kB / 1.33 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/1.542, allocations: 4 kB / 1.33 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/1.542, allocations: 77.67 kB / 1.33 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.542, allocations: 4 kB / 1.33 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/1.542, allocations: 0 / 1.33 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/1.542, allocations: 0 / 1.33 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.758e-05/1.542, allocations: 12 kB / 1.33 GB, free: 6.586 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008158/1.543, allocations: 468.4 kB / 1.33 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/1.543, allocations: 70.91 kB / 1.33 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/1.543, allocations: 4.125 kB / 1.33 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/1.543, allocations: 38.14 kB / 1.33 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.974e-06/1.543, allocations: 0 / 1.33 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0007996/1.544, allocations: 306.9 kB / 1.331 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/1.544, allocations: 117.8 kB / 1.331 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.144e-05/1.544, allocations: 88.98 kB / 1.331 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/1.544, allocations: 36.02 kB / 1.331 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/1.545, allocations: 84.05 kB / 1.331 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/1.545, allocations: 33.61 kB / 1.331 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/1.545, allocations: 0 / 1.331 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.545, allocations: 318 kB / 1.331 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.945e-05/1.545, allocations: 14.67 kB / 1.331 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.806e-05/1.545, allocations: 51.89 kB / 1.331 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.072e-05/1.545, allocations: 19.14 kB / 1.331 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.545, allocations: 4 kB / 1.331 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002053/1.545, allocations: 95.91 kB / 1.332 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.545, allocations: 4 kB / 1.332 GB, free: 4.727 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.545, allocations: 4 kB / 1.332 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/1.545, allocations: 0 / 1.332 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/1.545, allocations: 23.94 kB / 1.332 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/1.545, allocations: 3.984 kB / 1.332 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.917e-05/1.546, allocations: 11.89 kB / 1.332 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/1.546, allocations: 4 kB / 1.332 GB, free: 4.68 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 () * 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 0.0001096/1.546, allocations: 121.2 kB / 1.332 GB, free: 4.559 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-05/1.546, allocations: 7.906 kB / 1.332 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.228e-05/1.546, allocations: 10.88 kB / 1.332 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/1.546, allocations: 0 / 1.332 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.546, allocations: 0 / 1.332 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/1.546, allocations: 0 / 1.332 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005095/1.546, allocations: 179.9 kB / 1.332 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.546, allocations: 64 / 1.332 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/1.547, allocations: 19.98 kB / 1.332 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/1.547, allocations: 8 kB / 1.332 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/1.547, allocations: 0 / 1.332 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.547, allocations: 0 / 1.332 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.547, allocations: 0 / 1.332 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/1.547, allocations: 357.1 kB / 1.332 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.661e-05/1.547, allocations: 85.06 kB / 1.332 GB, free: 3.836 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/1.547, allocations: 6.859 kB / 1.332 GB, free: 3.832 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/1.547, allocations: 4 kB / 1.332 GB, free: 3.828 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/1.547, allocations: 7.953 kB / 1.332 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/1.547, allocations: 3.188 kB / 1.332 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.373e-05/1.547, allocations: 83.27 kB / 1.332 GB, free: 3.738 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.01e-07/1.548, allocations: 0 / 1.332 GB, free: 3.738 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004069/1.548, allocations: 15.25 kB / 1.332 GB, free: 3.727 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 () * 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.0007535/1.549, allocations: 1.035 MB / 1.333 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001679/1.549, allocations: 41.16 kB / 1.334 GB, free: 2.641 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.549, allocations: 0 / 1.334 GB, free: 2.641 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.064e-05/1.549, allocations: 23.23 kB / 1.334 GB, free: 2.621 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/1.549, allocations: 7 kB / 1.334 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/1.551, allocations: 1.45 MB / 1.335 GB, free: 1.125 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/1.552, allocations: 0.6887 MB / 1.336 GB, free: 420 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001062/1.552, allocations: 4 kB / 1.336 GB, free: 416 kB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/1.552, allocations: 15.38 kB / 1.336 GB, free: 404 kB / 0.8542 GB Notification: Performance of SimCode: time 1.362e-06/1.552, allocations: 4 kB / 1.336 GB, free: 400 kB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/1.576, allocations: 1.453 MB / 1.337 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003352/1.576, allocations: 216.5 kB / 1.337 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/3.862, allocations: 4 kB / 1.337 GB, free: 14.91 MB / 0.8698 GB (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)