Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0008298/0.00083, allocations: 90.83 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.007415/0.007415, allocations: 170.8 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.493/1.493, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.87/2.87, allocations: 473.4 MB / 0.7469 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003632, allocations: 8.906 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3822, allocations: 162.2 MB / 1.074 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001996/0.3842, allocations: 0.992 MB / 1.075 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003591/0.3879, allocations: 2.468 MB / 1.078 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.3879, allocations: 3.938 kB / 1.078 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.272e-05/0.388, allocations: 0 / 1.078 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.996e-05/0.388, allocations: 3.984 kB / 1.078 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000571/0.3886, allocations: 119.5 kB / 1.078 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.232e-05/0.3887, allocations: 39.8 kB / 1.078 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.3887, allocations: 0 / 1.078 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.151e-05/0.3888, allocations: 19.97 kB / 1.078 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.47e-05/0.3889, allocations: 19.92 kB / 1.078 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.3889, allocations: 4 kB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003279/0.3892, allocations: 111.7 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.3893, allocations: 7.984 kB / 1.078 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.3893, allocations: 41.62 kB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.3895, allocations: 88.06 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.3896, allocations: 4 kB / 1.078 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.745e-06/0.3896, allocations: 0 / 1.078 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.3896, allocations: 0 / 1.078 GB, free: 3.551 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.0005161/0.3901, allocations: 339.6 kB / 1.078 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.3902, allocations: 8.031 kB / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002588/0.3904, allocations: 16.84 kB / 1.078 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.3906, allocations: 176.2 kB / 1.078 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3906, allocations: 384 / 1.078 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.3907, allocations: 8.375 kB / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.3908, allocations: 68.39 kB / 1.079 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.3909, allocations: 3.984 kB / 1.079 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.3909, allocations: 8 kB / 1.079 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.3909, allocations: 0 / 1.079 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.587e-05/0.391, allocations: 15.88 kB / 1.079 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006618/0.3916, allocations: 470.9 kB / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.3918, allocations: 67.66 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/0.3918, allocations: 30.64 kB / 1.079 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.3919, allocations: 4 kB / 1.079 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.3919, allocations: 34.64 kB / 1.079 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.3919, allocations: 0 / 1.079 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0007244/0.3926, allocations: 302.6 kB / 1.079 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.3927, allocations: 110.8 kB / 1.08 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/0.3928, allocations: 105.8 kB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.3928, allocations: 25.7 kB / 1.08 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.3929, allocations: 84.05 kB / 1.08 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.3929, allocations: 35.53 kB / 1.08 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.393, allocations: 17.72 kB / 1.08 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3932, allocations: 322.8 kB / 1.08 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.3932, allocations: 8 kB / 1.08 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.724e-05/0.3933, allocations: 61.08 kB / 1.08 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.3934, allocations: 77.08 kB / 1.08 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3934, allocations: 0 / 1.08 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001336/0.3935, allocations: 93.55 kB / 1.08 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.3935, allocations: 8 kB / 1.08 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3936, allocations: 3.984 kB / 1.08 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3936, allocations: 4 kB / 1.08 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.757e-05/0.3937, allocations: 19.94 kB / 1.08 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3937, allocations: 0 / 1.08 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.78e-05/0.3937, allocations: 4.125 kB / 1.08 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.3937, allocations: 8 kB / 1.08 GB, free: 0.6992 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 9.974e-05/0.3938, allocations: 121.8 kB / 1.08 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.706e-05/0.3939, allocations: 3.906 kB / 1.08 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.306e-05/0.3939, allocations: 11.56 kB / 1.081 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.394, allocations: 3.938 kB / 1.081 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.394, allocations: 0 / 1.081 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.394, allocations: 4 kB / 1.081 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.3943, allocations: 177.6 kB / 1.081 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3943, allocations: 0 / 1.081 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.231e-05/0.3944, allocations: 23.92 kB / 1.081 GB, free: 308 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3944, allocations: 4 kB / 1.081 GB, free: 304 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.3944, allocations: 0 / 1.081 GB, free: 304 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3944, allocations: 0 / 1.081 GB, free: 304 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.3945, allocations: 8.062 kB / 1.081 GB, free: 296 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.3948, allocations: 326 kB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/0.3949, allocations: 96.89 kB / 1.081 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.3949, allocations: 0 / 1.081 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.3951, allocations: 8.031 kB / 1.081 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.3951, allocations: 8.422 kB / 1.081 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.3951, allocations: 7.938 kB / 1.081 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.371e-05/0.3952, allocations: 83.25 kB / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3952, allocations: 0 / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003165/0.3955, allocations: 16 kB / 1.081 GB, free: 15.72 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.0001614/0.3957, allocations: 103.2 kB / 1.081 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.3958, allocations: 43.92 kB / 1.081 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3958, allocations: 0 / 1.081 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.806e-05/0.3958, allocations: 19.94 kB / 1.081 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.3963, allocations: 12.2 kB / 1.081 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007665/0.3971, allocations: 403.8 kB / 1.082 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.3974, allocations: 0.6892 MB / 1.082 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.47e-05/0.3975, allocations: 19.7 kB / 1.082 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.3975, allocations: 11.44 kB / 1.082 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of SimCode: time 3.9e-07/0.3975, allocations: 0 / 1.082 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of Templates: time 0.003708/0.4012, allocations: 0.6123 MB / 1.083 GB, free: 13.78 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)