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.0007887/0.0007885, 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.0008409/0.0008409, allocations: 180.5 kB / 16.92 MB, free: 6.922 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.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6982/0.6982, allocations: 115.5 MB / 407.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003319, allocations: 8 kB / 495.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1664, allocations: 77.53 MB / 0.5599 GB, free: 9.074 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.5169/0.6833, allocations: 193.1 MB / 0.7485 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01507/0.6984, allocations: 10.82 MB / 0.7591 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/0.7002, allocations: 39.75 kB / 0.7591 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.7018, allocations: 445.4 kB / 0.7596 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005276/0.7071, allocations: 1.688 MB / 0.7612 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003589/0.7107, allocations: 1.041 MB / 0.7622 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004866/0.7156, allocations: 3.747 MB / 0.7659 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.7172, allocations: 0.99 MB / 0.7668 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004148/0.7214, allocations: 1.429 MB / 0.7682 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.723, allocations: 0.9281 MB / 0.7692 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.7232, allocations: 52 kB / 0.7692 GB, free: 472 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003269/0.7264, allocations: 1.902 MB / 0.7711 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004925/0.7269, allocations: 450.6 kB / 0.7715 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007318/0.7277, allocations: 0.6389 MB / 0.7721 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002912/0.7306, allocations: 2.344 MB / 0.7744 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7306, allocations: 0 / 0.7744 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7306, allocations: 0 / 0.7744 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.03e-05/0.7307, allocations: 0 / 0.7744 GB, free: 11.11 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002305/0.733, allocations: 1.441 MB / 0.7758 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.733, allocations: 12.03 kB / 0.7758 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001756/0.7348, allocations: 318.1 kB / 0.7761 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.7362, allocations: 0.8781 MB / 0.777 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.988e-05/0.7362, allocations: 78 kB / 0.7771 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.7364, allocations: 103.9 kB / 0.7772 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.7383, allocations: 1.179 MB / 0.7783 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.7383, allocations: 0 / 0.7783 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.957e-05/0.7384, allocations: 44 kB / 0.7783 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.015e-05/0.7384, allocations: 34 kB / 0.7784 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.74, allocations: 0.9368 MB / 0.7793 GB, free: 5.965 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.005462/0.7455, allocations: 4.721 MB / 0.7839 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.7467, allocations: 0.7167 MB / 0.7846 GB, free: 136 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000572/0.7473, allocations: 396 kB / 0.785 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005974/0.7479, allocations: 331.7 kB / 0.7853 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.748, allocations: 43.11 kB / 0.7853 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=68): time 2.164e-06/0.748, allocations: 0 / 0.7853 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=68): time 0.001879/0.7498, allocations: 1.005 MB / 0.7863 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.7499, allocations: 59.97 kB / 0.7864 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009967/0.7509, allocations: 0.791 MB / 0.7872 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.83e-05/0.751, allocations: 45.64 kB / 0.7872 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004341/0.7514, allocations: 0.5382 MB / 0.7877 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.7517, allocations: 244.5 kB / 0.788 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.7518, allocations: 65.69 kB / 0.788 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.7519, allocations: 337.9 kB / 0.7883 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004841/0.7524, allocations: 293.8 kB / 0.7886 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006566/0.7531, allocations: 0.5007 MB / 0.7891 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.7543, allocations: 0.7835 MB / 0.7899 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.7543, allocations: 0 / 0.7899 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001488/0.7558, allocations: 0.9064 MB / 0.7908 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.7559, allocations: 236.8 kB / 0.791 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.756, allocations: 12 kB / 0.791 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.756, allocations: 8 kB / 0.791 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008498/0.7568, allocations: 176.4 kB / 0.7912 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003779/0.7572, allocations: 0.6132 MB / 0.7918 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009652/0.7582, allocations: 131.2 kB / 0.7919 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.7583, allocations: 36 kB / 0.7919 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.275e-06/0.7583, allocations: 4 kB / 0.7919 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001269/0.7596, allocations: 0.7925 MB / 0.7927 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.7596, allocations: 4 kB / 0.7927 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.7596, allocations: 8 kB / 0.7927 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006045/0.7602, allocations: 171.7 kB / 0.7929 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.7602, allocations: 12.02 kB / 0.7929 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008032/0.761, allocations: 131.3 kB / 0.793 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.397e-05/0.7611, allocations: 35.98 kB / 0.7931 GB, free: 7.102 MB / 0.6075 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.0006302/0.7617, allocations: 404.8 kB / 0.7934 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.7619, allocations: 98.78 kB / 0.7935 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.7633, allocations: 0.7899 MB / 0.7943 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.7633, allocations: 8 kB / 0.7943 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.7633, allocations: 3.938 kB / 0.7943 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001067/0.7644, allocations: 0.8788 MB / 0.7952 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003469/0.7679, allocations: 2.159 MB / 0.7973 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.7679, allocations: 4 kB / 0.7973 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000728/0.7686, allocations: 151.8 kB / 0.7974 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.896e-06/0.7686, allocations: 4 kB / 0.7974 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/0.7687, allocations: 19.98 kB / 0.7975 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003139/0.769, allocations: 0.598 MB / 0.798 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.769, allocations: 7.938 kB / 0.798 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.7708, allocations: 1.28 MB / 0.7993 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003694/0.7712, allocations: 255.7 kB / 0.7995 GB, free: 184 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.7713, allocations: 16 kB / 0.7996 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006579/0.7719, allocations: 77.25 kB / 0.7996 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.772, allocations: 44.52 kB / 0.7997 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.7721, allocations: 23.98 kB / 0.7997 GB, free: 24 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007086/0.7728, allocations: 0.5462 MB / 0.8002 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7728, allocations: 0 / 0.8002 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001504/0.7743, allocations: 0.5608 MB / 0.8008 GB, free: 14.9 MB / 0.6231 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.0005699/0.7749, allocations: 237.6 kB / 0.801 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002289/0.7772, allocations: 1.158 MB / 0.8021 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.7772, allocations: 0 / 0.8021 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006117/0.7778, allocations: 363.7 kB / 0.8025 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/0.7806, allocations: 0.4946 MB / 0.803 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004228/0.7849, allocations: 2.835 MB / 0.8057 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007573/0.7856, allocations: 1.175 MB / 0.8069 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001184/0.7868, allocations: 355.9 kB / 0.8072 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.7871, allocations: 79.42 kB / 0.8073 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of SimCode: time 1.052e-06/0.7871, allocations: 0 / 0.8073 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of Templates: time 0.02904/0.8161, allocations: 16.79 MB / 0.8237 GB, free: 7.629 MB / 0.6387 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)