Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8219/0.8219, allocations: 128.7 MB / 143.7 MB, free: 2.348 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001188/0.001188, allocations: 193.9 kB / 173.8 MB, free: 6.129 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.4 MB / 409 MB, free: 10.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 82.88 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004373, allocations: 10.25 kB / 0.5603 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1697, allocations: 76.76 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.809/4.979, allocations: 2.16 GB / 2.796 GB, free: 215.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/4.979, allocations: 95.16 kB / 2.796 GB, free: 215.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.531/6.51, allocations: 479.9 MB / 3.264 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.483e-06/6.51, allocations: 2.438 kB / 3.264 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.664e-05/6.51, allocations: 20.78 kB / 3.264 GB, free: 118.7 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002381/6.512, allocations: 1.141 MB / 3.265 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.65e-05/6.512, allocations: 10.58 kB / 3.265 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/6.513, allocations: 207.1 kB / 3.266 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/6.515, allocations: 0.6323 MB / 3.266 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.326e-05/6.515, allocations: 40 kB / 3.266 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/6.515, allocations: 61.81 kB / 3.266 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/6.516, allocations: 0.6366 MB / 3.267 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/6.516, allocations: 5.281 kB / 3.267 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.326e-05/6.517, allocations: 25.83 kB / 3.267 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-05/6.517, allocations: 22.66 kB / 3.267 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/6.518, allocations: 0.5284 MB / 3.268 GB, free: 117.8 MB / 0.6511 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.002725/6.52, allocations: 2.417 MB / 3.27 GB, free: 116.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007747/6.521, allocations: 414.8 kB / 3.27 GB, free: 116.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004525/6.522, allocations: 301.4 kB / 3.271 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/6.522, allocations: 45.55 kB / 3.271 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=38): time 3.006e-06/6.522, allocations: 0 / 3.271 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38): time 0.001606/6.523, allocations: 0.6492 MB / 3.271 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/6.523, allocations: 57.86 kB / 3.271 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004477/6.524, allocations: 440.1 kB / 3.272 GB, free: 116 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/6.524, allocations: 36.05 kB / 3.272 GB, free: 116 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/6.524, allocations: 319.2 kB / 3.272 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/6.524, allocations: 140 kB / 3.272 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/6.524, allocations: 7.188 kB / 3.272 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.049e-05/6.524, allocations: 366.6 kB / 3.273 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/6.525, allocations: 187.4 kB / 3.273 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003891/6.525, allocations: 295.5 kB / 3.273 GB, free: 115.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004135/6.526, allocations: 287.9 kB / 3.273 GB, free: 115.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/6.526, allocations: 3.906 kB / 3.273 GB, free: 115.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001062/6.527, allocations: 0.6267 MB / 3.274 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002361/6.527, allocations: 0.8458 MB / 3.275 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/6.527, allocations: 3.406 kB / 3.275 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/6.527, allocations: 3.906 kB / 3.275 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/6.528, allocations: 189.8 kB / 3.275 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007025/6.529, allocations: 0.6585 MB / 3.276 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007245/6.53, allocations: 86.44 kB / 3.276 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.997e-05/6.53, allocations: 21.3 kB / 3.276 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/6.53, allocations: 5.656 kB / 3.276 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008775/6.531, allocations: 0.5359 MB / 3.276 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/6.531, allocations: 6.031 kB / 3.276 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.773e-06/6.531, allocations: 7.312 kB / 3.276 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/6.531, allocations: 100.2 kB / 3.276 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/6.531, allocations: 5.234 kB / 3.276 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/6.532, allocations: 67.3 kB / 3.276 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/6.532, allocations: 24.34 kB / 3.276 GB, free: 113.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (senMasFra2.i_x,senMasFra1.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * 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: 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.0004601/6.532, allocations: 314.1 kB / 3.277 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.366e-05/6.532, allocations: 61.66 kB / 3.277 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/6.533, allocations: 493.1 kB / 3.277 GB, free: 113.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/6.533, allocations: 3.109 kB / 3.277 GB, free: 113.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/6.533, allocations: 3.812 kB / 3.277 GB, free: 113.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007596/6.534, allocations: 0.6973 MB / 3.278 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/6.536, allocations: 1.276 MB / 3.279 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/6.536, allocations: 0.5625 kB / 3.279 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/6.538, allocations: 194.4 kB / 3.279 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/6.538, allocations: 3.75 kB / 3.279 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/6.538, allocations: 19.64 kB / 3.279 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002288/6.54, allocations: 1.51 MB / 3.281 GB, free: 111.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/6.54, allocations: 3.75 kB / 3.281 GB, free: 111.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/6.541, allocations: 0.8726 MB / 3.282 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003319/6.542, allocations: 179.1 kB / 3.282 GB, free: 110.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.855e-05/6.542, allocations: 11.48 kB / 3.282 GB, free: 110.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005813/6.542, allocations: 60.38 kB / 3.282 GB, free: 110.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/6.543, allocations: 34.34 kB / 3.282 GB, free: 110.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/6.543, allocations: 15.89 kB / 3.282 GB, free: 110.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005113/6.543, allocations: 353.5 kB / 3.282 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/6.543, allocations: 0 / 3.282 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001723/6.545, allocations: 495.2 kB / 3.283 GB, free: 110.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (37): * Single equations (assignments): 36 * 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.002565/6.547, allocations: 1.404 MB / 3.284 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0026/6.55, allocations: 0.9698 MB / 3.285 GB, free: 110 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/6.55, allocations: 3.938 kB / 3.285 GB, free: 110 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/6.551, allocations: 292.9 kB / 3.285 GB, free: 110 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/6.553, allocations: 357.2 kB / 3.286 GB, free: 110 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/6.556, allocations: 1.722 MB / 3.287 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/6.556, allocations: 0.9518 MB / 3.288 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007715/6.557, allocations: 197 kB / 3.289 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/6.557, allocations: 54.88 kB / 3.289 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of SimCode: time 9.02e-07/6.557, allocations: 0 / 3.289 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of Templates: time 0.03997/6.597, allocations: 28.84 MB / 3.317 GB, free: 107.8 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)