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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5764/0.5764, allocations: 94.78 MB / 102.2 MB, free: 10.15 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.00238/0.002379, allocations: 179.8 kB / 125.6 MB, free: 11.88 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.74/1.74, allocations: 170.6 MB / 319.4 MB, free: 9.324 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.001953/0.001952, allocations: 108.6 kB / 381.3 MB, free: 18.3 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.627e-05, allocations: 4 kB / 449.1 MB, free: 1.754 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.226, allocations: 61.52 MB / 0.4987 GB, free: 4.145 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.36/16.58, allocations: 5.263 GB / 5.762 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003511/16.58, allocations: 87.64 kB / 5.762 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.809/18.39, allocations: 402.1 MB / 6.155 GB, free: 84.05 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.516e-06/18.39, allocations: 0 / 6.155 GB, free: 84.05 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001716/18.39, allocations: 22.31 kB / 6.155 GB, free: 84.05 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.004831/18.4, allocations: 1.147 MB / 6.156 GB, free: 83.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.177e-05/18.4, allocations: 10.53 kB / 6.156 GB, free: 83.41 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/18.4, allocations: 100.7 kB / 6.156 GB, free: 83.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05206/18.45, allocations: 22.36 MB / 6.178 GB, free: 78.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/18.45, allocations: 21.62 kB / 6.178 GB, free: 78.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005441/18.45, allocations: 44.91 kB / 6.178 GB, free: 78.88 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002247/18.45, allocations: 0.759 MB / 6.179 GB, free: 78.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/18.46, allocations: 0.703 MB / 6.179 GB, free: 78.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/18.46, allocations: 0 / 6.179 GB, free: 78.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/18.46, allocations: 6.891 kB / 6.179 GB, free: 78.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/18.46, allocations: 13.84 kB / 6.179 GB, free: 78.34 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006695/18.46, allocations: 2.709 MB / 6.182 GB, free: 76.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008443/18.46, allocations: 464.2 kB / 6.182 GB, free: 76.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/18.46, allocations: 214.2 kB / 6.183 GB, free: 76.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004355/18.46, allocations: 292.5 kB / 6.183 GB, free: 76.17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/18.46, allocations: 42.38 kB / 6.183 GB, free: 76.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 4.038e-06/18.46, allocations: 0 / 6.183 GB, free: 76.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.007584/18.47, allocations: 2.403 MB / 6.185 GB, free: 74.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/18.47, allocations: 57.84 kB / 6.185 GB, free: 74.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/18.47, allocations: 0.4948 MB / 6.186 GB, free: 74.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001513/18.47, allocations: 29.33 kB / 6.186 GB, free: 74.57 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/18.47, allocations: 403.3 kB / 6.186 GB, free: 74.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/18.47, allocations: 174.1 kB / 6.186 GB, free: 74.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/18.47, allocations: 0 / 6.186 GB, free: 74.12 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001967/18.48, allocations: 370.1 kB / 6.187 GB, free: 73.78 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004991/18.48, allocations: 282 kB / 6.187 GB, free: 73.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/18.48, allocations: 415 kB / 6.187 GB, free: 73.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/18.48, allocations: 488.2 kB / 6.188 GB, free: 73.24 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/18.48, allocations: 0 / 6.188 GB, free: 73.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002568/18.48, allocations: 1.053 MB / 6.189 GB, free: 72.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005488/18.48, allocations: 1.364 MB / 6.19 GB, free: 71.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/18.48, allocations: 3.188 kB / 6.19 GB, free: 71.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/18.48, allocations: 137.4 kB / 6.19 GB, free: 71.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009395/18.48, allocations: 177 kB / 6.191 GB, free: 71.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006269/18.49, allocations: 3.462 MB / 6.194 GB, free: 68.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/18.49, allocations: 55 kB / 6.194 GB, free: 68.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/18.49, allocations: 37.48 kB / 6.194 GB, free: 68.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/18.49, allocations: 3.906 kB / 6.194 GB, free: 68.59 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002608/18.49, allocations: 1.061 MB / 6.195 GB, free: 68.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/18.49, allocations: 3.781 kB / 6.195 GB, free: 68.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004864/18.49, allocations: 137.5 kB / 6.195 GB, free: 68.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006602/18.49, allocations: 145.4 kB / 6.195 GB, free: 68.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/18.5, allocations: 1.868 MB / 6.197 GB, free: 66.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009602/18.5, allocations: 53.62 kB / 6.197 GB, free: 66.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/18.5, allocations: 38.92 kB / 6.197 GB, free: 66.61 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.0005765/18.5, allocations: 237.3 kB / 6.198 GB, free: 66.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/18.5, allocations: 65.7 kB / 6.198 GB, free: 66.44 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/18.5, allocations: 0.8565 MB / 6.198 GB, free: 66.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/18.5, allocations: 3.719 kB / 6.198 GB, free: 66.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/18.5, allocations: 3.719 kB / 6.198 GB, free: 66.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/18.5, allocations: 3.797 kB / 6.198 GB, free: 66.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/18.5, allocations: 1.637 MB / 6.2 GB, free: 65.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/18.5, allocations: 11.55 kB / 6.2 GB, free: 65.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007245/18.5, allocations: 130.3 kB / 6.2 GB, free: 65.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007634/18.51, allocations: 145.3 kB / 6.2 GB, free: 65.29 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.394e-05/18.51, allocations: 13.58 kB / 6.2 GB, free: 65.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/18.51, allocations: 2.105 MB / 6.202 GB, free: 63.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/18.51, allocations: 0 / 6.202 GB, free: 63.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/18.51, allocations: 1.117 MB / 6.203 GB, free: 62.79 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008436/18.51, allocations: 240.1 kB / 6.204 GB, free: 62.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000305/18.51, allocations: 8.062 kB / 6.204 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009931/18.51, allocations: 39.84 kB / 6.204 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/18.51, allocations: 45.98 kB / 6.204 GB, free: 62.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/18.51, allocations: 29.89 kB / 6.204 GB, free: 62.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009508/18.51, allocations: 390 kB / 6.204 GB, free: 62.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/18.51, allocations: 0 / 6.204 GB, free: 62.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00464/18.52, allocations: 0.7573 MB / 6.205 GB, free: 62.24 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.004113/18.52, allocations: 1.561 MB / 6.206 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003213/18.53, allocations: 1.597 MB / 6.208 GB, free: 60.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/18.53, allocations: 0 / 6.208 GB, free: 60.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009457/18.53, allocations: 477.2 kB / 6.208 GB, free: 60.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/18.53, allocations: 325.6 kB / 6.209 GB, free: 60.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00314/18.53, allocations: 1.337 MB / 6.21 GB, free: 59.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006055/18.53, allocations: 1.021 MB / 6.211 GB, free: 59.24 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001353/18.53, allocations: 298.5 kB / 6.211 GB, free: 59.19 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/18.53, allocations: 59.75 kB / 6.211 GB, free: 59.18 MB / 0.5261 GB Notification: Performance of SimCode: time 2.395e-06/18.53, allocations: 0 / 6.211 GB, free: 59.18 MB / 0.5261 GB Notification: Performance of Templates: time 0.04263/18.58, allocations: 26.22 MB / 6.237 GB, free: 38.23 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)