Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.809/1.809, allocations: 292.6 MB / 307.5 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 187.7 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.4 MB / 0.6367 GB, free: 8.629 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009195/0.0009191, allocations: 88.14 kB / 0.751 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004293/0.0004294, allocations: 16 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3313, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.913/6.245, allocations: 2.084 GB / 3.073 GB, free: 97.51 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/6.245, allocations: 89.17 kB / 3.073 GB, free: 97.46 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.103/8.348, allocations: 481.6 MB / 3.543 GB, free: 180.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.182e-06/8.348, allocations: 3.281 kB / 3.543 GB, free: 180.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.293e-05/8.349, allocations: 24.45 kB / 3.543 GB, free: 180.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002332/8.351, allocations: 1.09 MB / 3.544 GB, free: 180.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/8.351, allocations: 9.188 kB / 3.544 GB, free: 180.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/8.352, allocations: 203.9 kB / 3.545 GB, free: 180 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/8.355, allocations: 0.9034 MB / 3.545 GB, free: 179.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.396e-05/8.355, allocations: 43.56 kB / 3.545 GB, free: 179.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/8.355, allocations: 54.12 kB / 3.545 GB, free: 179.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/8.356, allocations: 0.5949 MB / 3.546 GB, free: 179.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/8.356, allocations: 0.8594 kB / 3.546 GB, free: 179.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.868e-05/8.356, allocations: 24.42 kB / 3.546 GB, free: 179.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.701e-05/8.356, allocations: 19.62 kB / 3.546 GB, free: 179.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009511/8.357, allocations: 473.7 kB / 3.547 GB, free: 179.7 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004263/8.361, allocations: 2.404 MB / 3.549 GB, free: 178.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007974/8.362, allocations: 325.3 kB / 3.549 GB, free: 178.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006526/8.363, allocations: 302.7 kB / 3.55 GB, free: 178.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/8.363, allocations: 42.83 kB / 3.55 GB, free: 178.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.667e-06/8.363, allocations: 0 / 3.55 GB, free: 178.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001677/8.365, allocations: 0.5284 MB / 3.55 GB, free: 178.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/8.365, allocations: 62.72 kB / 3.55 GB, free: 178 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007756/8.366, allocations: 440 kB / 3.551 GB, free: 177.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/8.366, allocations: 36.66 kB / 3.551 GB, free: 177.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/8.366, allocations: 316.8 kB / 3.551 GB, free: 177.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/8.366, allocations: 133.1 kB / 3.551 GB, free: 177.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/8.366, allocations: 5.969 kB / 3.551 GB, free: 177.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001957/8.366, allocations: 366.1 kB / 3.551 GB, free: 177.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/8.367, allocations: 142.1 kB / 3.552 GB, free: 177.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004548/8.367, allocations: 289.1 kB / 3.552 GB, free: 177.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/8.367, allocations: 184 kB / 3.552 GB, free: 177.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/8.367, allocations: 0 / 3.552 GB, free: 177.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009092/8.368, allocations: 482.8 kB / 3.552 GB, free: 177.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002748/8.369, allocations: 0.8785 MB / 3.553 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/8.369, allocations: 2.875 kB / 3.553 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/8.369, allocations: 5.031 kB / 3.553 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/8.369, allocations: 94 kB / 3.553 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003804/8.37, allocations: 0.5984 MB / 3.554 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007805/8.371, allocations: 72.27 kB / 3.554 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-05/8.371, allocations: 21.52 kB / 3.554 GB, free: 175.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/8.371, allocations: 5.531 kB / 3.554 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008928/8.372, allocations: 398.1 kB / 3.554 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/8.372, allocations: 2.031 kB / 3.554 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/8.372, allocations: 7.781 kB / 3.554 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/8.372, allocations: 85.39 kB / 3.555 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/8.372, allocations: 7.047 kB / 3.555 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005313/8.373, allocations: 70.17 kB / 3.555 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/8.373, allocations: 18.95 kB / 3.555 GB, free: 175.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (49): * Single equations (assignments): 48 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0004952/8.373, allocations: 311 kB / 3.555 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/8.373, allocations: 55.88 kB / 3.555 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009413/8.374, allocations: 445.2 kB / 3.555 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/8.374, allocations: 7.516 kB / 3.555 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/8.374, allocations: 1.812 kB / 3.555 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008032/8.375, allocations: 0.6471 MB / 3.556 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/8.378, allocations: 1.199 MB / 3.557 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/8.378, allocations: 2 kB / 3.557 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005121/8.378, allocations: 94.95 kB / 3.557 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.425e-06/8.378, allocations: 3.812 kB / 3.557 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/8.378, allocations: 13.03 kB / 3.557 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000246/8.379, allocations: 0.5942 MB / 3.558 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/8.379, allocations: 1.469 kB / 3.558 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/8.38, allocations: 0.8179 MB / 3.559 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003273/8.38, allocations: 185.8 kB / 3.559 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.837e-05/8.38, allocations: 9.125 kB / 3.559 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/8.381, allocations: 40.72 kB / 3.559 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/8.381, allocations: 25.94 kB / 3.559 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/8.381, allocations: 13.95 kB / 3.559 GB, free: 173.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005595/8.381, allocations: 351.1 kB / 3.559 GB, free: 173.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/8.381, allocations: 1.062 kB / 3.559 GB, free: 173.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001899/8.383, allocations: 490.5 kB / 3.56 GB, free: 173.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senMasFra1.X) * 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 (35): * Single equations (assignments): 34 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.002675/8.386, allocations: 1.371 MB / 3.561 GB, free: 173 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001315/8.387, allocations: 0.575 MB / 3.562 GB, free: 173 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/8.387, allocations: 0 / 3.562 GB, free: 173 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002912/8.387, allocations: 189.3 kB / 3.562 GB, free: 173 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/8.389, allocations: 355.5 kB / 3.562 GB, free: 173 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/8.391, allocations: 1.669 MB / 3.564 GB, free: 172.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/8.392, allocations: 0.9581 MB / 3.565 GB, free: 171.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006768/8.392, allocations: 206.1 kB / 3.565 GB, free: 171.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/8.392, allocations: 46.69 kB / 3.565 GB, free: 171.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.41e-07/8.392, allocations: 0 / 3.565 GB, free: 171.6 MB / 0.948 GB Notification: Performance of Templates: time 0.03823/8.431, allocations: 27.51 MB / 3.592 GB, free: 171.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)