Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001095/0.001096, allocations: 108 kB / 15.61 MB, free: 152 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.001143/0.001143, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.453/1.453, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 292.3 MB / 0.5488 GB, free: 12.82 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 72.59 kB / 0.6715 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2946, allocations: 114.6 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.7881/1.083, allocations: 198 MB / 0.9767 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01925/1.102, allocations: 10.87 MB / 0.9873 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003062/1.105, allocations: 48.44 kB / 0.9874 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002262/1.108, allocations: 0.5262 MB / 0.9879 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007807/1.115, allocations: 1.783 MB / 0.9896 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004787/1.12, allocations: 1.163 MB / 0.9908 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005094/1.125, allocations: 2.756 MB / 0.9935 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/1.128, allocations: 1.207 MB / 0.9946 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005571/1.133, allocations: 1.61 MB / 0.9962 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/1.135, allocations: 0.9446 MB / 0.9971 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003295/1.136, allocations: 125.2 kB / 0.9973 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00531/1.141, allocations: 1.721 MB / 0.9989 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0008949/1.142, allocations: 0.5244 MB / 0.9994 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001335/1.143, allocations: 0.7146 MB / 1 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007737/1.151, allocations: 2.328 MB / 1.002 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.365e-05/1.151, allocations: 0 / 1.002 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.258e-06/1.151, allocations: 0 / 1.002 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.143e-05/1.151, allocations: 2.906 kB / 1.002 GB, free: 4.57 MB / 0.7325 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.005647/1.157, allocations: 1.686 MB / 1.004 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.625e-05/1.157, allocations: 13.56 kB / 1.004 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002458/1.16, allocations: 316.2 kB / 1.004 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/1.162, allocations: 0.8679 MB / 1.005 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.21e-05/1.162, allocations: 77.22 kB / 1.005 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/1.162, allocations: 103.8 kB / 1.005 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/1.164, allocations: 1.18 MB / 1.007 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/1.164, allocations: 4 kB / 1.007 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.066e-05/1.164, allocations: 37.75 kB / 1.007 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.693e-05/1.165, allocations: 43.14 kB / 1.007 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/1.166, allocations: 0.9323 MB / 1.008 GB, free: 1.246 MB / 0.7325 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.006963/1.173, allocations: 4.741 MB / 1.012 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/1.174, allocations: 0.7223 MB / 1.013 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005594/1.175, allocations: 393.5 kB / 1.013 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006183/1.176, allocations: 317.1 kB / 1.014 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/1.176, allocations: 40.44 kB / 1.014 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=68): time 2.655e-06/1.176, allocations: 0 / 1.014 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of matching and sorting (n=68): time 0.002229/1.178, allocations: 1.001 MB / 1.015 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/1.178, allocations: 59.88 kB / 1.015 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/1.179, allocations: 0.789 MB / 1.015 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-05/1.179, allocations: 39.33 kB / 1.015 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/1.18, allocations: 0.5363 MB / 1.016 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002639/1.18, allocations: 247.4 kB / 1.016 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002491/1.18, allocations: 152.4 kB / 1.016 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.18, allocations: 343.5 kB / 1.017 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004695/1.181, allocations: 295 kB / 1.017 GB, free: 9.91 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006886/1.181, allocations: 0.4992 MB / 1.017 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/1.182, allocations: 0.79 MB / 1.018 GB, free: 8.984 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/1.183, allocations: 0 / 1.018 GB, free: 8.984 MB / 0.7481 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00161/1.184, allocations: 0.9114 MB / 1.019 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/1.184, allocations: 6.719 kB / 1.019 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/1.184, allocations: 5.469 kB / 1.019 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-05/1.184, allocations: 9.25 kB / 1.019 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009293/1.185, allocations: 182.5 kB / 1.019 GB, free: 8.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004437/1.186, allocations: 0.6082 MB / 1.02 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008664/1.186, allocations: 80.11 kB / 1.02 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.938e-05/1.187, allocations: 37.61 kB / 1.02 GB, free: 7.805 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001085/1.188, allocations: 0.5391 MB / 1.021 GB, free: 7.484 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007181/1.188, allocations: 0.4998 MB / 1.021 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001164/1.19, allocations: 0.7964 MB / 1.022 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.939e-06/1.19, allocations: 2.688 kB / 1.022 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001527/1.191, allocations: 0.9021 MB / 1.023 GB, free: 6.105 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/1.191, allocations: 7.188 kB / 1.023 GB, free: 6.105 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.191, allocations: 2.938 kB / 1.023 GB, free: 6.105 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/1.191, allocations: 13.5 kB / 1.023 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006408/1.192, allocations: 171 kB / 1.023 GB, free: 6.062 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/1.192, allocations: 7.625 kB / 1.023 GB, free: 6.062 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008033/1.193, allocations: 70 kB / 1.023 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-05/1.193, allocations: 32.5 kB / 1.023 GB, free: 6.008 MB / 0.7481 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.0003139/1.193, allocations: 238.6 kB / 1.023 GB, free: 5.785 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/1.193, allocations: 94.84 kB / 1.023 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/1.195, allocations: 0.7929 MB / 1.024 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/1.195, allocations: 7.75 kB / 1.024 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.195, allocations: 4 kB / 1.024 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001093/1.196, allocations: 0.8785 MB / 1.025 GB, free: 4.656 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003571/1.199, allocations: 2.138 MB / 1.027 GB, free: 3.195 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.199, allocations: 2.656 kB / 1.027 GB, free: 3.195 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007621/1.2, allocations: 157.7 kB / 1.027 GB, free: 3.156 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/1.2, allocations: 5.312 kB / 1.027 GB, free: 3.156 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.337e-05/1.2, allocations: 15.97 kB / 1.027 GB, free: 3.148 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003563/1.201, allocations: 0.6031 MB / 1.028 GB, free: 2.539 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.201, allocations: 4.531 kB / 1.028 GB, free: 2.539 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/1.203, allocations: 1.303 MB / 1.029 GB, free: 1.762 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005061/1.203, allocations: 254.6 kB / 1.029 GB, free: 1.547 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/1.203, allocations: 23.81 kB / 1.029 GB, free: 1.531 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005273/1.204, allocations: 22.02 kB / 1.029 GB, free: 1.52 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/1.204, allocations: 50.84 kB / 1.029 GB, free: 1.492 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.417e-05/1.204, allocations: 21.78 kB / 1.029 GB, free: 1.488 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009211/1.205, allocations: 0.5411 MB / 1.03 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/1.205, allocations: 0 / 1.03 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001925/1.207, allocations: 0.5623 MB / 1.03 GB, free: 0.8867 MB / 0.7481 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.U,vol.dynBal.m,vol.dynBal.mXi[1],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.0006422/1.207, allocations: 248.3 kB / 1.031 GB, free: 0.6562 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002652/1.21, allocations: 1.293 MB / 1.032 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/1.21, allocations: 0 / 1.032 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005686/1.211, allocations: 367.6 kB / 1.032 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/1.213, allocations: 494.9 kB / 1.033 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004207/1.217, allocations: 2.269 MB / 1.035 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007654/1.218, allocations: 1.171 MB / 1.036 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001221/1.219, allocations: 355.8 kB / 1.037 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/1.22, allocations: 83.42 kB / 1.037 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of SimCode: time 1.433e-06/1.22, allocations: 0 / 1.037 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of Templates: time 0.038/1.258, allocations: 17.51 MB / 1.054 GB, free: 9.371 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)