Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json 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/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008903/0.0008904, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006999/0.006999, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.968/2.968, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003486, allocations: 8.594 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3782, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001844/0.3801, allocations: 0.992 MB / 1.075 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003329/0.3835, allocations: 2.464 MB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.3835, allocations: 4 kB / 1.078 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.3836, allocations: 3.938 kB / 1.078 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.145e-05/0.3836, allocations: 11.97 kB / 1.078 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006574/0.3843, allocations: 111.5 kB / 1.078 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.824e-05/0.3844, allocations: 39.8 kB / 1.078 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.904e-05/0.3845, allocations: 4 kB / 1.078 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.024e-05/0.3846, allocations: 15.98 kB / 1.078 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.396e-05/0.3847, allocations: 19.91 kB / 1.078 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.3847, allocations: 0 / 1.078 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.385, allocations: 115.7 kB / 1.078 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.761e-05/0.3851, allocations: 11.98 kB / 1.078 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.3852, allocations: 41.64 kB / 1.078 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.3854, allocations: 80.06 kB / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3854, allocations: 0 / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.766e-06/0.3854, allocations: 0 / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.3855, allocations: 0 / 1.078 GB, free: 3.645 MB / 0.8262 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.0006348/0.3861, allocations: 343.6 kB / 1.078 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.257e-05/0.3862, allocations: 12.03 kB / 1.078 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003218/0.3865, allocations: 20.83 kB / 1.078 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.3867, allocations: 168.3 kB / 1.078 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.3867, allocations: 4.375 kB / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.3868, allocations: 8.375 kB / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.387, allocations: 76.31 kB / 1.079 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.387, allocations: 0 / 1.079 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.387, allocations: 0 / 1.079 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.387, allocations: 11.94 kB / 1.079 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.245e-05/0.3871, allocations: 7.938 kB / 1.079 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007762/0.3879, allocations: 462.9 kB / 1.079 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.3881, allocations: 79.59 kB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.3881, allocations: 22.7 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.3881, allocations: 3.984 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.3882, allocations: 42.58 kB / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.3882, allocations: 4 kB / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0007509/0.3889, allocations: 298.1 kB / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/0.389, allocations: 106.8 kB / 1.08 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.603e-05/0.3891, allocations: 105.8 kB / 1.08 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.3891, allocations: 25.7 kB / 1.08 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.3892, allocations: 92.3 kB / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.3892, allocations: 31.55 kB / 1.08 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.3893, allocations: 13.72 kB / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3895, allocations: 322.8 kB / 1.08 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.701e-05/0.3895, allocations: 12 kB / 1.08 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.556e-05/0.3895, allocations: 53.08 kB / 1.08 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.3897, allocations: 81.02 kB / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3897, allocations: 0 / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000142/0.3898, allocations: 93.55 kB / 1.08 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3899, allocations: 4.125 kB / 1.08 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.3899, allocations: 8 kB / 1.08 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3899, allocations: 0 / 1.08 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.774e-05/0.39, allocations: 16 kB / 1.08 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.39, allocations: 7.938 kB / 1.08 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.616e-05/0.39, allocations: 0 / 1.08 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.3901, allocations: 11.98 kB / 1.08 GB, free: 0.7852 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.3902, allocations: 117.8 kB / 1.08 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.3902, allocations: 7.906 kB / 1.08 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/0.3903, allocations: 15.5 kB / 1.081 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3903, allocations: 4 kB / 1.081 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3903, allocations: 0 / 1.081 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3903, allocations: 0.6094 kB / 1.081 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003418/0.3907, allocations: 177.6 kB / 1.081 GB, free: 420 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3907, allocations: 4 kB / 1.081 GB, free: 416 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.302e-05/0.3908, allocations: 15.98 kB / 1.081 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3908, allocations: 0 / 1.081 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.3908, allocations: 8 kB / 1.081 GB, free: 392 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3908, allocations: 3.938 kB / 1.081 GB, free: 388 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3908, allocations: 64 / 1.081 GB, free: 388 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.391, allocations: 338 kB / 1.081 GB, free: 32 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-05/0.3911, allocations: 85.02 kB / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.3912, allocations: 7.984 kB / 1.081 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.3913, allocations: 7.984 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/0.3914, allocations: 7.938 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-06/0.3914, allocations: 7.938 kB / 1.081 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.643e-05/0.3914, allocations: 87.27 kB / 1.081 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3914, allocations: 0 / 1.081 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003044/0.3917, allocations: 12 kB / 1.081 GB, free: 15.8 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001573/0.3919, allocations: 103.2 kB / 1.081 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.392, allocations: 48.09 kB / 1.081 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.392, allocations: 4.062 kB / 1.081 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.784e-05/0.3921, allocations: 19.92 kB / 1.081 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.3925, allocations: 9.312 kB / 1.081 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006888/0.3932, allocations: 400.8 kB / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.3935, allocations: 0.6893 MB / 1.082 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.774e-05/0.3936, allocations: 11.77 kB / 1.082 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.3936, allocations: 11.44 kB / 1.082 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3936, allocations: 4 kB / 1.082 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of Templates: time 0.003432/0.3971, allocations: 0.6094 MB / 1.083 GB, free: 13.87 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)