Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001153/0.001153, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001272/0.001272, allocations: 189.9 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.538/1.538, allocations: 251.6 MB / 0.5088 GB, free: 3.348 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002503/0.002503, allocations: 59.91 kB / 0.6216 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.508/0.5105, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.0022/0.5128, allocations: 1.333 MB / 0.7251 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0028/0.5156, allocations: 2.511 MB / 0.7276 GB, free: 9.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.878e-05/0.5156, allocations: 0 / 0.7276 GB, free: 9.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.5156, allocations: 0 / 0.7276 GB, free: 9.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.554e-05/0.5157, allocations: 3.984 kB / 0.7276 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.5162, allocations: 119.4 kB / 0.7277 GB, free: 9.148 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.296e-05/0.5163, allocations: 39.84 kB / 0.7277 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.811e-05/0.5163, allocations: 4 kB / 0.7277 GB, free: 9.105 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.786e-05/0.5164, allocations: 15.98 kB / 0.7277 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.786e-05/0.5164, allocations: 19.92 kB / 0.7278 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.5165, allocations: 0 / 0.7278 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.5168, allocations: 123.7 kB / 0.7279 GB, free: 8.949 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.5168, allocations: 3.984 kB / 0.7279 GB, free: 8.945 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.5168, allocations: 15.94 kB / 0.7279 GB, free: 8.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.5171, allocations: 77.81 kB / 0.728 GB, free: 8.855 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5171, allocations: 0 / 0.728 GB, free: 8.855 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5171, allocations: 4 kB / 0.728 GB, free: 8.852 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.5171, allocations: 4 kB / 0.728 GB, free: 8.848 MB / 0.545 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.0004556/0.5176, allocations: 351.4 kB / 0.7283 GB, free: 8.457 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.5176, allocations: 8.031 kB / 0.7283 GB, free: 8.449 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/0.5178, allocations: 24.91 kB / 0.7283 GB, free: 8.426 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.5179, allocations: 164.3 kB / 0.7285 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.518, allocations: 384 / 0.7285 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.518, allocations: 8.281 kB / 0.7285 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.5181, allocations: 80.38 kB / 0.7286 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.5182, allocations: 0 / 0.7286 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.5182, allocations: 4 kB / 0.7286 GB, free: 8.121 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5182, allocations: 0 / 0.7286 GB, free: 8.121 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.293e-05/0.5182, allocations: 11.94 kB / 0.7286 GB, free: 8.109 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000609/0.5188, allocations: 470.9 kB / 0.729 GB, free: 7.586 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.519, allocations: 67.66 kB / 0.7291 GB, free: 7.492 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.519, allocations: 26.58 kB / 0.7291 GB, free: 7.457 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.5191, allocations: 16.08 kB / 0.7291 GB, free: 7.441 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.5191, allocations: 30.56 kB / 0.7292 GB, free: 7.402 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 3.347e-06/0.5191, allocations: 3.984 kB / 0.7292 GB, free: 7.398 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006763/0.5198, allocations: 298.1 kB / 0.7295 GB, free: 7.055 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.08e-05/0.5199, allocations: 115 kB / 0.7296 GB, free: 6.918 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.017e-05/0.52, allocations: 97.8 kB / 0.7297 GB, free: 6.812 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.52, allocations: 29.7 kB / 0.7297 GB, free: 6.777 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.5201, allocations: 84.05 kB / 0.7298 GB, free: 6.691 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.5201, allocations: 27.64 kB / 0.7298 GB, free: 6.664 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.5201, allocations: 25.72 kB / 0.7298 GB, free: 6.633 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5203, allocations: 322.8 kB / 0.7301 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.951e-05/0.5203, allocations: 11.94 kB / 0.7301 GB, free: 6.297 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.054e-05/0.5204, allocations: 61.14 kB / 0.7302 GB, free: 6.219 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.472e-05/0.5205, allocations: 73.08 kB / 0.7303 GB, free: 6.129 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.5205, allocations: 4 kB / 0.7303 GB, free: 6.125 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001346/0.5206, allocations: 93.45 kB / 0.7304 GB, free: 6.027 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.5207, allocations: 9.875 kB / 0.7304 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.5207, allocations: 0 / 0.7304 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.5207, allocations: 4 kB / 0.7304 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.266e-05/0.5208, allocations: 19.94 kB / 0.7304 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.5208, allocations: 3.984 kB / 0.7304 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.98e-05/0.5209, allocations: 8 kB / 0.7304 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.5209, allocations: 8.188 kB / 0.7304 GB, free: 5.977 MB / 0.545 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 8.079e-05/0.521, allocations: 125.7 kB / 0.7305 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.521, allocations: 0 / 0.7305 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.5211, allocations: 11.56 kB / 0.7306 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5211, allocations: 0 / 0.7306 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.5211, allocations: 0 / 0.7306 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.5211, allocations: 7.938 kB / 0.7306 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.5214, allocations: 182.2 kB / 0.7307 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5214, allocations: 3.938 kB / 0.7307 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.892e-05/0.5215, allocations: 15.98 kB / 0.7308 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.5216, allocations: 8 kB / 0.7308 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.5216, allocations: 0 / 0.7308 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5216, allocations: 0 / 0.7308 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5216, allocations: 4 kB / 0.7308 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.5218, allocations: 329.9 kB / 0.7311 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.5219, allocations: 89.14 kB / 0.7312 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.5219, allocations: 7.984 kB / 0.7312 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.5221, allocations: 4 kB / 0.7312 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.5221, allocations: 4 kB / 0.7312 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.5222, allocations: 11.94 kB / 0.7312 GB, free: 5.094 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.986e-05/0.5222, allocations: 79.27 kB / 0.7313 GB, free: 5.016 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5222, allocations: 0 / 0.7313 GB, free: 5.016 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003192/0.5225, allocations: 16 kB / 0.7313 GB, free: 5 MB / 0.545 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.000135/0.5227, allocations: 107.2 kB / 0.7314 GB, free: 4.883 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.5228, allocations: 51.84 kB / 0.7314 GB, free: 4.832 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5228, allocations: 0 / 0.7314 GB, free: 4.832 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.85e-05/0.5228, allocations: 19.98 kB / 0.7314 GB, free: 4.812 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.5233, allocations: 4 kB / 0.7315 GB, free: 4.809 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000593/0.5239, allocations: 354.3 kB / 0.7318 GB, free: 4.434 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.5241, allocations: 0.6809 MB / 0.7325 GB, free: 3.727 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.955e-05/0.5242, allocations: 11.98 kB / 0.7325 GB, free: 3.715 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.5242, allocations: 11.44 kB / 0.7325 GB, free: 3.703 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.5242, allocations: 0 / 0.7325 GB, free: 3.703 MB / 0.545 GB Notification: Performance of Templates: time 0.002765/0.527, allocations: 0.6099 MB / 0.7331 GB, free: 3.129 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)