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.0008128/0.0008128, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009441/0.0009443, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.376/1.376, allocations: 223.2 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7664/0.7664, allocations: 123 MB / 415.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003845, allocations: 8 kB / 0.4933 GB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.4473, allocations: 79.28 MB / 0.5707 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.2025/0.6498, allocations: 182.1 MB / 0.7486 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007539/0.6574, allocations: 4.586 MB / 0.7531 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.6585, allocations: 27.81 kB / 0.7531 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.6599, allocations: 342.1 kB / 0.7534 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004249/0.6642, allocations: 1.264 MB / 0.7546 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.6662, allocations: 0.6697 MB / 0.7553 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003301/0.6695, allocations: 2.751 MB / 0.758 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.6707, allocations: 0.5466 MB / 0.7585 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003589/0.6743, allocations: 0.9398 MB / 0.7594 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.6755, allocations: 0.596 MB / 0.76 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.6757, allocations: 28 kB / 0.76 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00288/0.6785, allocations: 1.563 MB / 0.7616 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003625/0.6789, allocations: 239.3 kB / 0.7618 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007202/0.6797, allocations: 395.8 kB / 0.7622 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002696/0.6824, allocations: 1.491 MB / 0.7636 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6824, allocations: 0 / 0.7636 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.043e-06/0.6824, allocations: 0 / 0.7636 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.922e-05/0.6824, allocations: 4 kB / 0.7636 GB, free: 6.418 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.001754/0.6842, allocations: 0.9465 MB / 0.7646 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.6842, allocations: 12.02 kB / 0.7646 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/0.6857, allocations: 206.9 kB / 0.7648 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.6867, allocations: 0.5793 MB / 0.7653 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.6868, allocations: 41.31 kB / 0.7654 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.6869, allocations: 52 kB / 0.7654 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.6879, allocations: 0.6167 MB / 0.766 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.688, allocations: 15.78 kB / 0.766 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.515e-05/0.688, allocations: 24 kB / 0.7661 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.6881, allocations: 21.25 kB / 0.7661 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008066/0.6889, allocations: 0.4931 MB / 0.7666 GB, free: 3.312 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.00294/0.6918, allocations: 2.396 MB / 0.7689 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006127/0.6924, allocations: 354.7 kB / 0.7692 GB, free: 356 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/0.6928, allocations: 212.8 kB / 0.7694 GB, free: 140 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006024/0.6934, allocations: 319.8 kB / 0.7697 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.6934, allocations: 46.5 kB / 0.7698 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.823e-06/0.6934, allocations: 0 / 0.7698 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.001121/0.6945, allocations: 0.5416 MB / 0.7703 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.6946, allocations: 55.41 kB / 0.7704 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006071/0.6952, allocations: 0.5105 MB / 0.7709 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/0.6953, allocations: 29.7 kB / 0.7709 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.6955, allocations: 319.8 kB / 0.7712 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.6956, allocations: 126.2 kB / 0.7713 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.6957, allocations: 41.69 kB / 0.7714 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.6959, allocations: 362.8 kB / 0.7717 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.6961, allocations: 140.8 kB / 0.7718 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.6964, allocations: 271.7 kB / 0.7721 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005525/0.697, allocations: 402.1 kB / 0.7725 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.697, allocations: 0 / 0.7725 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007546/0.6978, allocations: 493.3 kB / 0.773 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.6979, allocations: 160.7 kB / 0.7731 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.6979, allocations: 0 / 0.7731 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.6979, allocations: 7.938 kB / 0.7731 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/0.6985, allocations: 103.9 kB / 0.7732 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003652/0.6989, allocations: 0.5938 MB / 0.7738 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006277/0.6995, allocations: 83.55 kB / 0.7739 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/0.6996, allocations: 23.98 kB / 0.7739 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.6996, allocations: 4 kB / 0.7739 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006404/0.7002, allocations: 399.5 kB / 0.7743 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.7002, allocations: 0 / 0.7743 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.623e-06/0.7002, allocations: 12.28 kB / 0.7743 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.7006, allocations: 87.84 kB / 0.7744 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.7006, allocations: 7.984 kB / 0.7744 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005683/0.7012, allocations: 67.64 kB / 0.7745 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.7012, allocations: 16 kB / 0.7745 GB, free: 10.73 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.0003499/0.7016, allocations: 303.2 kB / 0.7748 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-05/0.7017, allocations: 63.23 kB / 0.7748 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007403/0.7025, allocations: 449.8 kB / 0.7752 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.7025, allocations: 4 kB / 0.7753 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.7025, allocations: 0 / 0.7753 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006289/0.7031, allocations: 0.6637 MB / 0.7759 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.7048, allocations: 1.204 MB / 0.7771 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.7048, allocations: 4 kB / 0.7771 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/0.7052, allocations: 95.97 kB / 0.7772 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.7053, allocations: 7.984 kB / 0.7772 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.7053, allocations: 8 kB / 0.7772 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003147/0.7056, allocations: 0.6018 MB / 0.7778 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7056, allocations: 0 / 0.7778 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008896/0.7065, allocations: 0.7079 MB / 0.7785 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.7067, allocations: 176.4 kB / 0.7786 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.098e-05/0.7068, allocations: 12 kB / 0.7786 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004511/0.7073, allocations: 43.81 kB / 0.7787 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.7073, allocations: 23.97 kB / 0.7787 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.7074, allocations: 8 kB / 0.7787 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003933/0.7078, allocations: 366.8 kB / 0.7791 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7078, allocations: 4 kB / 0.7791 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008577/0.7086, allocations: 343.2 kB / 0.7794 GB, free: 5.426 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.0003973/0.709, allocations: 199.5 kB / 0.7796 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.7102, allocations: 0.5852 MB / 0.7802 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7102, allocations: 1.125 kB / 0.7802 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.7105, allocations: 192.9 kB / 0.7803 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.7125, allocations: 357.3 kB / 0.7807 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.7147, allocations: 1.667 MB / 0.7823 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.7152, allocations: 0.9416 MB / 0.7832 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006243/0.7158, allocations: 204.9 kB / 0.7834 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.716, allocations: 55.42 kB / 0.7835 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.716, allocations: 0 / 0.7835 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of Templates: time 0.01982/0.7358, allocations: 11.36 MB / 0.7946 GB, free: 5.977 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)