Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.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.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 105.1 kB / 16.4 MB, free: 6.449 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.001162/0.001162, allocations: 196 kB / 17.34 MB, free: 5.719 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7831/0.7831, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 63.97 kB / 0.5577 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.146, allocations: 76.18 MB / 0.6321 GB, free: 4.516 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.5659/0.7119, allocations: 198 MB / 0.8254 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01349/0.7254, allocations: 10.9 MB / 0.8361 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.7271, allocations: 50.44 kB / 0.8361 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.7287, allocations: 0.5234 MB / 0.8366 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00508/0.7338, allocations: 1.793 MB / 0.8384 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003007/0.7368, allocations: 1.163 MB / 0.8395 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003474/0.7403, allocations: 2.786 MB / 0.8422 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.742, allocations: 1.195 MB / 0.8434 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004107/0.7462, allocations: 1.64 MB / 0.845 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001447/0.7476, allocations: 0.9474 MB / 0.8459 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001973/0.7478, allocations: 127.5 kB / 0.846 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003271/0.7511, allocations: 1.724 MB / 0.8477 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005715/0.7517, allocations: 0.5159 MB / 0.8482 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009826/0.7527, allocations: 0.7139 MB / 0.8489 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003722/0.7564, allocations: 2.359 MB / 0.8512 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7564, allocations: 0 / 0.8512 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.376e-06/0.7564, allocations: 3.984 kB / 0.8512 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.794e-05/0.7565, allocations: 0 / 0.8512 GB, free: 11.51 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.00282/0.7593, allocations: 1.699 MB / 0.8529 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.7594, allocations: 8.031 kB / 0.8529 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/0.7612, allocations: 325 kB / 0.8532 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.7629, allocations: 0.9193 MB / 0.8541 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.549e-05/0.763, allocations: 74 kB / 0.8542 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.7632, allocations: 110.9 kB / 0.8543 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.765, allocations: 1.175 MB / 0.8554 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.765, allocations: 0 / 0.8554 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.279e-05/0.7651, allocations: 40 kB / 0.8555 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.119e-05/0.7652, allocations: 38 kB / 0.8555 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.7667, allocations: 0.9446 MB / 0.8564 GB, free: 6.555 MB / 0.6075 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.006007/0.7727, allocations: 4.716 MB / 0.861 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.7739, allocations: 0.7261 MB / 0.8617 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005324/0.7744, allocations: 394.9 kB / 0.8621 GB, free: 384 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006064/0.7751, allocations: 319 kB / 0.8624 GB, free: 12 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.7751, allocations: 43.12 kB / 0.8625 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 2.314e-06/0.7751, allocations: 0 / 0.8625 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.001919/0.7771, allocations: 1.005 MB / 0.8635 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.7771, allocations: 59.97 kB / 0.8635 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009325/0.778, allocations: 0.7909 MB / 0.8643 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.645e-05/0.7781, allocations: 37.7 kB / 0.8643 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.7785, allocations: 0.5407 MB / 0.8648 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.7787, allocations: 241.6 kB / 0.8651 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/0.7789, allocations: 146.6 kB / 0.8652 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.7791, allocations: 345.8 kB / 0.8655 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004644/0.7795, allocations: 296.7 kB / 0.8658 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000619/0.7802, allocations: 0.4968 MB / 0.8663 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.7813, allocations: 0.7951 MB / 0.8671 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.7813, allocations: 4 kB / 0.8671 GB, free: 11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001448/0.7827, allocations: 0.906 MB / 0.868 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.7828, allocations: 11.98 kB / 0.868 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.7828, allocations: 4 kB / 0.868 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.7828, allocations: 8 kB / 0.868 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008498/0.7837, allocations: 179.7 kB / 0.8682 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003627/0.784, allocations: 0.6057 MB / 0.8688 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007087/0.7848, allocations: 79.2 kB / 0.8688 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.769e-05/0.7848, allocations: 39.98 kB / 0.8689 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008092/0.7856, allocations: 0.5409 MB / 0.8694 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006201/0.7863, allocations: 0.4925 MB / 0.8699 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001072/0.7874, allocations: 0.7991 MB / 0.8707 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.886e-06/0.7874, allocations: 0 / 0.8707 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001382/0.7888, allocations: 0.907 MB / 0.8716 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.7888, allocations: 8 kB / 0.8716 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.7888, allocations: 4.625 kB / 0.8716 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.7888, allocations: 8 kB / 0.8716 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000645/0.7895, allocations: 175.7 kB / 0.8717 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.7895, allocations: 8 kB / 0.8717 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006952/0.7902, allocations: 67.5 kB / 0.8718 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/0.7902, allocations: 32 kB / 0.8718 GB, free: 5.961 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.000219/0.7905, allocations: 228.6 kB / 0.8721 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.7906, allocations: 98.78 kB / 0.8722 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.792, allocations: 0.8015 MB / 0.8729 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.792, allocations: 8 kB / 0.8729 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.792, allocations: 3.938 kB / 0.8729 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001066/0.7931, allocations: 0.8749 MB / 0.8738 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003352/0.7965, allocations: 2.145 MB / 0.8759 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.7965, allocations: 4 kB / 0.8759 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007399/0.7972, allocations: 159.9 kB / 0.8761 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.7973, allocations: 4 kB / 0.8761 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/0.7973, allocations: 16 kB / 0.8761 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003139/0.7976, allocations: 0.5977 MB / 0.8767 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.7976, allocations: 8.172 kB / 0.8767 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.7994, allocations: 1.28 MB / 0.8779 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/0.7998, allocations: 251.8 kB / 0.8782 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.7999, allocations: 19.94 kB / 0.8782 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005144/0.8005, allocations: 19.98 kB / 0.8782 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.488e-05/0.8006, allocations: 48.5 kB / 0.8782 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.8006, allocations: 27.94 kB / 0.8783 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006557/0.8013, allocations: 0.546 MB / 0.8788 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8013, allocations: 0 / 0.8788 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00137/0.8027, allocations: 0.5647 MB / 0.8793 GB, free: 14 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (limPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],senTraSubPeo.C,senTraSubFre.C) * 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 (68): * Single equations (assignments): 67 * 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.0005319/0.8032, allocations: 248.9 kB / 0.8796 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002052/0.8053, allocations: 1.161 MB / 0.8807 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.8053, allocations: 0 / 0.8807 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005758/0.8059, allocations: 364.4 kB / 0.8811 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/0.8079, allocations: 496.3 kB / 0.8815 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.8113, allocations: 2.254 MB / 0.8837 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006833/0.812, allocations: 1.175 MB / 0.8849 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009567/0.813, allocations: 351.8 kB / 0.8852 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.8132, allocations: 83.42 kB / 0.8853 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of SimCode: time 4.91e-07/0.8132, allocations: 0 / 0.8853 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of Templates: time 0.03127/0.8445, allocations: 17.65 MB / 0.9025 GB, free: 6.43 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)