Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5023/0.5023, allocations: 94.74 MB / 102 MB, free: 10.34 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00185/0.00185, allocations: 181.4 kB / 125.3 MB, free: 11.96 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.545/1.545, allocations: 170.5 MB / 319 MB, free: 9.391 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001735/0.001735, allocations: 117.6 kB / 381 MB, free: 18.13 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.047e-06/9.077e-06, allocations: 224 / 448.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1837, allocations: 61.52 MB / 0.4981 GB, free: 4.504 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.48/11.66, allocations: 5.263 GB / 5.761 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/11.67, allocations: 87.94 kB / 5.762 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.303/12.97, allocations: 406.4 MB / 6.158 GB, free: 29.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.331e-05/12.97, allocations: 26.5 kB / 6.158 GB, free: 29.18 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.002268/12.97, allocations: 1.14 MB / 6.16 GB, free: 27.99 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/12.97, allocations: 12.03 kB / 6.16 GB, free: 27.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004019/12.97, allocations: 106.9 kB / 6.16 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05876/13.03, allocations: 22.58 MB / 6.182 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.1e-05/13.03, allocations: 23.91 kB / 6.182 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/13.03, allocations: 51.92 kB / 6.182 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001391/13.03, allocations: 0.7561 MB / 6.182 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/13.03, allocations: 0.7157 MB / 6.183 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/13.03, allocations: 0 / 6.183 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.286e-05/13.03, allocations: 4 kB / 6.183 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/13.03, allocations: 16 kB / 6.183 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004915/13.04, allocations: 2.909 MB / 6.186 GB, free: 400 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/13.04, allocations: 359.9 kB / 6.186 GB, free: 32 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2842/13.32, allocations: 223.8 kB / 6.187 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005804/13.32, allocations: 298.9 kB / 6.187 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/13.32, allocations: 39.5 kB / 6.187 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 3.747e-06/13.32, allocations: 3.75 kB / 6.187 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.007146/13.33, allocations: 2.417 MB / 6.189 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/13.33, allocations: 58.83 kB / 6.189 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006361/13.33, allocations: 0.5092 MB / 6.19 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.897e-05/13.33, allocations: 29.67 kB / 6.19 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/13.33, allocations: 331.7 kB / 6.19 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/13.33, allocations: 172.2 kB / 6.19 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/13.33, allocations: 3.906 kB / 6.19 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000103/13.33, allocations: 369.7 kB / 6.191 GB, free: 126 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/13.33, allocations: 278.8 kB / 6.191 GB, free: 126 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/13.33, allocations: 431.1 kB / 6.191 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/13.33, allocations: 0.4915 MB / 6.192 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/13.33, allocations: 0 / 6.192 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002263/13.34, allocations: 1.075 MB / 6.193 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003477/13.34, allocations: 1.309 MB / 6.194 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/13.34, allocations: 2.719 kB / 6.194 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005164/13.34, allocations: 140.1 kB / 6.194 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009389/13.34, allocations: 174.9 kB / 6.195 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006244/13.34, allocations: 3.391 MB / 6.198 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009313/13.35, allocations: 58.02 kB / 6.198 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.367e-05/13.35, allocations: 35.09 kB / 6.198 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/13.35, allocations: 4.938 kB / 6.198 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00235/13.35, allocations: 1.082 MB / 6.199 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/13.35, allocations: 4.594 kB / 6.199 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004536/13.35, allocations: 134.6 kB / 6.199 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006619/13.35, allocations: 157.2 kB / 6.199 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/13.35, allocations: 1.844 MB / 6.201 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007172/13.35, allocations: 55.06 kB / 6.201 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.26e-05/13.35, allocations: 40.06 kB / 6.201 GB, free: 120.8 MB / 0.5261 GB Warning: Assuming fixed start value for the following 3 variables: vol.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = vol.dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real vol.dynBal.medium.Xi[1]:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))))) max = min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, 1.0))))))))))))) start = 0.01 unit = "1" nominal = 0.1 stateSelect=StateSelect.prefer protected = true ) "Structurally independent mass fractions" type: Real [1] vol.dynBal.medium.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))))) max = min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, 100000000.0)))))))))))) start = 101325.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (senMasFra2.i_x,senMasFra1.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004525/13.35, allocations: 249.7 kB / 6.201 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/13.35, allocations: 62.38 kB / 6.201 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/13.35, allocations: 0.8918 MB / 6.202 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/13.35, allocations: 5.781 kB / 6.202 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.838e-05/13.35, allocations: 0.7188 kB / 6.202 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/13.35, allocations: 6.828 kB / 6.202 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003462/13.36, allocations: 1.665 MB / 6.204 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/13.36, allocations: 0 / 6.204 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007745/13.36, allocations: 132.3 kB / 6.204 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000755/13.36, allocations: 150.5 kB / 6.204 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.124e-05/13.36, allocations: 10.95 kB / 6.204 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/13.36, allocations: 2.097 MB / 6.206 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/13.36, allocations: 0 / 6.206 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002149/13.36, allocations: 1.154 MB / 6.207 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004398/13.36, allocations: 237.1 kB / 6.208 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/13.36, allocations: 6.594 kB / 6.208 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006348/13.36, allocations: 39.97 kB / 6.208 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/13.37, allocations: 36.92 kB / 6.208 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.909e-05/13.37, allocations: 35.95 kB / 6.208 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0004533/13.37, allocations: 394 kB / 6.208 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003065/13.37, allocations: 0.7554 MB / 6.209 GB, free: 118.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (vol.dynBal.medium.p,vol.dynBal.medium.Xi[1],vol.dynBal.medium.T,senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003251/13.37, allocations: 1.578 MB / 6.21 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002916/13.37, allocations: 1.498 MB / 6.212 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/13.37, allocations: 0 / 6.212 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000935/13.38, allocations: 478.1 kB / 6.212 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/13.38, allocations: 312.1 kB / 6.213 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/13.38, allocations: 1.394 MB / 6.214 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00072/13.38, allocations: 1.108 MB / 6.215 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.172e-06/13.38, allocations: 0 / 6.215 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.04719/13.43, allocations: 29.86 MB / 6.244 GB, free: 116 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)