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.001151/0.001151, allocations: 103 kB / 15.99 MB, free: 6.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.001183/0.001183, allocations: 188.7 kB / 16.91 MB, free: 6.195 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.37/1.37, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7778/0.7778, allocations: 122.9 MB / 413.6 MB, free: 68 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001745, allocations: 64.09 kB / 0.4906 GB, free: 7.824 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3694, allocations: 77.91 MB / 0.5667 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.2001/0.5695, allocations: 184.3 MB / 0.7467 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3451/0.9146, allocations: 4.53 MB / 0.7511 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.916, allocations: 27.84 kB / 0.7512 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.9172, allocations: 358.2 kB / 0.7515 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003161/0.9204, allocations: 1.263 MB / 0.7527 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.9227, allocations: 0.6883 MB / 0.7534 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002641/0.9254, allocations: 1.959 MB / 0.7553 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.9264, allocations: 0.6351 MB / 0.7559 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003309/0.9298, allocations: 1.077 MB / 0.757 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.931, allocations: 0.6244 MB / 0.7576 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.9312, allocations: 64.25 kB / 0.7577 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002548/0.9338, allocations: 1.437 MB / 0.7591 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000318/0.9341, allocations: 284.4 kB / 0.7593 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005193/0.9346, allocations: 416.4 kB / 0.7597 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002342/0.937, allocations: 1.54 MB / 0.7612 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.937, allocations: 3.781 kB / 0.7612 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.753e-06/0.937, allocations: 0 / 0.7612 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.937, allocations: 0.5938 kB / 0.7612 GB, free: 1.609 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.001855/0.9389, allocations: 1.091 MB / 0.7623 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.9389, allocations: 10.69 kB / 0.7623 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.9402, allocations: 204.8 kB / 0.7625 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008638/0.9411, allocations: 0.5819 MB / 0.7631 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.9412, allocations: 42.03 kB / 0.7631 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.9413, allocations: 54.44 kB / 0.7632 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.9423, allocations: 0.6265 MB / 0.7638 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.9424, allocations: 4.781 kB / 0.7638 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.81e-05/0.9424, allocations: 28.38 kB / 0.7638 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.9425, allocations: 17.97 kB / 0.7638 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008108/0.9433, allocations: 0.4919 MB / 0.7643 GB, free: 16.55 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.002897/0.9462, allocations: 2.39 MB / 0.7666 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007914/0.947, allocations: 365.5 kB / 0.767 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.9473, allocations: 213.7 kB / 0.7672 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006508/0.948, allocations: 306.3 kB / 0.7675 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.948, allocations: 38.2 kB / 0.7675 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.194e-06/0.9481, allocations: 0 / 0.7675 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001336/0.9494, allocations: 0.5491 MB / 0.7681 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.9495, allocations: 63.72 kB / 0.7681 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006761/0.9501, allocations: 0.5012 MB / 0.7686 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.9502, allocations: 33.69 kB / 0.7686 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.9504, allocations: 314.1 kB / 0.7689 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.9505, allocations: 131.8 kB / 0.7691 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.9507, allocations: 84.27 kB / 0.7691 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.9508, allocations: 368.6 kB / 0.7695 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.9511, allocations: 151 kB / 0.7696 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.9514, allocations: 261.1 kB / 0.7699 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005307/0.9519, allocations: 406.3 kB / 0.7703 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.952, allocations: 1.469 kB / 0.7703 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007485/0.9527, allocations: 492.2 kB / 0.7707 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.9527, allocations: 7.656 kB / 0.7708 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.9527, allocations: 2.781 kB / 0.7708 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.9528, allocations: 4.25 kB / 0.7708 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/0.9534, allocations: 98.41 kB / 0.7709 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003978/0.9538, allocations: 0.5977 MB / 0.7714 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007072/0.9545, allocations: 79.62 kB / 0.7715 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.9546, allocations: 16.78 kB / 0.7715 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004352/0.955, allocations: 331.1 kB / 0.7718 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003371/0.9554, allocations: 260 kB / 0.7721 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005596/0.9559, allocations: 401.6 kB / 0.7725 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.396e-06/0.956, allocations: 0.8438 kB / 0.7725 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008181/0.9568, allocations: 487.5 kB / 0.7729 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.9568, allocations: 11.34 kB / 0.773 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.9568, allocations: 1.812 kB / 0.773 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.517e-06/0.9568, allocations: 10.36 kB / 0.773 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/0.9572, allocations: 83.36 kB / 0.773 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.9572, allocations: 7.406 kB / 0.7731 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007953/0.958, allocations: 64.62 kB / 0.7731 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.9581, allocations: 18.62 kB / 0.7731 GB, free: 12.81 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.0002883/0.9584, allocations: 207.7 kB / 0.7733 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.9585, allocations: 68.7 kB / 0.7734 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000801/0.9593, allocations: 455.9 kB / 0.7738 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.9593, allocations: 6.062 kB / 0.7738 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.9593, allocations: 0 / 0.7738 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006965/0.96, allocations: 0.6541 MB / 0.7745 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.9618, allocations: 1.199 MB / 0.7756 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.9618, allocations: 5.781 kB / 0.7757 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004663/0.9622, allocations: 94.94 kB / 0.7757 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.9623, allocations: 6.875 kB / 0.7757 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.9623, allocations: 13.22 kB / 0.7758 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000366/0.9627, allocations: 0.5917 MB / 0.7763 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.9627, allocations: 4.375 kB / 0.7763 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009194/0.9636, allocations: 0.7068 MB / 0.777 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003248/0.9639, allocations: 180.1 kB / 0.7772 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.885e-05/0.964, allocations: 9.812 kB / 0.7772 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004732/0.9645, allocations: 42.53 kB / 0.7773 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.9646, allocations: 26.55 kB / 0.7773 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.9646, allocations: 17.98 kB / 0.7773 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003724/0.965, allocations: 359.5 kB / 0.7776 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.12e-07/0.965, allocations: 0 / 0.7776 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001007/0.966, allocations: 341.7 kB / 0.778 GB, free: 10.64 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.0004776/0.9665, allocations: 185.2 kB / 0.7781 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.9677, allocations: 0.6375 MB / 0.7788 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.9677, allocations: 0.7812 kB / 0.7788 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.968, allocations: 185.2 kB / 0.7789 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.9696, allocations: 364.7 kB / 0.7793 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.9718, allocations: 1.589 MB / 0.7808 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.9722, allocations: 0.9358 MB / 0.7818 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006791/0.9729, allocations: 208 kB / 0.782 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.9731, allocations: 48.28 kB / 0.782 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.9731, allocations: 3.188 kB / 0.782 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of Templates: time 0.01845/0.9915, allocations: 11.75 MB / 0.7935 GB, free: 8.238 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)