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.001031/0.001031, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00696/0.00696, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.533/1.533, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.756/1.756, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.000519/0.0005191, allocations: 20.88 kB / 0.6743 GB, free: 25.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2639, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.7535/1.017, allocations: 193.1 MB / 0.9765 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01785/1.035, allocations: 10.8 MB / 0.987 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002652/1.038, allocations: 39.12 kB / 0.9871 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002217/1.04, allocations: 447.4 kB / 0.9875 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007735/1.048, allocations: 1.682 MB / 0.9891 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004483/1.053, allocations: 1.045 MB / 0.9902 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006083/1.059, allocations: 3.722 MB / 0.9938 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002378/1.061, allocations: 0.9912 MB / 0.9948 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005816/1.067, allocations: 1.418 MB / 0.9962 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002613/1.07, allocations: 0.9226 MB / 0.9971 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004947/1.07, allocations: 55.84 kB / 0.9971 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005164/1.075, allocations: 1.901 MB / 0.999 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00123/1.076, allocations: 449.4 kB / 0.9994 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002494/1.079, allocations: 0.6513 MB / 1 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00557/1.085, allocations: 2.331 MB / 1.002 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/1.085, allocations: 2.844 kB / 1.002 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.264e-06/1.085, allocations: 4 kB / 1.002 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.097e-05/1.085, allocations: 0 / 1.002 GB, free: 5.344 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.00396/1.089, allocations: 1.438 MB / 1.004 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/1.089, allocations: 8.438 kB / 1.004 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002322/1.091, allocations: 317.9 kB / 1.004 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002067/1.093, allocations: 0.8688 MB / 1.005 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.144e-05/1.093, allocations: 81.44 kB / 1.005 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002811/1.094, allocations: 101.3 kB / 1.005 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/1.096, allocations: 1.174 MB / 1.006 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/1.096, allocations: 2.562 kB / 1.006 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/1.096, allocations: 46.81 kB / 1.006 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.518e-05/1.096, allocations: 41.97 kB / 1.006 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/1.098, allocations: 0.9352 MB / 1.007 GB, free: 2.176 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.007076/1.105, allocations: 4.715 MB / 1.012 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/1.107, allocations: 0.7105 MB / 1.012 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007223/1.107, allocations: 388.7 kB / 1.013 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006692/1.108, allocations: 329.7 kB / 1.013 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/1.108, allocations: 43.88 kB / 1.013 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=68): time 3.306e-06/1.108, allocations: 0 / 1.013 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of matching and sorting (n=68): time 0.002238/1.11, allocations: 1.005 MB / 1.014 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.056e-05/1.11, allocations: 60.16 kB / 1.014 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/1.112, allocations: 0.7898 MB / 1.015 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.636e-05/1.112, allocations: 36.55 kB / 1.015 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004879/1.113, allocations: 0.5339 MB / 1.016 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/1.113, allocations: 240.5 kB / 1.016 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/1.113, allocations: 74.52 kB / 1.016 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.113, allocations: 342.1 kB / 1.016 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/1.114, allocations: 290.8 kB / 1.016 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006576/1.114, allocations: 0.5009 MB / 1.017 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/1.116, allocations: 0.7969 MB / 1.018 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/1.116, allocations: 2.781 kB / 1.018 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001701/1.117, allocations: 0.9006 MB / 1.019 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002033/1.118, allocations: 230.4 kB / 1.019 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/1.118, allocations: 9.875 kB / 1.019 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.149e-05/1.118, allocations: 7.906 kB / 1.019 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000909/1.119, allocations: 184.8 kB / 1.019 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004645/1.119, allocations: 0.5937 MB / 1.02 GB, free: 8.598 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/1.12, allocations: 137.1 kB / 1.02 GB, free: 8.516 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.667e-05/1.12, allocations: 32.69 kB / 1.02 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/1.12, allocations: 10.09 kB / 1.02 GB, free: 8.504 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00129/1.122, allocations: 0.7912 MB / 1.021 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/1.122, allocations: 9.109 kB / 1.021 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.122, allocations: 8.281 kB / 1.021 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/1.122, allocations: 170.3 kB / 1.021 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/1.122, allocations: 11.5 kB / 1.021 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/1.123, allocations: 118.5 kB / 1.021 GB, free: 8.004 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.782e-05/1.124, allocations: 40.58 kB / 1.021 GB, free: 7.988 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.0007688/1.124, allocations: 399.7 kB / 1.021 GB, free: 7.676 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/1.125, allocations: 100.3 kB / 1.021 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/1.126, allocations: 0.7901 MB / 1.022 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/1.126, allocations: 9.719 kB / 1.022 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/1.126, allocations: 1.75 kB / 1.022 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/1.127, allocations: 0.8763 MB / 1.023 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004134/1.132, allocations: 2.143 MB / 1.025 GB, free: 5.082 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/1.132, allocations: 2.594 kB / 1.025 GB, free: 5.082 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000737/1.132, allocations: 158.4 kB / 1.025 GB, free: 5.043 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-05/1.132, allocations: 4.594 kB / 1.025 GB, free: 5.043 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.03e-05/1.132, allocations: 16.88 kB / 1.025 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000343/1.133, allocations: 0.6048 MB / 1.026 GB, free: 4.426 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.133, allocations: 6.891 kB / 1.026 GB, free: 4.422 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/1.135, allocations: 1.302 MB / 1.027 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005865/1.135, allocations: 257.7 kB / 1.027 GB, free: 3.434 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/1.136, allocations: 13.06 kB / 1.027 GB, free: 3.426 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008368/1.136, allocations: 84.59 kB / 1.028 GB, free: 3.375 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.911e-05/1.136, allocations: 46.58 kB / 1.028 GB, free: 3.352 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/1.137, allocations: 27.27 kB / 1.028 GB, free: 3.344 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008628/1.137, allocations: 0.5406 MB / 1.028 GB, free: 3.043 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.81e-07/1.137, allocations: 0 / 1.028 GB, free: 3.043 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002017/1.139, allocations: 0.5552 MB / 1.029 GB, free: 2.922 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.0007738/1.14, allocations: 240.9 kB / 1.029 GB, free: 2.766 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002575/1.143, allocations: 1.159 MB / 1.03 GB, free: 2.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.143, allocations: 3.281 kB / 1.03 GB, free: 2.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006308/1.143, allocations: 368 kB / 1.03 GB, free: 2.086 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002939/1.146, allocations: 482.6 kB / 1.031 GB, free: 1.848 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005527/1.152, allocations: 2.821 MB / 1.034 GB, free: 15.87 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/1.153, allocations: 1.171 MB / 1.035 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001795/1.155, allocations: 351.8 kB / 1.035 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/1.156, allocations: 79.42 kB / 1.035 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of SimCode: time 2.174e-06/1.156, allocations: 0 / 1.035 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of Templates: time 0.03627/1.192, allocations: 16.85 MB / 1.052 GB, free: 13.71 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: