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.001518/0.001518, allocations: 105.4 kB / 15.7 MB, free: 24 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.00186/0.00186, allocations: 196.8 kB / 16.64 MB, free: 6.453 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.557/1.557, allocations: 205.1 MB / 222.5 MB, free: 4.582 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.739/1.739, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001538/0.001538, allocations: 69.53 kB / 0.6723 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3118, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.8526/1.164, allocations: 198 MB / 0.9775 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01664/1.181, allocations: 10.88 MB / 0.9881 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001933/1.183, allocations: 47.94 kB / 0.9881 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00201/1.185, allocations: 0.5272 MB / 0.9887 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005561/1.191, allocations: 1.783 MB / 0.9904 GB, free: 12 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003453/1.194, allocations: 1.159 MB / 0.9915 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004541/1.199, allocations: 2.775 MB / 0.9942 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002008/1.201, allocations: 1.197 MB / 0.9954 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004502/1.205, allocations: 1.612 MB / 0.997 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/1.207, allocations: 0.9558 MB / 0.9979 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001971/1.207, allocations: 122.3 kB / 0.998 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003791/1.211, allocations: 1.715 MB / 0.9997 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005859/1.212, allocations: 0.524 MB / 1 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009943/1.213, allocations: 0.7133 MB / 1.001 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004704/1.217, allocations: 2.365 MB / 1.003 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.217, allocations: 0 / 1.003 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.442e-06/1.217, allocations: 0 / 1.003 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.9e-05/1.218, allocations: 2.125 kB / 1.003 GB, free: 4.668 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.003435/1.221, allocations: 1.693 MB / 1.005 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/1.221, allocations: 10.12 kB / 1.005 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/1.223, allocations: 317.9 kB / 1.005 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/1.224, allocations: 0.9059 MB / 1.006 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.307e-05/1.224, allocations: 85 kB / 1.006 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/1.225, allocations: 102.2 kB / 1.006 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/1.227, allocations: 1.181 MB / 1.007 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/1.227, allocations: 4.469 kB / 1.007 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.934e-05/1.227, allocations: 42.06 kB / 1.007 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.262e-05/1.227, allocations: 42.55 kB / 1.007 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/1.228, allocations: 0.9322 MB / 1.008 GB, free: 1.312 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.006323/1.235, allocations: 4.708 MB / 1.013 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/1.236, allocations: 0.7133 MB / 1.014 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006408/1.237, allocations: 394 kB / 1.014 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006728/1.237, allocations: 318.6 kB / 1.014 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/1.237, allocations: 41.91 kB / 1.014 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=68): time 4.358e-06/1.237, allocations: 0 / 1.014 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=68): time 0.002467/1.24, allocations: 1.006 MB / 1.015 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/1.24, allocations: 59.38 kB / 1.015 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/1.241, allocations: 0.7939 MB / 1.016 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.252e-05/1.241, allocations: 38.45 kB / 1.016 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004255/1.242, allocations: 0.5334 MB / 1.017 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/1.242, allocations: 241.2 kB / 1.017 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/1.242, allocations: 154 kB / 1.017 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.242, allocations: 337.8 kB / 1.017 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004759/1.243, allocations: 298.5 kB / 1.018 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006745/1.244, allocations: 0.504 MB / 1.018 GB, free: 9.59 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/1.245, allocations: 0.7893 MB / 1.019 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/1.245, allocations: 2.656 kB / 1.019 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001576/1.246, allocations: 0.9021 MB / 1.02 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/1.246, allocations: 7.781 kB / 1.02 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.246, allocations: 4.656 kB / 1.02 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/1.246, allocations: 7.062 kB / 1.02 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008864/1.247, allocations: 184.1 kB / 1.02 GB, free: 8.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004256/1.248, allocations: 0.6123 MB / 1.021 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007848/1.249, allocations: 79.86 kB / 1.021 GB, free: 7.902 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.741e-05/1.249, allocations: 33.72 kB / 1.021 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008684/1.25, allocations: 0.54 MB / 1.021 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006671/1.25, allocations: 0.4962 MB / 1.022 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001124/1.251, allocations: 0.7976 MB / 1.023 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/1.251, allocations: 0 / 1.023 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.00148/1.253, allocations: 0.901 MB / 1.023 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/1.253, allocations: 11.27 kB / 1.024 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/1.253, allocations: 9.031 kB / 1.024 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/1.253, allocations: 14.91 kB / 1.024 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/1.254, allocations: 164.2 kB / 1.024 GB, free: 6.152 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/1.254, allocations: 18.02 kB / 1.024 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006779/1.254, allocations: 65.83 kB / 1.024 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-05/1.254, allocations: 37.02 kB / 1.024 GB, free: 6.09 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.0002453/1.255, allocations: 234.1 kB / 1.024 GB, free: 5.871 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/1.255, allocations: 94.66 kB / 1.024 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/1.256, allocations: 0.797 MB / 1.025 GB, free: 5.367 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/1.256, allocations: 6.688 kB / 1.025 GB, free: 5.367 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.256, allocations: 0 / 1.025 GB, free: 5.367 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001087/1.257, allocations: 0.8736 MB / 1.026 GB, free: 4.746 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003485/1.261, allocations: 2.136 MB / 1.028 GB, free: 3.285 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.261, allocations: 6.438 kB / 1.028 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007535/1.262, allocations: 153.7 kB / 1.028 GB, free: 3.246 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/1.262, allocations: 4.875 kB / 1.028 GB, free: 3.246 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.375e-05/1.262, allocations: 22.36 kB / 1.028 GB, free: 3.234 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003482/1.262, allocations: 0.5996 MB / 1.029 GB, free: 2.629 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.262, allocations: 2.75 kB / 1.029 GB, free: 2.629 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/1.264, allocations: 1.306 MB / 1.03 GB, free: 1.848 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/1.264, allocations: 257.6 kB / 1.03 GB, free: 1.633 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/1.264, allocations: 16.69 kB / 1.03 GB, free: 1.621 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005209/1.265, allocations: 20.98 kB / 1.03 GB, free: 1.609 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.538e-05/1.265, allocations: 50.94 kB / 1.03 GB, free: 1.582 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.972e-05/1.265, allocations: 21.03 kB / 1.03 GB, free: 1.578 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007336/1.266, allocations: 0.5417 MB / 1.031 GB, free: 1.277 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/1.266, allocations: 3.938 kB / 1.031 GB, free: 1.273 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001556/1.267, allocations: 0.5633 MB / 1.031 GB, free: 1.055 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.0006087/1.268, allocations: 232.8 kB / 1.032 GB, free: 0.8359 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00226/1.27, allocations: 1.173 MB / 1.033 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.27, allocations: 3.938 kB / 1.033 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005973/1.271, allocations: 366.9 kB / 1.033 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/1.273, allocations: 495.6 kB / 1.034 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/1.277, allocations: 2.235 MB / 1.036 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007994/1.278, allocations: 1.167 MB / 1.037 GB, free: 11.35 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001083/1.279, allocations: 351.8 kB / 1.037 GB, free: 11 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/1.279, allocations: 79.42 kB / 1.037 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of SimCode: time 1.113e-06/1.279, allocations: 4 kB / 1.037 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of Templates: time 0.03175/1.311, allocations: 17.51 MB / 1.054 GB, free: 9.715 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)