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.001214/0.001214, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001189/0.001189, allocations: 192.8 kB / 16.25 MB, free: 6.629 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.406/1.406, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.776/2.776, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001319, allocations: 64.02 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3269, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002441/0.3294, allocations: 1.323 MB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003493/0.3329, allocations: 2.48 MB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.777e-05/0.333, allocations: 0 / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.333, allocations: 3.938 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.395e-05/0.3331, allocations: 7.984 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.3337, allocations: 123.5 kB / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.61e-05/0.3338, allocations: 39.78 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.3339, allocations: 4 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.038e-05/0.3339, allocations: 15.98 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.544e-05/0.334, allocations: 23.91 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.334, allocations: 0 / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003343/0.3344, allocations: 119.8 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.3344, allocations: 11.97 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.3344, allocations: 11.94 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.3346, allocations: 84.06 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3346, allocations: 0 / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3347, allocations: 0 / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.3347, allocations: 0 / 1.072 GB, free: 6.52 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.0004161/0.3351, allocations: 347.6 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3351, allocations: 8.031 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002347/0.3354, allocations: 28.75 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.3355, allocations: 172.3 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3355, allocations: 4.375 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.3356, allocations: 4.375 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.3357, allocations: 72.38 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3357, allocations: 0 / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3357, allocations: 3.938 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.3358, allocations: 8 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.516e-05/0.3358, allocations: 11.94 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006216/0.3364, allocations: 466.8 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.3366, allocations: 75.72 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.3366, allocations: 22.72 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.3367, allocations: 3.938 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.3367, allocations: 38.56 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.3367, allocations: 4 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006218/0.3373, allocations: 298.5 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.3374, allocations: 106.8 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.141e-05/0.3375, allocations: 97.8 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3375, allocations: 33.7 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.3375, allocations: 84.3 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.3376, allocations: 39.55 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.3376, allocations: 25.72 kB / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3377, allocations: 318.8 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.796e-05/0.3378, allocations: 12 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.514e-05/0.3378, allocations: 57.08 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.855e-05/0.3379, allocations: 73.08 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3379, allocations: 0 / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001267/0.3381, allocations: 93.55 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3381, allocations: 4 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3381, allocations: 8.125 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3381, allocations: 0 / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.805e-05/0.3382, allocations: 23.92 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.3382, allocations: 4 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.796e-05/0.3382, allocations: 4 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.3383, allocations: 4 kB / 1.074 GB, free: 3.652 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 8.412e-05/0.3384, allocations: 123.5 kB / 1.074 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.707e-05/0.3384, allocations: 7.906 kB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.3385, allocations: 11.56 kB / 1.074 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3385, allocations: 4 kB / 1.074 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3385, allocations: 0 / 1.074 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3385, allocations: 0 / 1.074 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.3388, allocations: 177.6 kB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3388, allocations: 3.938 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.894e-05/0.3389, allocations: 31.98 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3389, allocations: 0 / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.3389, allocations: 4 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3389, allocations: 0 / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.339, allocations: 0 / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.3392, allocations: 329.9 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.491e-05/0.3393, allocations: 89.14 kB / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.3393, allocations: 0 / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.3395, allocations: 8.359 kB / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.3395, allocations: 0 / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.3395, allocations: 19.92 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.609e-05/0.3396, allocations: 83.27 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3396, allocations: 0 / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003066/0.3399, allocations: 8 kB / 1.075 GB, free: 2.676 MB / 0.8262 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.0001588/0.3401, allocations: 107.2 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.3402, allocations: 48.11 kB / 1.075 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3402, allocations: 4 kB / 1.075 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.657e-05/0.3402, allocations: 19.98 kB / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.3407, allocations: 5.828 kB / 1.075 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006392/0.3413, allocations: 360.1 kB / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.3416, allocations: 0.6807 MB / 1.076 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.844e-05/0.3417, allocations: 15.77 kB / 1.076 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.3417, allocations: 11.44 kB / 1.076 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3417, allocations: 0 / 1.076 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of Templates: time 0.003057/0.3448, allocations: 0.6334 MB / 1.077 GB, free: 0.7695 MB / 0.8262 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)