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.001208/0.001208, allocations: 113.8 kB / 17.04 MB, free: 5.355 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.001204/0.001204, allocations: 198.1 kB / 17.98 MB, free: 4.895 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.268/1.268, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6771/0.6771, allocations: 115.1 MB / 406.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.33, allocations: 76.14 MB / 0.5576 GB, free: 36.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.1771/0.5071, allocations: 186.8 MB / 0.74 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006689/0.5139, allocations: 4.563 MB / 0.7444 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007287/0.5146, allocations: 39.69 kB / 0.7445 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.5156, allocations: 409.5 kB / 0.7449 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002965/0.5186, allocations: 1.336 MB / 0.7462 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.5204, allocations: 0.7682 MB / 0.7469 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002374/0.5228, allocations: 1.965 MB / 0.7488 GB, free: 124 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.302/0.8248, allocations: 0.64 MB / 0.7494 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002973/0.8278, allocations: 1.073 MB / 0.7505 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.8289, allocations: 0.5909 MB / 0.7511 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.829, allocations: 65.91 kB / 0.7511 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.8316, allocations: 1.388 MB / 0.7525 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003963/0.832, allocations: 285.5 kB / 0.7528 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005476/0.8325, allocations: 413.8 kB / 0.7532 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002773/0.8353, allocations: 1.481 MB / 0.7546 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.8353, allocations: 1.828 kB / 0.7546 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8354, allocations: 0 / 0.7546 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.812e-05/0.8354, allocations: 0.75 kB / 0.7546 GB, free: 3.117 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.002184/0.8376, allocations: 1.099 MB / 0.7557 GB, free: 18.46 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.8376, allocations: 9.75 kB / 0.7557 GB, free: 18.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.839, allocations: 202.9 kB / 0.7559 GB, free: 18.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.8401, allocations: 0.6123 MB / 0.7565 GB, free: 18.15 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.8402, allocations: 38.78 kB / 0.7565 GB, free: 18.15 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.8403, allocations: 54.53 kB / 0.7566 GB, free: 18.15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.8414, allocations: 0.6235 MB / 0.7572 GB, free: 18.08 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.8414, allocations: 2.719 kB / 0.7572 GB, free: 18.08 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-05/0.8415, allocations: 21.19 kB / 0.7572 GB, free: 18.08 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.464e-05/0.8415, allocations: 19.34 kB / 0.7572 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008573/0.8424, allocations: 0.4937 MB / 0.7577 GB, free: 18.07 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.003428/0.8458, allocations: 2.396 MB / 0.76 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006606/0.8465, allocations: 355.1 kB / 0.7604 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/0.8469, allocations: 211.8 kB / 0.7606 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006167/0.8475, allocations: 311.8 kB / 0.7609 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.8475, allocations: 37.66 kB / 0.7609 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 1.933e-06/0.8475, allocations: 0 / 0.7609 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001163/0.8487, allocations: 0.5565 MB / 0.7615 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.8488, allocations: 55.94 kB / 0.7615 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006374/0.8494, allocations: 0.5038 MB / 0.762 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/0.8495, allocations: 33.59 kB / 0.762 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.8497, allocations: 317.2 kB / 0.7623 GB, free: 16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.8498, allocations: 131.9 kB / 0.7625 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.85, allocations: 78.31 kB / 0.7625 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.8502, allocations: 368.4 kB / 0.7629 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.8504, allocations: 152.6 kB / 0.763 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/0.8507, allocations: 259.6 kB / 0.7633 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005949/0.8514, allocations: 411.9 kB / 0.7637 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.8514, allocations: 1.906 kB / 0.7637 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008121/0.8522, allocations: 488.5 kB / 0.7641 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.8522, allocations: 8.719 kB / 0.7642 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.8522, allocations: 2.344 kB / 0.7642 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.8523, allocations: 4.094 kB / 0.7642 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005655/0.8528, allocations: 105.9 kB / 0.7643 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000388/0.8532, allocations: 0.5975 MB / 0.7648 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005261/0.8538, allocations: 46.97 kB / 0.7649 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.8538, allocations: 17.81 kB / 0.7649 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004585/0.8543, allocations: 328 kB / 0.7652 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003022/0.8546, allocations: 253.9 kB / 0.7655 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005334/0.8551, allocations: 405.8 kB / 0.7658 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.8551, allocations: 0.9688 kB / 0.7658 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007381/0.8559, allocations: 486.5 kB / 0.7663 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.8559, allocations: 11.5 kB / 0.7663 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.8559, allocations: 2.312 kB / 0.7663 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/0.8559, allocations: 4.938 kB / 0.7663 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/0.8563, allocations: 89.98 kB / 0.7664 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.8563, allocations: 6.312 kB / 0.7664 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004499/0.8568, allocations: 40.12 kB / 0.7665 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.8568, allocations: 16.75 kB / 0.7665 GB, free: 14.35 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.0001616/0.857, allocations: 204.2 kB / 0.7667 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.794e-05/0.8571, allocations: 62.22 kB / 0.7667 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007384/0.8578, allocations: 452.5 kB / 0.7672 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.8578, allocations: 3.062 kB / 0.7672 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.8578, allocations: 0.6562 kB / 0.7672 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007141/0.8586, allocations: 0.6561 MB / 0.7678 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.8605, allocations: 1.206 MB / 0.769 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.8605, allocations: 2.094 kB / 0.769 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004515/0.861, allocations: 91.7 kB / 0.7691 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.861, allocations: 4.734 kB / 0.7691 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.861, allocations: 8.844 kB / 0.7691 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003085/0.8613, allocations: 0.5956 MB / 0.7697 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.8613, allocations: 6.844 kB / 0.7697 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008864/0.8622, allocations: 0.7087 MB / 0.7704 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.8625, allocations: 181.3 kB / 0.7705 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.368e-05/0.8626, allocations: 10.8 kB / 0.7706 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/0.8629, allocations: 18.66 kB / 0.7706 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.863, allocations: 25.72 kB / 0.7706 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.863, allocations: 13.23 kB / 0.7706 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004119/0.8635, allocations: 359.5 kB / 0.7709 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8635, allocations: 1.203 kB / 0.7709 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001087/0.8646, allocations: 343.9 kB / 0.7713 GB, free: 12.18 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.0005056/0.8651, allocations: 192.9 kB / 0.7715 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.8663, allocations: 0.5946 MB / 0.772 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.8663, allocations: 0.9688 kB / 0.772 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.8667, allocations: 192.3 kB / 0.7722 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.8682, allocations: 355.5 kB / 0.7726 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.8704, allocations: 1.346 MB / 0.7739 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005453/0.8709, allocations: 0.9414 MB / 0.7748 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006014/0.8716, allocations: 210.2 kB / 0.775 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.8717, allocations: 48.58 kB / 0.775 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.8717, allocations: 0.9688 kB / 0.775 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of Templates: time 0.01765/0.8894, allocations: 11.79 MB / 0.7866 GB, free: 10.15 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)