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.001385/0.001385, allocations: 98.5 kB / 16.26 MB, free: 5.934 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.001569/0.001569, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.766/0.766, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 63.91 kB / 0.4911 GB, free: 7.438 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3863, allocations: 77.93 MB / 0.5672 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.539/0.9254, allocations: 186.8 MB / 0.7496 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007069/0.9325, allocations: 4.552 MB / 0.754 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.9336, allocations: 32.12 kB / 0.7541 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.935, allocations: 413.6 kB / 0.7545 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004469/0.9395, allocations: 1.343 MB / 0.7558 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.9422, allocations: 0.7494 MB / 0.7565 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003336/0.9455, allocations: 1.962 MB / 0.7584 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.9467, allocations: 0.6651 MB / 0.7591 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003227/0.95, allocations: 1.069 MB / 0.7601 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.9512, allocations: 0.5846 MB / 0.7607 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.9513, allocations: 64.91 kB / 0.7607 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003833/0.9552, allocations: 1.376 MB / 0.7621 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004788/0.9556, allocations: 286.6 kB / 0.7624 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007094/0.9564, allocations: 418.4 kB / 0.7628 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002517/0.9589, allocations: 1.459 MB / 0.7642 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9589, allocations: 0.7188 kB / 0.7642 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9589, allocations: 1 kB / 0.7642 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.9589, allocations: 0.9375 kB / 0.7642 GB, free: 1.508 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.001766/0.9607, allocations: 1.095 MB / 0.7653 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.9608, allocations: 9.969 kB / 0.7653 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.9621, allocations: 203.9 kB / 0.7655 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008715/0.9629, allocations: 0.5782 MB / 0.766 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.981e-05/0.963, allocations: 41.62 kB / 0.7661 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.571e-05/0.9631, allocations: 60.73 kB / 0.7661 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009499/0.9641, allocations: 0.6234 MB / 0.7667 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.9641, allocations: 0.875 kB / 0.7667 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.117e-05/0.9641, allocations: 22.31 kB / 0.7667 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.9642, allocations: 22.59 kB / 0.7668 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007644/0.9649, allocations: 0.4887 MB / 0.7672 GB, free: 16.46 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.002945/0.9679, allocations: 2.416 MB / 0.7696 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.9685, allocations: 363.2 kB / 0.77 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.9688, allocations: 212.2 kB / 0.7702 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006038/0.9695, allocations: 314.7 kB / 0.7705 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.9695, allocations: 34.53 kB / 0.7705 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 3.416e-06/0.9695, allocations: 0 / 0.7705 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001195/0.9707, allocations: 0.5565 MB / 0.771 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.9708, allocations: 58.16 kB / 0.7711 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005891/0.9714, allocations: 0.499 MB / 0.7716 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.9714, allocations: 35.36 kB / 0.7716 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.9716, allocations: 319.3 kB / 0.7719 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.9717, allocations: 124 kB / 0.772 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.9719, allocations: 87.09 kB / 0.7721 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.972, allocations: 366.4 kB / 0.7725 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.9723, allocations: 152 kB / 0.7726 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.9726, allocations: 260.2 kB / 0.7729 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/0.9732, allocations: 411.8 kB / 0.7732 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.9732, allocations: 1.406 kB / 0.7733 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007307/0.9739, allocations: 495.9 kB / 0.7737 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.9739, allocations: 4.344 kB / 0.7737 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.974, allocations: 7.031 kB / 0.7737 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.974, allocations: 7.344 kB / 0.7737 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/0.9745, allocations: 98.23 kB / 0.7738 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003505/0.9749, allocations: 0.5971 MB / 0.7744 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005493/0.9755, allocations: 48.06 kB / 0.7745 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.9755, allocations: 18.25 kB / 0.7745 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004444/0.976, allocations: 329 kB / 0.7748 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002841/0.9763, allocations: 257.8 kB / 0.775 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004888/0.9768, allocations: 401.6 kB / 0.7754 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.204e-06/0.9768, allocations: 0 / 0.7754 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006898/0.9775, allocations: 489.2 kB / 0.7759 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.9775, allocations: 6.844 kB / 0.7759 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.9775, allocations: 4.406 kB / 0.7759 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.17e-06/0.9775, allocations: 2.781 kB / 0.7759 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.9778, allocations: 90.48 kB / 0.776 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.9779, allocations: 6.125 kB / 0.776 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/0.9784, allocations: 34.56 kB / 0.776 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.9784, allocations: 16.5 kB / 0.776 GB, free: 12.71 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.0001971/0.9786, allocations: 216.7 kB / 0.7763 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.9787, allocations: 58.41 kB / 0.7763 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007076/0.9794, allocations: 448.8 kB / 0.7767 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.9795, allocations: 5 kB / 0.7767 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.9795, allocations: 0.9062 kB / 0.7767 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005883/0.9801, allocations: 0.6566 MB / 0.7774 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.9818, allocations: 1.204 MB / 0.7786 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.9818, allocations: 3.734 kB / 0.7786 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004868/0.9823, allocations: 92.94 kB / 0.7786 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.9824, allocations: 3.406 kB / 0.7787 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.9824, allocations: 12.69 kB / 0.7787 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003749/0.9828, allocations: 0.5909 MB / 0.7792 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.9828, allocations: 4.25 kB / 0.7792 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.9838, allocations: 0.7105 MB / 0.7799 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003299/0.9842, allocations: 176 kB / 0.7801 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.522e-05/0.9843, allocations: 12.75 kB / 0.7801 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.9847, allocations: 15.7 kB / 0.7801 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.9847, allocations: 24.67 kB / 0.7802 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.9848, allocations: 16.44 kB / 0.7802 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004627/0.9852, allocations: 363 kB / 0.7805 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9852, allocations: 0 / 0.7805 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00108/0.9863, allocations: 344.2 kB / 0.7808 GB, free: 10.54 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.0004897/0.9868, allocations: 201.8 kB / 0.781 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001154/0.988, allocations: 0.6312 MB / 0.7817 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.988, allocations: 0 / 0.7817 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.9883, allocations: 190 kB / 0.7818 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.9899, allocations: 366.3 kB / 0.7822 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.992, allocations: 1.348 MB / 0.7835 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005107/0.9926, allocations: 0.9414 MB / 0.7844 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006994/0.9933, allocations: 201.8 kB / 0.7846 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.9934, allocations: 47.28 kB / 0.7847 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.9934, allocations: 0 / 0.7847 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of Templates: time 0.02355/1.017, allocations: 11.8 MB / 0.7962 GB, free: 7.867 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)