Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction") translateModel(IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 117.7 kB / 17.08 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 200.2 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7556/0.7556, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 65.45 kB / 0.5584 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1623, allocations: 76.18 MB / 0.6327 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.6628/0.8251, allocations: 186.8 MB / 0.8151 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009973/0.8352, allocations: 4.571 MB / 0.8196 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002043/0.8372, allocations: 32.44 kB / 0.8196 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001952/0.8392, allocations: 405.2 kB / 0.82 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004791/0.8441, allocations: 1.348 MB / 0.8213 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.8466, allocations: 0.7585 MB / 0.8221 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003021/0.8497, allocations: 1.954 MB / 0.824 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.8509, allocations: 0.6588 MB / 0.8246 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003479/0.8544, allocations: 1.098 MB / 0.8257 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.8558, allocations: 0.5821 MB / 0.8263 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002289/0.856, allocations: 65.72 kB / 0.8263 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003212/0.8593, allocations: 1.381 MB / 0.8277 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004453/0.8597, allocations: 291.8 kB / 0.828 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008888/0.8606, allocations: 415.4 kB / 0.8284 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003334/0.864, allocations: 1.479 MB / 0.8298 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.864, allocations: 0 / 0.8298 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.864, allocations: 0 / 0.8298 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.754e-05/0.864, allocations: 4 kB / 0.8298 GB, free: 4.234 MB / 0.5919 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.002361/0.8664, allocations: 1.096 MB / 0.8309 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.8664, allocations: 9.812 kB / 0.8309 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.8679, allocations: 207.9 kB / 0.8311 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.8691, allocations: 0.6057 MB / 0.8317 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.8692, allocations: 44.16 kB / 0.8317 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.8693, allocations: 55.25 kB / 0.8318 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.8704, allocations: 0.6166 MB / 0.8324 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.8704, allocations: 3.984 kB / 0.8324 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.589e-05/0.8704, allocations: 24.56 kB / 0.8324 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/0.8705, allocations: 27.09 kB / 0.8324 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008159/0.8713, allocations: 0.4885 MB / 0.8329 GB, free: 2.109 MB / 0.5919 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.003106/0.8744, allocations: 2.391 MB / 0.8352 GB, free: 36 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006214/0.8751, allocations: 371.5 kB / 0.8356 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.8754, allocations: 217.6 kB / 0.8358 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000564/0.8759, allocations: 304.8 kB / 0.8361 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.876, allocations: 43.5 kB / 0.8361 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.365e-06/0.876, allocations: 0 / 0.8361 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.001152/0.8772, allocations: 0.5455 MB / 0.8367 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.8772, allocations: 53.5 kB / 0.8367 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006159/0.8778, allocations: 0.5062 MB / 0.8372 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.8779, allocations: 38.11 kB / 0.8372 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.8781, allocations: 318.4 kB / 0.8375 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.8783, allocations: 124.2 kB / 0.8377 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.8784, allocations: 87.72 kB / 0.8377 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.8786, allocations: 363.4 kB / 0.8381 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.8788, allocations: 154.9 kB / 0.8382 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.8792, allocations: 262.2 kB / 0.8385 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/0.8797, allocations: 407.7 kB / 0.8389 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.8797, allocations: 0 / 0.8389 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007357/0.8805, allocations: 484.1 kB / 0.8393 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.8805, allocations: 5.062 kB / 0.8393 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.8805, allocations: 3.375 kB / 0.8394 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.8805, allocations: 4.844 kB / 0.8394 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005585/0.8811, allocations: 110.5 kB / 0.8395 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004018/0.8815, allocations: 0.6012 MB / 0.84 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00055/0.8821, allocations: 48.95 kB / 0.8401 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.8821, allocations: 12.28 kB / 0.8401 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004252/0.8825, allocations: 331.4 kB / 0.8404 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002959/0.8828, allocations: 255.2 kB / 0.8407 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004941/0.8833, allocations: 409.3 kB / 0.8411 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.178e-06/0.8834, allocations: 0 / 0.8411 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.000688/0.8841, allocations: 493.3 kB / 0.8415 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.8841, allocations: 6.906 kB / 0.8415 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.8841, allocations: 4.031 kB / 0.8415 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.665e-06/0.8841, allocations: 6.656 kB / 0.8415 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.8844, allocations: 82.19 kB / 0.8416 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.8844, allocations: 2.344 kB / 0.8416 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005021/0.8849, allocations: 35.92 kB / 0.8417 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.885, allocations: 17.03 kB / 0.8417 GB, free: 11.47 MB / 0.6075 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001774/0.8852, allocations: 215.9 kB / 0.8419 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.8853, allocations: 59.06 kB / 0.8419 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007172/0.886, allocations: 443.2 kB / 0.8424 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.886, allocations: 2.875 kB / 0.8424 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.8861, allocations: 0 / 0.8424 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005896/0.8866, allocations: 0.6607 MB / 0.843 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.8883, allocations: 1.202 MB / 0.8442 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.8884, allocations: 0 / 0.8442 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/0.8888, allocations: 86.08 kB / 0.8443 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.8888, allocations: 13.52 kB / 0.8443 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.8889, allocations: 9.031 kB / 0.8443 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002943/0.8892, allocations: 0.5923 MB / 0.8449 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.8892, allocations: 2.781 kB / 0.8449 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008604/0.8901, allocations: 0.7153 MB / 0.8456 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002556/0.8903, allocations: 178.6 kB / 0.8457 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-05/0.8904, allocations: 12.75 kB / 0.8457 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.8908, allocations: 17.66 kB / 0.8458 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.8909, allocations: 26.06 kB / 0.8458 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.8909, allocations: 14.11 kB / 0.8458 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003981/0.8913, allocations: 359.2 kB / 0.8461 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8913, allocations: 0 / 0.8461 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009662/0.8923, allocations: 350.6 kB / 0.8465 GB, free: 7.922 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005008/0.8928, allocations: 208.1 kB / 0.8467 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001197/0.894, allocations: 0.5854 MB / 0.8472 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.894, allocations: 0 / 0.8472 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.8943, allocations: 189.2 kB / 0.8474 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.896, allocations: 369.6 kB / 0.8478 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.8982, allocations: 1.376 MB / 0.8491 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005556/0.8988, allocations: 0.9375 MB / 0.85 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.899, allocations: 59.42 kB / 0.8501 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.899, allocations: 0 / 0.8501 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of Templates: time 0.01863/0.9176, allocations: 12.68 MB / 0.8625 GB, free: 7.562 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)