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.0009168/0.0009166, 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.0008984/0.0008981, 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.434/1.434, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7408/0.7408, allocations: 123 MB / 415.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003075/0.0003075, allocations: 8.562 kB / 0.4933 GB, free: 13.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4511/0.4514, allocations: 79.29 MB / 0.5708 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.217/0.6685, allocations: 193.1 MB / 0.7593 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01501/0.6836, allocations: 10.83 MB / 0.7699 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.685, allocations: 43.69 kB / 0.7699 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.6864, allocations: 445.4 kB / 0.7704 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00462/0.691, allocations: 1.681 MB / 0.772 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002941/0.694, allocations: 1.055 MB / 0.773 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004795/0.6988, allocations: 3.739 MB / 0.7767 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.7004, allocations: 0.9939 MB / 0.7777 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004093/0.7045, allocations: 1.418 MB / 0.7791 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.7061, allocations: 0.932 MB / 0.78 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.7062, allocations: 52 kB / 0.78 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003409/0.7096, allocations: 1.89 MB / 0.7819 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004786/0.7101, allocations: 462.5 kB / 0.7823 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007459/0.7109, allocations: 0.6428 MB / 0.7829 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002852/0.7137, allocations: 2.325 MB / 0.7852 GB, free: 296 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.7138, allocations: 0 / 0.7852 GB, free: 296 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7138, allocations: 7.938 kB / 0.7852 GB, free: 288 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.7138, allocations: 0 / 0.7852 GB, free: 288 kB / 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.002543/0.7163, allocations: 1.441 MB / 0.7866 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.7164, allocations: 12.02 kB / 0.7866 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/0.7182, allocations: 330 kB / 0.7869 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.7197, allocations: 0.8664 MB / 0.7878 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.565e-05/0.7198, allocations: 82 kB / 0.7879 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.7199, allocations: 100 kB / 0.788 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.7218, allocations: 1.175 MB / 0.7891 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.7219, allocations: 4 kB / 0.7891 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.406e-05/0.722, allocations: 40 kB / 0.7891 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.771e-05/0.722, allocations: 49.94 kB / 0.7892 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.7236, allocations: 0.9368 MB / 0.7901 GB, free: 11.12 MB / 0.6231 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.005523/0.7292, allocations: 4.714 MB / 0.7947 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.7304, allocations: 0.7168 MB / 0.7954 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005773/0.731, allocations: 398.9 kB / 0.7958 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006155/0.7316, allocations: 332.7 kB / 0.7961 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.7316, allocations: 47.05 kB / 0.7962 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 2.515e-06/0.7316, allocations: 0 / 0.7962 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.001978/0.7336, allocations: 1.001 MB / 0.7971 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.7337, allocations: 59.97 kB / 0.7972 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009881/0.7347, allocations: 0.7909 MB / 0.798 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.676e-05/0.7348, allocations: 37.7 kB / 0.798 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004117/0.7352, allocations: 0.5344 MB / 0.7985 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.7354, allocations: 244.5 kB / 0.7988 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.845e-05/0.7355, allocations: 65.69 kB / 0.7988 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.7357, allocations: 345.9 kB / 0.7991 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004876/0.7362, allocations: 289.8 kB / 0.7994 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006809/0.7369, allocations: 0.4929 MB / 0.7999 GB, free: 488 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.738, allocations: 0.7952 MB / 0.8007 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.738, allocations: 0 / 0.8007 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001451/0.7395, allocations: 0.9137 MB / 0.8016 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.7397, allocations: 227 kB / 0.8018 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.7397, allocations: 4 kB / 0.8018 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.7397, allocations: 12 kB / 0.8018 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008436/0.7406, allocations: 187.7 kB / 0.802 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003916/0.741, allocations: 0.6055 MB / 0.8026 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000913/0.7419, allocations: 139.1 kB / 0.8027 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.742, allocations: 32 kB / 0.8027 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/0.742, allocations: 4 kB / 0.8027 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001241/0.7432, allocations: 0.7919 MB / 0.8035 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.7432, allocations: 7.938 kB / 0.8035 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.7432, allocations: 12 kB / 0.8035 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.7439, allocations: 168.4 kB / 0.8037 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.7439, allocations: 11.94 kB / 0.8037 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008092/0.7447, allocations: 127.3 kB / 0.8038 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/0.7448, allocations: 36 kB / 0.8039 GB, free: 12.25 MB / 0.6387 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.0005609/0.7453, allocations: 404.8 kB / 0.8042 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.7455, allocations: 102.8 kB / 0.8043 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/0.7468, allocations: 0.7899 MB / 0.8051 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.7469, allocations: 7.938 kB / 0.8051 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.7469, allocations: 3.938 kB / 0.8051 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001087/0.748, allocations: 0.8827 MB / 0.806 GB, free: 9.988 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003416/0.7514, allocations: 2.151 MB / 0.8081 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7514, allocations: 0 / 0.8081 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007232/0.7521, allocations: 156.1 kB / 0.8082 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/0.7522, allocations: 11.98 kB / 0.8083 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.967e-05/0.7522, allocations: 16 kB / 0.8083 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003507/0.7526, allocations: 0.5975 MB / 0.8088 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.7526, allocations: 4.031 kB / 0.8089 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.7545, allocations: 1.284 MB / 0.8101 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00043/0.7549, allocations: 255.7 kB / 0.8104 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.755, allocations: 16 kB / 0.8104 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/0.7557, allocations: 71.72 kB / 0.8104 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.004e-05/0.7558, allocations: 40.52 kB / 0.8105 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.087e-05/0.7558, allocations: 31.98 kB / 0.8105 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007239/0.7565, allocations: 0.546 MB / 0.811 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7566, allocations: 0 / 0.811 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001512/0.7581, allocations: 0.5648 MB / 0.8116 GB, free: 4.047 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.0005802/0.7587, allocations: 239.2 kB / 0.8118 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002162/0.7608, allocations: 1.162 MB / 0.813 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.7608, allocations: 0 / 0.813 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005795/0.7614, allocations: 366.9 kB / 0.8133 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/0.7641, allocations: 489.1 kB / 0.8138 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2914/1.056, allocations: 2.828 MB / 0.8165 GB, free: 223.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009527/1.057, allocations: 1.175 MB / 0.8177 GB, free: 222.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001609/1.058, allocations: 354.9 kB / 0.818 GB, free: 222.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/1.058, allocations: 78.16 kB / 0.8181 GB, free: 222.7 MB / 0.6387 GB Notification: Performance of SimCode: time 9.42e-07/1.058, allocations: 0 / 0.8181 GB, free: 222.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.03692/1.095, allocations: 16.81 MB / 0.8345 GB, free: 218.8 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)