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.001231/0.001231, allocations: 100.1 kB / 15.88 MB, free: 12 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.001245/0.001245, allocations: 204.9 kB / 16.79 MB, free: 6.84 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.359/1.359, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7284/0.7284, allocations: 122.9 MB / 413.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 56.53 kB / 0.4904 GB, free: 14.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1754, allocations: 77.93 MB / 0.5665 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.5537/0.7291, allocations: 195.7 MB / 0.7576 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01595/0.7451, allocations: 10.98 MB / 0.7684 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002295/0.7475, allocations: 43.75 kB / 0.7684 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.7495, allocations: 437.5 kB / 0.7688 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005478/0.755, allocations: 1.681 MB / 0.7705 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003177/0.7581, allocations: 1.049 MB / 0.7715 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004403/0.7626, allocations: 3.739 MB / 0.7751 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.7648, allocations: 1.036 MB / 0.7762 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005266/0.7701, allocations: 1.465 MB / 0.7776 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.7717, allocations: 0.9791 MB / 0.7785 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.7718, allocations: 72 kB / 0.7786 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003536/0.7754, allocations: 1.917 MB / 0.7805 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000479/0.7759, allocations: 482.5 kB / 0.7809 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007541/0.7766, allocations: 0.6451 MB / 0.7816 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003291/0.7799, allocations: 2.38 MB / 0.7839 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.78, allocations: 0 / 0.7839 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.78, allocations: 0 / 0.7839 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.936e-05/0.78, allocations: 0 / 0.7839 GB, free: 9.367 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.00305/0.7831, allocations: 1.694 MB / 0.7855 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.7831, allocations: 12.03 kB / 0.7856 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001961/0.7851, allocations: 322.1 kB / 0.7859 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.7867, allocations: 0.8665 MB / 0.7867 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.388e-05/0.7868, allocations: 74 kB / 0.7868 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.787, allocations: 108 kB / 0.7869 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.7891, allocations: 1.171 MB / 0.788 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.7892, allocations: 3.938 kB / 0.788 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.182e-05/0.7893, allocations: 43.98 kB / 0.7881 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.725e-05/0.7893, allocations: 38 kB / 0.7881 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.7909, allocations: 0.9368 MB / 0.789 GB, free: 3.973 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.006537/0.7975, allocations: 4.714 MB / 0.7936 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.7989, allocations: 0.7167 MB / 0.7943 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006633/0.7995, allocations: 402.9 kB / 0.7947 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006972/0.8003, allocations: 320.7 kB / 0.795 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/0.8003, allocations: 43.12 kB / 0.7951 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 3.406e-06/0.8003, allocations: 0 / 0.7951 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.002288/0.8026, allocations: 0.9975 MB / 0.796 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.8027, allocations: 63.95 kB / 0.7961 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.8042, allocations: 0.7948 MB / 0.7969 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.422e-05/0.8043, allocations: 41.7 kB / 0.7969 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006379/0.8049, allocations: 0.5305 MB / 0.7974 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003664/0.8053, allocations: 248.5 kB / 0.7977 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/0.8056, allocations: 154.5 kB / 0.7978 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.8058, allocations: 337.9 kB / 0.7981 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005183/0.8063, allocations: 300.7 kB / 0.7984 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007074/0.807, allocations: 0.5007 MB / 0.7989 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.8083, allocations: 0.7913 MB / 0.7997 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.8083, allocations: 0 / 0.7997 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001637/0.8099, allocations: 0.9061 MB / 0.8006 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.81, allocations: 8 kB / 0.8006 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.81, allocations: 4 kB / 0.8006 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.81, allocations: 8 kB / 0.8006 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008858/0.8109, allocations: 180.7 kB / 0.8008 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004585/0.8114, allocations: 0.6135 MB / 0.8014 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.8125, allocations: 135.2 kB / 0.8015 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.275e-05/0.8126, allocations: 35.94 kB / 0.8015 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001037/0.8136, allocations: 0.546 MB / 0.8021 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006433/0.8143, allocations: 0.489 MB / 0.8025 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001148/0.8155, allocations: 0.7913 MB / 0.8033 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.787e-06/0.8155, allocations: 0 / 0.8033 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001795/0.8173, allocations: 0.906 MB / 0.8042 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.8173, allocations: 8 kB / 0.8042 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.8173, allocations: 4 kB / 0.8042 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.8173, allocations: 8 kB / 0.8042 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006585/0.818, allocations: 171.7 kB / 0.8044 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.818, allocations: 15.92 kB / 0.8044 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.8191, allocations: 119.7 kB / 0.8045 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.405e-05/0.8191, allocations: 36 kB / 0.8045 GB, free: 3.23 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.0003314/0.8195, allocations: 228 kB / 0.8048 GB, free: 3 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.8197, allocations: 98.78 kB / 0.8048 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.8213, allocations: 0.7908 MB / 0.8056 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.8213, allocations: 8 kB / 0.8056 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.8213, allocations: 0 / 0.8056 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001138/0.8224, allocations: 0.8827 MB / 0.8065 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004009/0.8265, allocations: 2.139 MB / 0.8086 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.8265, allocations: 4 kB / 0.8086 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007371/0.8272, allocations: 155.8 kB / 0.8087 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/0.8273, allocations: 4 kB / 0.8087 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.452e-05/0.8273, allocations: 20 kB / 0.8088 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003933/0.8277, allocations: 0.5981 MB / 0.8093 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.8277, allocations: 7.922 kB / 0.8093 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/0.8299, allocations: 1.288 MB / 0.8106 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000552/0.8305, allocations: 251.7 kB / 0.8108 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.8306, allocations: 23.94 kB / 0.8109 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006548/0.8313, allocations: 67.88 kB / 0.8109 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.8314, allocations: 40.45 kB / 0.811 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/0.8315, allocations: 35.92 kB / 0.811 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001015/0.8325, allocations: 0.5421 MB / 0.8115 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8325, allocations: 0 / 0.8115 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001736/0.8342, allocations: 0.5647 MB / 0.8121 GB, free: 11.21 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.0006549/0.8349, allocations: 247 kB / 0.8123 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002403/0.8373, allocations: 1.152 MB / 0.8134 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.8373, allocations: 9.75 kB / 0.8135 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006035/0.8379, allocations: 363.5 kB / 0.8138 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/0.8403, allocations: 493.3 kB / 0.8143 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004446/0.8447, allocations: 2.724 MB / 0.8169 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008092/0.8456, allocations: 1.178 MB / 0.8181 GB, free: 5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001248/0.8468, allocations: 352 kB / 0.8184 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.8471, allocations: 79.42 kB / 0.8185 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of SimCode: time 5.81e-07/0.8471, allocations: 0 / 0.8185 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of Templates: time 0.3176/1.165, allocations: 16.9 MB / 0.835 GB, free: 221.9 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)