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.001231/0.001231, allocations: 114.2 kB / 16.37 MB, free: 6 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.001201/0.001201, allocations: 190.9 kB / 17.3 MB, free: 5.617 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.349/1.349, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.797/1.797, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001431/0.001431, allocations: 63.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2552, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.6499/0.9052, allocations: 198 MB / 0.9782 GB, free: 3.945 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0151/0.9203, allocations: 10.87 MB / 0.9888 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001696/0.9221, allocations: 43.75 kB / 0.9888 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.9237, allocations: 0.5315 MB / 0.9893 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004774/0.9285, allocations: 1.789 MB / 0.9911 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003264/0.9318, allocations: 1.161 MB / 0.9922 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004166/0.936, allocations: 2.761 MB / 0.9949 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001891/0.9379, allocations: 1.2 MB / 0.9961 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004798/0.9427, allocations: 1.626 MB / 0.9977 GB, free: 15.93 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001918/0.9446, allocations: 0.9513 MB / 0.9986 GB, free: 14.98 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002772/0.9449, allocations: 124 kB / 0.9987 GB, free: 14.86 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004009/0.9489, allocations: 1.715 MB / 1 GB, free: 13.14 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006678/0.9496, allocations: 0.522 MB / 1.001 GB, free: 12.62 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.9507, allocations: 0.7076 MB / 1.002 GB, free: 11.91 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004165/0.9549, allocations: 2.366 MB / 1.004 GB, free: 9.539 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.9549, allocations: 0 / 1.004 GB, free: 9.539 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.056e-06/0.9549, allocations: 0 / 1.004 GB, free: 9.539 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.865e-05/0.955, allocations: 0 / 1.004 GB, free: 9.539 MB / 0.795 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.002813/0.9578, allocations: 1.685 MB / 1.006 GB, free: 7.801 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.9578, allocations: 15.97 kB / 1.006 GB, free: 7.785 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.9596, allocations: 322 kB / 1.006 GB, free: 7.469 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.9612, allocations: 0.9017 MB / 1.007 GB, free: 6.523 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.326e-05/0.9613, allocations: 78 kB / 1.007 GB, free: 6.449 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.9614, allocations: 115.9 kB / 1.007 GB, free: 6.336 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.9633, allocations: 1.175 MB / 1.008 GB, free: 5.121 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.9633, allocations: 0 / 1.008 GB, free: 5.121 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.441e-05/0.9634, allocations: 44 kB / 1.008 GB, free: 5.078 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/0.9635, allocations: 40.25 kB / 1.008 GB, free: 5.043 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.965, allocations: 0.9329 MB / 1.009 GB, free: 4.109 MB / 0.795 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.005433/0.9705, allocations: 4.71 MB / 1.014 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.9716, allocations: 0.7099 MB / 1.014 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005439/0.9722, allocations: 391 kB / 1.015 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006063/0.9728, allocations: 316.8 kB / 1.015 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.9728, allocations: 47.12 kB / 1.015 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=68): time 3.777e-06/0.9729, allocations: 0 / 1.015 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of matching and sorting (n=68): time 0.001932/0.9748, allocations: 1.006 MB / 1.016 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.9749, allocations: 63.97 kB / 1.016 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009912/0.9759, allocations: 0.7868 MB / 1.017 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.139e-05/0.9759, allocations: 45.7 kB / 1.017 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/0.9763, allocations: 0.5305 MB / 1.017 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/0.9765, allocations: 244.5 kB / 1.018 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.9768, allocations: 146.6 kB / 1.018 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.9769, allocations: 342.5 kB / 1.018 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004619/0.9774, allocations: 296.7 kB / 1.018 GB, free: 9.992 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006484/0.978, allocations: 0.5093 MB / 1.019 GB, free: 9.398 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.9791, allocations: 0.7835 MB / 1.02 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.9791, allocations: 4 kB / 1.02 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001484/0.9806, allocations: 0.9069 MB / 1.021 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.9807, allocations: 12.06 kB / 1.021 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.9807, allocations: 8 kB / 1.021 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.9807, allocations: 8 kB / 1.021 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008967/0.9816, allocations: 176.7 kB / 1.021 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000421/0.982, allocations: 0.5996 MB / 1.021 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007907/0.9828, allocations: 91.28 kB / 1.021 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.486e-05/0.9829, allocations: 28 kB / 1.021 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009619/0.9839, allocations: 0.5409 MB / 1.022 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006223/0.9845, allocations: 0.5015 MB / 1.022 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001094/0.9856, allocations: 0.7874 MB / 1.023 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.258e-06/0.9856, allocations: 1.953 kB / 1.023 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001478/0.9871, allocations: 0.9058 MB / 1.024 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.9871, allocations: 8 kB / 1.024 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.9872, allocations: 9.609 kB / 1.024 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.9872, allocations: 11.94 kB / 1.024 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006335/0.9878, allocations: 164.3 kB / 1.024 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.9878, allocations: 11.98 kB / 1.024 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007095/0.9886, allocations: 71.42 kB / 1.024 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/0.9886, allocations: 35.98 kB / 1.024 GB, free: 3.492 MB / 0.8106 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.0002552/0.9889, allocations: 229.1 kB / 1.025 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.989, allocations: 102.7 kB / 1.025 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.9904, allocations: 0.7994 MB / 1.026 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.9904, allocations: 4 kB / 1.026 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.9904, allocations: 0 / 1.026 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001044/0.9915, allocations: 0.8756 MB / 1.026 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003366/0.9949, allocations: 2.136 MB / 1.028 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.9949, allocations: 0 / 1.028 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000728/0.9956, allocations: 156.9 kB / 1.029 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.9956, allocations: 4 kB / 1.029 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.042e-05/0.9957, allocations: 20.17 kB / 1.029 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003367/0.996, allocations: 0.6006 MB / 1.029 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.9961, allocations: 7.938 kB / 1.029 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.9979, allocations: 1.311 MB / 1.031 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003885/0.9983, allocations: 259.6 kB / 1.031 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.9984, allocations: 12 kB / 1.031 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/0.9989, allocations: 23.98 kB / 1.031 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/0.999, allocations: 48.44 kB / 1.031 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.999, allocations: 20 kB / 1.031 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007324/0.9997, allocations: 0.5497 MB / 1.031 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9998, allocations: 0 / 1.031 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00145/1.001, allocations: 0.5609 MB / 1.032 GB, free: 11.53 MB / 0.8262 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.0005625/1.002, allocations: 241.8 kB / 1.032 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002049/1.004, allocations: 1.16 MB / 1.033 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/1.004, allocations: 256 / 1.033 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005344/1.004, allocations: 370.8 kB / 1.034 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/1.006, allocations: 0.4924 MB / 1.034 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/1.01, allocations: 2.307 MB / 1.036 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007521/1.011, allocations: 1.174 MB / 1.038 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/1.011, allocations: 83.42 kB / 1.038 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of SimCode: time 1.202e-06/1.011, allocations: 0 / 1.038 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of Templates: time 0.02998/1.041, allocations: 21.13 MB / 1.058 GB, free: 0.8008 MB / 0.8419 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)