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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5097/0.5097, allocations: 87.51 MB / 104.9 MB, free: 13 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 349.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009518/0.0009518, allocations: 106.8 kB / 420 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 59.91 kB / 0.4891 GB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2963, allocations: 70.06 MB / 0.5575 GB, free: 44.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.5155/0.8119, allocations: 195.7 MB / 0.7486 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01911/0.831, allocations: 10.97 MB / 0.7593 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002139/0.8332, allocations: 40.81 kB / 0.7594 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002104/0.8354, allocations: 453.1 kB / 0.7598 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.006931/0.8423, allocations: 1.67 MB / 0.7614 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004962/0.8473, allocations: 1.053 MB / 0.7625 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.006546/0.8539, allocations: 3.766 MB / 0.7662 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002427/0.8564, allocations: 1.024 MB / 0.7672 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007474/0.8639, allocations: 1.485 MB / 0.7686 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002501/0.8664, allocations: 0.9826 MB / 0.7696 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002944/0.8667, allocations: 72.31 kB / 0.7696 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004964/0.8717, allocations: 1.915 MB / 0.7715 GB, free: 496 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000731/0.8724, allocations: 481.5 kB / 0.772 GB, free: 436 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.8735, allocations: 0.6599 MB / 0.7726 GB, free: 228 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004574/0.8781, allocations: 2.367 MB / 0.7749 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8782, allocations: 0.625 kB / 0.7749 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8782, allocations: 0 / 0.7749 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.68e-05/0.8782, allocations: 0 / 0.7749 GB, free: 15.93 MB / 0.5261 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.004171/0.8824, allocations: 1.694 MB / 0.7766 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.8824, allocations: 9.266 kB / 0.7766 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003096/0.8856, allocations: 323 kB / 0.7769 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/0.8882, allocations: 0.8712 MB / 0.7777 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.078e-05/0.8883, allocations: 76.94 kB / 0.7778 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/0.8886, allocations: 105.7 kB / 0.7779 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002906/0.8915, allocations: 1.187 MB / 0.7791 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.969e-05/0.8915, allocations: 3.219 kB / 0.7791 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.8917, allocations: 38.28 kB / 0.7791 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.771e-05/0.8918, allocations: 36.72 kB / 0.7791 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002611/0.8944, allocations: 0.941 MB / 0.7801 GB, free: 14.09 MB / 0.5261 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.008406/0.9028, allocations: 4.703 MB / 0.7847 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.9049, allocations: 0.7198 MB / 0.7854 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.9059, allocations: 404.8 kB / 0.7857 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00086/0.9068, allocations: 313.6 kB / 0.786 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.9068, allocations: 50.69 kB / 0.7861 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 3.918e-06/0.9069, allocations: 0 / 0.7861 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68): time 0.003431/0.9103, allocations: 1.005 MB / 0.7871 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.9104, allocations: 60.72 kB / 0.7871 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.9121, allocations: 0.7905 MB / 0.7879 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.9123, allocations: 37.64 kB / 0.7879 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005807/0.9129, allocations: 0.5365 MB / 0.7885 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003679/0.9132, allocations: 246 kB / 0.7887 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003684/0.9136, allocations: 149.8 kB / 0.7888 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.9138, allocations: 341.8 kB / 0.7892 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007935/0.9146, allocations: 302.7 kB / 0.7895 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.9157, allocations: 0.4984 MB / 0.7899 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001983/0.9177, allocations: 0.7935 MB / 0.7907 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.9177, allocations: 2.938 kB / 0.7907 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002722/0.9205, allocations: 0.911 MB / 0.7916 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.9205, allocations: 8 kB / 0.7916 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.9205, allocations: 8.609 kB / 0.7916 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.9206, allocations: 8 kB / 0.7916 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.922, allocations: 180.1 kB / 0.7918 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005031/0.9225, allocations: 0.6002 MB / 0.7924 GB, free: 4.555 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.924, allocations: 135.2 kB / 0.7925 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.9241, allocations: 36 kB / 0.7926 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001508/0.9256, allocations: 0.5511 MB / 0.7931 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001061/0.9267, allocations: 0.497 MB / 0.7936 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001846/0.9286, allocations: 0.7933 MB / 0.7944 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.649e-06/0.9286, allocations: 0 / 0.7944 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.00237/0.931, allocations: 0.9063 MB / 0.7952 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.931, allocations: 8 kB / 0.7952 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.931, allocations: 4.625 kB / 0.7953 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.931, allocations: 8 kB / 0.7953 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.9321, allocations: 170 kB / 0.7954 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-05/0.9322, allocations: 10.62 kB / 0.7954 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.9336, allocations: 127.3 kB / 0.7956 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-05/0.9337, allocations: 35.98 kB / 0.7956 GB, free: 1.195 MB / 0.5261 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.0002877/0.934, allocations: 230.3 kB / 0.7958 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/0.9343, allocations: 98.78 kB / 0.7959 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/0.9365, allocations: 0.7925 MB / 0.7967 GB, free: 76 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.9365, allocations: 8 kB / 0.7967 GB, free: 68 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.9365, allocations: 4 kB / 0.7967 GB, free: 64 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001779/0.9383, allocations: 0.8773 MB / 0.7975 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005461/0.9438, allocations: 2.144 MB / 0.7996 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.9438, allocations: 4 kB / 0.7996 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.9451, allocations: 151.5 kB / 0.7998 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/0.9451, allocations: 4.281 kB / 0.7998 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.688e-05/0.9452, allocations: 27.98 kB / 0.7998 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004078/0.9456, allocations: 0.5923 MB / 0.8004 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.9456, allocations: 6.625 kB / 0.8004 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02942/0.9751, allocations: 7.908 MB / 0.8081 GB, free: 4.043 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009944/0.9761, allocations: 259.5 kB / 0.8084 GB, free: 3.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/0.9764, allocations: 20 kB / 0.8084 GB, free: 3.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.9776, allocations: 67.92 kB / 0.8085 GB, free: 3.684 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.9777, allocations: 43.08 kB / 0.8085 GB, free: 3.645 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-05/0.9778, allocations: 27.98 kB / 0.8085 GB, free: 3.617 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001195/0.979, allocations: 0.546 MB / 0.8091 GB, free: 3.059 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.71e-07/0.979, allocations: 4 kB / 0.8091 GB, free: 3.055 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005541/0.9846, allocations: 0.8693 MB / 0.8099 GB, free: 2.184 MB / 0.5417 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.001005/0.9856, allocations: 242.2 kB / 0.8101 GB, free: 1.965 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003554/0.9892, allocations: 1.163 MB / 0.8113 GB, free: 0.8438 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.9892, allocations: 0 / 0.8113 GB, free: 0.8438 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.9903, allocations: 373 kB / 0.8116 GB, free: 0.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004151/0.9944, allocations: 484.4 kB / 0.8121 GB, free: 28 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007288/1.002, allocations: 3.161 MB / 0.8152 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/1.003, allocations: 1.201 MB / 0.8164 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002467/1.005, allocations: 371.8 kB / 0.8167 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004868/1.006, allocations: 87.42 kB / 0.8168 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of SimCode: time 9.61e-07/1.006, allocations: 3.938 kB / 0.8168 GB, free: 11.13 MB / 0.5573 GB Notification: Performance of Templates: time 0.05783/1.064, allocations: 20.07 MB / 0.8364 GB, free: 7.352 MB / 0.573 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)