Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.00126/0.00126, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.009166/0.009166, allocations: 171.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6227/0.6227, allocations: 95.63 MB / 366.4 MB, free: 10.22 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006497/0.0006498, allocations: 12 kB / 447.5 MB, free: 8.957 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3601, allocations: 70.33 MB / 0.5057 GB, free: 16.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.5781/0.9382, allocations: 160.1 MB / 0.662 GB, free: 432 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01455/0.9528, allocations: 8.852 MB / 0.6707 GB, free: 164 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002953/0.9558, allocations: 41.88 kB / 0.6707 GB, free: 164 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002214/0.9581, allocations: 369.1 kB / 0.6711 GB, free: 160 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004787/0.9629, allocations: 1.007 MB / 0.6721 GB, free: 104 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004306/0.9672, allocations: 1.148 MB / 0.6732 GB, free: 48 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005574/0.9728, allocations: 3.638 MB / 0.6767 GB, free: 44 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002953/0.9758, allocations: 0.9101 MB / 0.6776 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003165/0.979, allocations: 0.8556 MB / 0.6785 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002476/0.9815, allocations: 0.8763 MB / 0.6793 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004859/0.982, allocations: 49.25 kB / 0.6794 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003545/0.9855, allocations: 0.7402 MB / 0.6801 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009109/0.9865, allocations: 320.8 kB / 0.6804 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002041/0.9885, allocations: 0.6303 MB / 0.681 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004981/0.9935, allocations: 1.92 MB / 0.6829 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.9935, allocations: 0 / 0.6829 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.186e-06/0.9935, allocations: 0 / 0.6829 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.242e-05/0.9936, allocations: 0 / 0.6829 GB, free: 15.65 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.003634/0.9973, allocations: 1.49 MB / 0.6843 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.9973, allocations: 12.39 kB / 0.6844 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006126/0.9979, allocations: 163.8 kB / 0.6845 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.9995, allocations: 0.8214 MB / 0.6853 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.543e-05/0.9996, allocations: 71.88 kB / 0.6854 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.9997, allocations: 96.84 kB / 0.6855 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/1.002, allocations: 1.122 MB / 0.6866 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/1.002, allocations: 2.625 kB / 0.6866 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.771e-05/1.002, allocations: 40.34 kB / 0.6866 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/1.002, allocations: 22.91 kB / 0.6866 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/1.003, allocations: 0.8606 MB / 0.6875 GB, free: 13.54 MB / 0.4981 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.007816/1.011, allocations: 4.961 MB / 0.6923 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/1.013, allocations: 0.6378 MB / 0.6929 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005529/1.013, allocations: 327.6 kB / 0.6932 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00335/1.017, allocations: 1.873 MB / 0.6951 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/1.017, allocations: 40.94 kB / 0.6951 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=58): time 3.005e-06/1.017, allocations: 0 / 0.6951 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63): time 0.004537/1.021, allocations: 1.98 MB / 0.6971 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.493e-05/1.021, allocations: 139.5 kB / 0.6972 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/1.023, allocations: 0.8759 MB / 0.698 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-05/1.023, allocations: 43.64 kB / 0.6981 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004675/1.023, allocations: 0.5536 MB / 0.6986 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/1.023, allocations: 232.2 kB / 0.6988 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/1.024, allocations: 82.98 kB / 0.6989 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001573/1.024, allocations: 338.5 kB / 0.6992 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006061/1.024, allocations: 336.1 kB / 0.6996 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008132/1.025, allocations: 0.5789 MB / 0.7001 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/1.027, allocations: 0.9796 MB / 0.7011 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.027, allocations: 3.344 kB / 0.7011 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002155/1.029, allocations: 1.173 MB / 0.7022 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003236/1.029, allocations: 416.9 kB / 0.7026 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/1.029, allocations: 8.312 kB / 0.7026 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.224e-05/1.029, allocations: 10.88 kB / 0.7027 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/1.03, allocations: 231 kB / 0.7029 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004017/1.031, allocations: 0.6047 MB / 0.7035 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/1.032, allocations: 93.11 kB / 0.7036 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.449e-05/1.032, allocations: 40.34 kB / 0.7036 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/1.032, allocations: 7.688 kB / 0.7036 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0016/1.033, allocations: 1.048 MB / 0.7046 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.033, allocations: 5.125 kB / 0.7046 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/1.033, allocations: 18.69 kB / 0.7046 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006592/1.034, allocations: 203.2 kB / 0.7048 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/1.034, allocations: 17.3 kB / 0.7049 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008233/1.035, allocations: 88 kB / 0.7049 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.397e-05/1.035, allocations: 40.69 kB / 0.705 GB, free: 1.402 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 4 * 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.0006912/1.036, allocations: 382.9 kB / 0.7053 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/1.036, allocations: 109.5 kB / 0.7054 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/1.038, allocations: 0.7892 MB / 0.7062 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/1.038, allocations: 6.5 kB / 0.7062 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.038, allocations: 0.9062 kB / 0.7062 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/1.038, allocations: 3.984 kB / 0.7062 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/1.041, allocations: 1.716 MB / 0.7079 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/1.041, allocations: 0 / 0.7079 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008224/1.042, allocations: 159.6 kB / 0.7081 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/1.042, allocations: 3.984 kB / 0.7081 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/1.042, allocations: 16 kB / 0.7081 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003242/1.042, allocations: 0.586 MB / 0.7086 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/1.042, allocations: 6.469 kB / 0.7087 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/1.044, allocations: 1.17 MB / 0.7098 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005005/1.044, allocations: 251.7 kB / 0.71 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/1.045, allocations: 12 kB / 0.71 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004962/1.045, allocations: 51.95 kB / 0.7101 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.045, allocations: 50.88 kB / 0.7101 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.148e-05/1.045, allocations: 27.92 kB / 0.7102 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008722/1.046, allocations: 0.583 MB / 0.7107 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.71e-07/1.046, allocations: 0 / 0.7107 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001884/1.048, allocations: 0.5311 MB / 0.7113 GB, free: 11.67 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (limPID.I.y,vol.dynBal.medium.p,vol.dynBal.medium.T,vol.dynBal.mC[1],senVolFlo.d,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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009008/1.049, allocations: 347.5 kB / 0.7116 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003199/1.052, allocations: 1.746 MB / 0.7133 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.052, allocations: 0.9375 kB / 0.7133 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007812/1.053, allocations: 367.9 kB / 0.7136 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/1.055, allocations: 438 kB / 0.7141 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00448/1.06, allocations: 2.7 MB / 0.7167 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007309/1.061, allocations: 1.116 MB / 0.7178 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001319/1.062, allocations: 292 kB / 0.7181 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/1.062, allocations: 83.42 kB / 0.7182 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of SimCode: time 2.725e-06/1.062, allocations: 0 / 0.7182 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of Templates: time 0.03639/1.099, allocations: 19.01 MB / 0.7367 GB, free: 1.805 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) Environment - environmentSimulation: