Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.225/2.225, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 187.5 kB / 499.1 MB, free: 4.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 222.9 MB / 0.7948 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.001089, allocations: 107.7 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 49.2 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2973, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002527/0.2999, allocations: 1.323 MB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002743/0.3026, allocations: 2.496 MB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.699e-05/0.3027, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.079e-05/0.3028, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-05/0.3028, allocations: 11.92 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005226/0.3034, allocations: 115.5 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.801e-05/0.3034, allocations: 31.92 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.885e-05/0.3035, allocations: 8 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.581e-05/0.3035, allocations: 23.84 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.912e-05/0.3036, allocations: 15.98 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.3036, allocations: 3.938 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.3039, allocations: 107.8 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.3039, allocations: 11.98 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.783e-05/0.304, allocations: 19.92 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.3042, allocations: 77.95 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3042, allocations: 0 / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3042, allocations: 0 / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.3042, allocations: 4 kB / 1.222 GB, free: 113 MB / 0.823 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.0004432/0.3047, allocations: 355.4 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3047, allocations: 15.92 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002219/0.305, allocations: 16.92 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.3051, allocations: 160.4 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.3051, allocations: 384 / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.3051, allocations: 8.375 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.3053, allocations: 76.38 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3053, allocations: 0 / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.3053, allocations: 4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.3053, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.933e-05/0.3053, allocations: 15.88 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.3059, allocations: 474.7 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.306, allocations: 75.66 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.684e-05/0.306, allocations: 26.78 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.188e-06/0.306, allocations: 0 / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.306, allocations: 38.56 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.3061, allocations: 3.984 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0005175/0.3066, allocations: 298.2 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.3066, allocations: 106.8 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.194e-05/0.3067, allocations: 102.1 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.3067, allocations: 29.64 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.755e-05/0.3067, allocations: 88.05 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.3068, allocations: 35.53 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.3068, allocations: 29.64 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.287e-05/0.3068, allocations: 318.8 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.359e-05/0.3069, allocations: 12 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.513e-05/0.3069, allocations: 53.14 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.213e-05/0.307, allocations: 73.08 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.307, allocations: 0 / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000102/0.3071, allocations: 97.55 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3071, allocations: 5.406 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3071, allocations: 4.062 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3071, allocations: 4 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.734e-05/0.3072, allocations: 27.92 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.3072, allocations: 0 / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.587e-05/0.3073, allocations: 7.906 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3073, allocations: 4 kB / 1.225 GB, free: 110.1 MB / 0.823 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 5.886e-05/0.3073, allocations: 118.6 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.3074, allocations: 4 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.3074, allocations: 15.5 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.3074, allocations: 0 / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3075, allocations: 0 / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3075, allocations: 3.984 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.3077, allocations: 178.2 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3077, allocations: 3.984 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.333e-05/0.3078, allocations: 12 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3078, allocations: 4 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3078, allocations: 4 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3079, allocations: 0 / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3079, allocations: 0 / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006659/0.3085, allocations: 1.233 MB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.783e-05/0.3086, allocations: 89.05 kB / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.3086, allocations: 4 kB / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.3087, allocations: 15.94 kB / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.3088, allocations: 11.92 kB / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.3088, allocations: 0 / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.968e-05/0.3088, allocations: 87.28 kB / 1.226 GB, free: 108.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.3088, allocations: 0 / 1.226 GB, free: 108.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003481/0.3092, allocations: 12 kB / 1.226 GB, free: 108.1 MB / 0.823 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.0001179/0.3093, allocations: 111.2 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.306e-05/0.3094, allocations: 39.92 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3094, allocations: 4.25 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.969e-05/0.3094, allocations: 15.94 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.3099, allocations: 14.53 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005928/0.3105, allocations: 468.8 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.3106, allocations: 0.6853 MB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 5.365e-05/0.3107, allocations: 11.98 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.3107, allocations: 11.44 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.3107, allocations: 4 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of Templates: time 0.002348/0.313, allocations: 0.6676 MB / 1.228 GB, free: 106 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)