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.001011/0.001011, allocations: 98.58 kB / 16.02 MB, free: 80 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.001321/0.001321, allocations: 182.2 kB / 16.92 MB, free: 6.773 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.587/1.587, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.694/0.694, allocations: 115.5 MB / 407.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003101, allocations: 16 kB / 495.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1436, allocations: 77.54 MB / 0.56 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.5035/0.6472, allocations: 182.1 MB / 0.7378 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007253/0.6545, allocations: 4.562 MB / 0.7422 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005416/0.6551, allocations: 23.81 kB / 0.7423 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009143/0.656, allocations: 354.1 kB / 0.7426 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002845/0.6588, allocations: 1.273 MB / 0.7439 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.6605, allocations: 0.6701 MB / 0.7445 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002775/0.6633, allocations: 2.752 MB / 0.7472 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007719/0.6641, allocations: 0.5311 MB / 0.7477 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00281/0.6669, allocations: 0.9453 MB / 0.7486 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.6679, allocations: 0.5881 MB / 0.7492 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.463e-05/0.668, allocations: 32 kB / 0.7492 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002605/0.6706, allocations: 1.551 MB / 0.7508 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.6709, allocations: 247.3 kB / 0.751 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004632/0.6714, allocations: 395.8 kB / 0.7514 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.6735, allocations: 1.488 MB / 0.7528 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.6736, allocations: 8 kB / 0.7528 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.705e-06/0.6736, allocations: 0 / 0.7528 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.6736, allocations: 0 / 0.7528 GB, free: 1.199 MB / 0.5606 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.0017/0.6753, allocations: 0.9587 MB / 0.7538 GB, free: 196 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.6754, allocations: 8.031 kB / 0.7538 GB, free: 188 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.6767, allocations: 207.1 kB / 0.754 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008417/0.6775, allocations: 0.5715 MB / 0.7545 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/0.6776, allocations: 45.31 kB / 0.7546 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.728e-05/0.6777, allocations: 56 kB / 0.7546 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009752/0.6787, allocations: 0.6206 MB / 0.7552 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.6787, allocations: 3.938 kB / 0.7552 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.6788, allocations: 23.94 kB / 0.7553 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/0.6788, allocations: 21.3 kB / 0.7553 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008039/0.6796, allocations: 0.4892 MB / 0.7558 GB, free: 14.09 MB / 0.5762 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.00295/0.6826, allocations: 2.404 MB / 0.7581 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000591/0.6832, allocations: 350.8 kB / 0.7584 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.6835, allocations: 220.1 kB / 0.7586 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005537/0.684, allocations: 323.2 kB / 0.759 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.6841, allocations: 34.56 kB / 0.759 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=36): time 1.803e-06/0.6841, allocations: 0 / 0.759 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36): time 0.001097/0.6852, allocations: 0.5488 MB / 0.7595 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.6852, allocations: 55.41 kB / 0.7596 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005655/0.6858, allocations: 0.4989 MB / 0.7601 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.6859, allocations: 37.64 kB / 0.7601 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.6861, allocations: 319.8 kB / 0.7604 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.6863, allocations: 130.1 kB / 0.7605 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.958e-05/0.6863, allocations: 41.7 kB / 0.7606 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6865, allocations: 362.7 kB / 0.7609 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.6867, allocations: 152.7 kB / 0.7611 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.6871, allocations: 266.5 kB / 0.7613 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005567/0.6876, allocations: 406.9 kB / 0.7617 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6876, allocations: 0 / 0.7617 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007224/0.6884, allocations: 485.2 kB / 0.7622 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.6885, allocations: 153 kB / 0.7623 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.6885, allocations: 4 kB / 0.7623 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.6885, allocations: 11.94 kB / 0.7623 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005674/0.6891, allocations: 99.88 kB / 0.7624 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003442/0.6895, allocations: 0.5976 MB / 0.763 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005775/0.69, allocations: 71.67 kB / 0.7631 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.6901, allocations: 19.98 kB / 0.7631 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/0.6901, allocations: 4 kB / 0.7631 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005959/0.6907, allocations: 411.8 kB / 0.7635 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.6907, allocations: 4 kB / 0.7635 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.17e-06/0.6907, allocations: 4 kB / 0.7635 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.6911, allocations: 83.89 kB / 0.7636 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.6911, allocations: 7.938 kB / 0.7636 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005218/0.6916, allocations: 75.83 kB / 0.7637 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.6917, allocations: 20 kB / 0.7637 GB, free: 5.508 MB / 0.5762 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.0003016/0.692, allocations: 308.9 kB / 0.764 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.061e-05/0.6921, allocations: 59.34 kB / 0.764 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007081/0.6928, allocations: 445.7 kB / 0.7645 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.6928, allocations: 7.938 kB / 0.7645 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6928, allocations: 0 / 0.7645 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006051/0.6934, allocations: 0.6572 MB / 0.7651 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.6951, allocations: 1.207 MB / 0.7663 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.6951, allocations: 4.062 kB / 0.7663 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004745/0.6956, allocations: 100.1 kB / 0.7664 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.6956, allocations: 4 kB / 0.7664 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.6956, allocations: 12 kB / 0.7664 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003011/0.6959, allocations: 0.5938 MB / 0.767 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.696, allocations: 0 / 0.767 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009075/0.6969, allocations: 0.7204 MB / 0.7677 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.6971, allocations: 176.4 kB / 0.7678 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.971e-05/0.6972, allocations: 12 kB / 0.7679 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/0.6976, allocations: 43.81 kB / 0.7679 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.6977, allocations: 23.97 kB / 0.7679 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.6977, allocations: 23.92 kB / 0.7679 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003942/0.6981, allocations: 354.8 kB / 0.7683 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6982, allocations: 0 / 0.7683 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008635/0.699, allocations: 343.2 kB / 0.7686 GB, free: 200 kB / 0.5762 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.0004015/0.6994, allocations: 195 kB / 0.7688 GB, free: 4 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.7006, allocations: 0.5789 MB / 0.7694 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.7006, allocations: 4 kB / 0.7694 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003138/0.7009, allocations: 188.7 kB / 0.7695 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/0.7029, allocations: 367.4 kB / 0.7699 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.705, allocations: 1.663 MB / 0.7715 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/0.7055, allocations: 0.9417 MB / 0.7724 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006595/0.7062, allocations: 204.9 kB / 0.7726 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.7063, allocations: 51.42 kB / 0.7727 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of SimCode: time 3.6e-07/0.7063, allocations: 0 / 0.7727 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of Templates: time 0.0193/0.7256, allocations: 11.36 MB / 0.7838 GB, free: 0.7695 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)