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.001279/0.001279, allocations: 108 kB / 16.64 MB, free: 6.828 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.001315/0.001315, allocations: 197.9 kB / 17.57 MB, free: 5.938 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.359/1.359, allocations: 222.9 MB / 241.2 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7988/0.7988, allocations: 122.9 MB / 414.3 MB, free: 84 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 71.88 kB / 0.4912 GB, free: 7.828 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3732, allocations: 77.92 MB / 0.5673 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.1942/0.5675, allocations: 184.3 MB / 0.7473 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3577/0.9252, allocations: 4.525 MB / 0.7518 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.9265, allocations: 27.94 kB / 0.7518 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.9277, allocations: 364.3 kB / 0.7521 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003581/0.9313, allocations: 1.266 MB / 0.7534 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.9337, allocations: 0.6875 MB / 0.754 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003399/0.9371, allocations: 1.958 MB / 0.756 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.9384, allocations: 0.639 MB / 0.7566 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00416/0.9426, allocations: 1.071 MB / 0.7576 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.9443, allocations: 0.6254 MB / 0.7582 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.9445, allocations: 66.5 kB / 0.7583 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003361/0.9479, allocations: 1.435 MB / 0.7597 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004565/0.9483, allocations: 287.6 kB / 0.76 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007951/0.9491, allocations: 416.5 kB / 0.7604 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.9515, allocations: 1.09 MB / 0.7614 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.9515, allocations: 4.656 kB / 0.7614 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9515, allocations: 0 / 0.7614 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.954e-05/0.9516, allocations: 0.7188 kB / 0.7614 GB, free: 1.582 MB / 0.5762 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.002475/0.954, allocations: 1.094 MB / 0.7625 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.9541, allocations: 9.281 kB / 0.7625 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.9556, allocations: 205.4 kB / 0.7627 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.9566, allocations: 0.5825 MB / 0.7633 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.234e-05/0.9567, allocations: 39.44 kB / 0.7633 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.9568, allocations: 55.09 kB / 0.7634 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.958, allocations: 0.6261 MB / 0.764 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.958, allocations: 3 kB / 0.764 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.494e-05/0.958, allocations: 21.7 kB / 0.764 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.792e-05/0.9581, allocations: 18.41 kB / 0.764 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008352/0.9589, allocations: 0.492 MB / 0.7645 GB, free: 16.53 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.003259/0.9622, allocations: 2.396 MB / 0.7668 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006374/0.9629, allocations: 360.2 kB / 0.7672 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.9632, allocations: 215.3 kB / 0.7674 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000628/0.9638, allocations: 308.4 kB / 0.7677 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.9638, allocations: 37.31 kB / 0.7677 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.805e-06/0.9639, allocations: 1.125 kB / 0.7677 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001293/0.9652, allocations: 0.5484 MB / 0.7683 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.9652, allocations: 64.47 kB / 0.7683 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006526/0.9659, allocations: 0.4981 MB / 0.7688 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/0.966, allocations: 37.16 kB / 0.7688 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.9662, allocations: 314.8 kB / 0.7691 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.9663, allocations: 131.4 kB / 0.7693 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.9665, allocations: 85.73 kB / 0.7694 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001949/0.9667, allocations: 364.7 kB / 0.7697 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.967, allocations: 153.4 kB / 0.7698 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.9673, allocations: 257.6 kB / 0.7701 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005964/0.9679, allocations: 410.5 kB / 0.7705 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.968, allocations: 1.031 kB / 0.7705 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008617/0.9688, allocations: 492.8 kB / 0.771 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.9689, allocations: 7 kB / 0.771 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.9689, allocations: 2.719 kB / 0.771 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.9689, allocations: 5.188 kB / 0.771 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/0.9695, allocations: 102.4 kB / 0.7711 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004382/0.97, allocations: 0.5969 MB / 0.7717 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008025/0.9708, allocations: 79.8 kB / 0.7717 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/0.9709, allocations: 16.31 kB / 0.7717 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005114/0.9714, allocations: 330.4 kB / 0.7721 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003492/0.9717, allocations: 257.8 kB / 0.7723 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005822/0.9723, allocations: 403.6 kB / 0.7727 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.187e-06/0.9723, allocations: 1.062 kB / 0.7727 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008062/0.9732, allocations: 481.5 kB / 0.7731 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.9732, allocations: 16.25 kB / 0.7732 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.9732, allocations: 2.875 kB / 0.7732 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.832e-06/0.9732, allocations: 5.062 kB / 0.7732 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.9736, allocations: 88.84 kB / 0.7733 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.9736, allocations: 8.25 kB / 0.7733 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007253/0.9743, allocations: 69.39 kB / 0.7733 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.9744, allocations: 16.62 kB / 0.7733 GB, free: 12.79 MB / 0.5919 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.0002192/0.9746, allocations: 211.7 kB / 0.7735 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.9747, allocations: 61.75 kB / 0.7736 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006987/0.9754, allocations: 443.8 kB / 0.774 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.9755, allocations: 4.312 kB / 0.774 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.9755, allocations: 0.9688 kB / 0.774 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006153/0.9761, allocations: 0.66 MB / 0.7747 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.978, allocations: 1.205 MB / 0.7759 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.9781, allocations: 2.344 kB / 0.7759 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004977/0.9786, allocations: 93.25 kB / 0.7759 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.607e-06/0.9786, allocations: 8.391 kB / 0.776 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/0.9786, allocations: 16.39 kB / 0.776 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003342/0.979, allocations: 0.5895 MB / 0.7765 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.979, allocations: 6.766 kB / 0.7766 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008546/0.9799, allocations: 0.7039 MB / 0.7772 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.9802, allocations: 183.2 kB / 0.7774 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.9803, allocations: 10.41 kB / 0.7774 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005627/0.9809, allocations: 44.3 kB / 0.7775 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.981, allocations: 27.64 kB / 0.7775 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.981, allocations: 15.02 kB / 0.7775 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004027/0.9814, allocations: 359 kB / 0.7779 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9814, allocations: 1.203 kB / 0.7779 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001216/0.9826, allocations: 343.3 kB / 0.7782 GB, free: 10.61 MB / 0.5919 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.0005636/0.9832, allocations: 193.3 kB / 0.7784 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.9845, allocations: 0.627 MB / 0.779 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/0.9846, allocations: 4.125 kB / 0.779 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.9849, allocations: 191.8 kB / 0.7792 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.9867, allocations: 361.3 kB / 0.7795 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.9894, allocations: 1.625 MB / 0.7811 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/0.99, allocations: 0.9352 MB / 0.782 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.9902, allocations: 56.27 kB / 0.7821 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of SimCode: time 8.21e-07/0.9902, allocations: 0.9062 kB / 0.7821 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of Templates: time 0.02019/1.01, allocations: 12.62 MB / 0.7944 GB, free: 7.582 MB / 0.5919 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)