Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction") translateModel(BuildingSystems.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7869/0.7869, allocations: 143.4 MB / 158.3 MB, free: 5.805 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001207, allocations: 177.1 kB / 191.5 MB, free: 5.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.2 MB / 447.7 MB, free: 4.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009419/0.0009418, allocations: 96.25 kB / 0.5188 GB, free: 1.129 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001832/0.001832, allocations: 279.7 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004211/0.0004211, allocations: 13.91 kB / 0.6929 GB, free: 59.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1711, allocations: 82.79 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.177/4.349, allocations: 1.889 GB / 2.663 GB, free: 138.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/4.349, allocations: 95.83 kB / 2.663 GB, free: 138.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.604/5.953, allocations: 488 MB / 3.14 GB, free: 156.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.084e-06/5.953, allocations: 3.938 kB / 3.14 GB, free: 156.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001184/5.953, allocations: 17.5 kB / 3.14 GB, free: 156.9 MB / 0.7136 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.003478/5.957, allocations: 1.098 MB / 3.141 GB, free: 156.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/5.957, allocations: 10.38 kB / 3.141 GB, free: 156.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/5.959, allocations: 202.2 kB / 3.141 GB, free: 156.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/5.961, allocations: 0.9077 MB / 3.142 GB, free: 156.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/5.961, allocations: 43.27 kB / 3.142 GB, free: 156.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/5.962, allocations: 60.94 kB / 3.142 GB, free: 156.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/5.963, allocations: 0.5918 MB / 3.142 GB, free: 156 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/5.963, allocations: 0 / 3.142 GB, free: 156 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.115e-05/5.963, allocations: 24.97 kB / 3.142 GB, free: 156 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/5.963, allocations: 20.91 kB / 3.142 GB, free: 156 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008696/5.964, allocations: 470 kB / 3.143 GB, free: 156 MB / 0.7136 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.003585/5.968, allocations: 2.393 MB / 3.145 GB, free: 154.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005216/5.968, allocations: 332.9 kB / 3.146 GB, free: 154.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005147/5.969, allocations: 300 kB / 3.146 GB, free: 154.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/5.969, allocations: 40.31 kB / 3.146 GB, free: 154.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 3.377e-06/5.969, allocations: 0 / 3.146 GB, free: 154.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36): time 0.00128/5.97, allocations: 0.5387 MB / 3.146 GB, free: 154.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/5.97, allocations: 55.38 kB / 3.146 GB, free: 154.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005976/5.971, allocations: 442 kB / 3.147 GB, free: 154.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/5.971, allocations: 36.67 kB / 3.147 GB, free: 154.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/5.971, allocations: 317.8 kB / 3.147 GB, free: 154 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/5.971, allocations: 133.2 kB / 3.147 GB, free: 153.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/5.971, allocations: 7.375 kB / 3.147 GB, free: 153.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001283/5.971, allocations: 363.3 kB / 3.148 GB, free: 153.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/5.972, allocations: 145.1 kB / 3.148 GB, free: 153.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/5.972, allocations: 279.3 kB / 3.148 GB, free: 153.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/5.972, allocations: 189.7 kB / 3.148 GB, free: 153.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/5.972, allocations: 3.969 kB / 3.148 GB, free: 153.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007143/5.973, allocations: 478.4 kB / 3.149 GB, free: 153.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002445/5.973, allocations: 0.8768 MB / 3.15 GB, free: 152.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/5.973, allocations: 6.031 kB / 3.15 GB, free: 152.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/5.973, allocations: 5.688 kB / 3.15 GB, free: 152.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005828/5.974, allocations: 93.83 kB / 3.15 GB, free: 152.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003235/5.974, allocations: 0.6009 MB / 3.15 GB, free: 151.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008067/5.975, allocations: 69.75 kB / 3.15 GB, free: 151.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.524e-05/5.975, allocations: 18.69 kB / 3.15 GB, free: 151.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/5.975, allocations: 5.031 kB / 3.15 GB, free: 151.9 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006275/5.976, allocations: 402 kB / 3.151 GB, free: 151.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/5.976, allocations: 0 / 3.151 GB, free: 151.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/5.976, allocations: 6.062 kB / 3.151 GB, free: 151.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/5.976, allocations: 91.3 kB / 3.151 GB, free: 151.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/5.976, allocations: 3.625 kB / 3.151 GB, free: 151.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007015/5.977, allocations: 70.36 kB / 3.151 GB, free: 151.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/5.977, allocations: 23.06 kB / 3.151 GB, free: 151.9 MB / 0.7136 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.0004853/5.977, allocations: 319.8 kB / 3.151 GB, free: 151.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/5.977, allocations: 52.91 kB / 3.151 GB, free: 151.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007752/5.978, allocations: 437.2 kB / 3.152 GB, free: 151.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/5.978, allocations: 3.344 kB / 3.152 GB, free: 151.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/5.978, allocations: 0 / 3.152 GB, free: 151.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005014/5.979, allocations: 0.6555 MB / 3.152 GB, free: 151.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/5.981, allocations: 1.199 MB / 3.154 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/5.981, allocations: 3.812 kB / 3.154 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000482/5.981, allocations: 95.3 kB / 3.154 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/5.981, allocations: 3.812 kB / 3.154 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/5.981, allocations: 17.42 kB / 3.154 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002268/5.982, allocations: 0.5928 MB / 3.154 GB, free: 150.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/5.982, allocations: 6.062 kB / 3.154 GB, free: 150.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008769/5.982, allocations: 0.8076 MB / 3.155 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003771/5.983, allocations: 179.7 kB / 3.155 GB, free: 149.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/5.983, allocations: 13.5 kB / 3.155 GB, free: 149.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000532/5.984, allocations: 39.31 kB / 3.155 GB, free: 149.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/5.984, allocations: 32 kB / 3.155 GB, free: 149.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/5.984, allocations: 11.5 kB / 3.155 GB, free: 149.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004132/5.984, allocations: 349.9 kB / 3.156 GB, free: 149.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/5.984, allocations: 0 / 3.156 GB, free: 149.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001734/5.986, allocations: 486.5 kB / 3.156 GB, free: 149.6 MB / 0.7136 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.002714/5.989, allocations: 1.38 MB / 3.157 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00121/5.99, allocations: 0.5773 MB / 3.158 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/5.99, allocations: 0 / 3.158 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000294/5.99, allocations: 184.4 kB / 3.158 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/5.992, allocations: 359.4 kB / 3.159 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/5.994, allocations: 1.648 MB / 3.16 GB, free: 148.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/5.995, allocations: 0.9556 MB / 3.161 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000827/5.996, allocations: 208.6 kB / 3.161 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/5.996, allocations: 49.09 kB / 3.161 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of SimCode: time 9.02e-07/5.996, allocations: 0 / 3.161 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of Templates: time 0.04276/6.039, allocations: 27.55 MB / 3.188 GB, free: 146.6 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)