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.001176/0.001181, allocations: 107.1 kB / 16.29 MB, free: 6.023 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.001152/0.001152, allocations: 185.6 kB / 17.22 MB, free: 5.629 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.43/1.43, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.84/1.84, allocations: 292.3 MB / 0.5495 GB, free: 17.39 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.002391/0.002391, allocations: 71.91 kB / 0.6722 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2503, allocations: 114.6 MB / 0.7841 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.7073/0.9577, allocations: 198 MB / 0.9774 GB, free: 4.414 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01545/0.9732, allocations: 10.87 MB / 0.988 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001725/0.9749, allocations: 43.75 kB / 0.9881 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.9769, allocations: 0.5277 MB / 0.9886 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005214/0.9821, allocations: 1.792 MB / 0.9903 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.9852, allocations: 1.152 MB / 0.9915 GB, free: 6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003692/0.9889, allocations: 2.777 MB / 0.9942 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001905/0.9909, allocations: 1.203 MB / 0.9954 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004628/0.9955, allocations: 1.623 MB / 0.9969 GB, free: 404 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.9975, allocations: 0.9456 MB / 0.9979 GB, free: 15.44 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003022/0.9978, allocations: 124 kB / 0.998 GB, free: 15.32 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003572/1.001, allocations: 1.715 MB / 0.9997 GB, free: 13.61 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006307/1.002, allocations: 0.5143 MB / 1 GB, free: 13.09 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000934/1.003, allocations: 0.7153 MB / 1.001 GB, free: 12.37 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003897/1.007, allocations: 2.36 MB / 1.003 GB, free: 10 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/1.007, allocations: 4 kB / 1.003 GB, free: 10 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.774e-06/1.007, allocations: 0 / 1.003 GB, free: 10 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.7e-05/1.007, allocations: 0 / 1.003 GB, free: 10 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.00278/1.01, allocations: 1.685 MB / 1.005 GB, free: 8.262 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.01, allocations: 8.031 kB / 1.005 GB, free: 8.254 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/1.012, allocations: 326 kB / 1.005 GB, free: 7.934 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/1.013, allocations: 0.8664 MB / 1.006 GB, free: 7.023 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.522e-05/1.013, allocations: 74 kB / 1.006 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/1.013, allocations: 107.9 kB / 1.006 GB, free: 6.848 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/1.015, allocations: 1.183 MB / 1.007 GB, free: 5.625 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/1.015, allocations: 3.938 kB / 1.007 GB, free: 5.621 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.731e-05/1.015, allocations: 44 kB / 1.007 GB, free: 5.578 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/1.015, allocations: 38 kB / 1.007 GB, free: 5.543 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/1.017, allocations: 0.9374 MB / 1.008 GB, free: 4.605 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.006728/1.024, allocations: 4.703 MB / 1.013 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/1.025, allocations: 0.7117 MB / 1.014 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005297/1.025, allocations: 402.2 kB / 1.014 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006062/1.026, allocations: 315.9 kB / 1.014 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/1.026, allocations: 43.12 kB / 1.014 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=68): time 2.796e-06/1.026, allocations: 1.312 kB / 1.014 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of matching and sorting (n=68): time 0.001955/1.028, allocations: 0.9975 MB / 1.015 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/1.028, allocations: 59.97 kB / 1.015 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009939/1.029, allocations: 0.7906 MB / 1.016 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-05/1.029, allocations: 45.64 kB / 1.016 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/1.03, allocations: 0.5392 MB / 1.017 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/1.03, allocations: 244.5 kB / 1.017 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/1.03, allocations: 146.6 kB / 1.017 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.03, allocations: 337.9 kB / 1.017 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004604/1.031, allocations: 296.7 kB / 1.018 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006388/1.031, allocations: 0.5132 MB / 1.018 GB, free: 9.898 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/1.032, allocations: 0.7807 MB / 1.019 GB, free: 9.051 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.032, allocations: 4 kB / 1.019 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001473/1.034, allocations: 0.9074 MB / 1.02 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/1.034, allocations: 8 kB / 1.02 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.034, allocations: 8.031 kB / 1.02 GB, free: 8.117 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/1.034, allocations: 8 kB / 1.02 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008854/1.035, allocations: 183.7 kB / 1.02 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003887/1.035, allocations: 0.5976 MB / 1.021 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/1.036, allocations: 87.3 kB / 1.021 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.514e-05/1.036, allocations: 35.98 kB / 1.021 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008736/1.037, allocations: 0.537 MB / 1.021 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006019/1.038, allocations: 0.5038 MB / 1.022 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001077/1.039, allocations: 0.7844 MB / 1.023 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.598e-06/1.039, allocations: 7.938 kB / 1.023 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001457/1.04, allocations: 0.9019 MB / 1.023 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/1.04, allocations: 5.875 kB / 1.023 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/1.04, allocations: 8 kB / 1.023 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/1.04, allocations: 11.94 kB / 1.023 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006267/1.041, allocations: 167.7 kB / 1.024 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/1.041, allocations: 12.44 kB / 1.024 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006911/1.042, allocations: 75.41 kB / 1.024 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.914e-05/1.042, allocations: 33.25 kB / 1.024 GB, free: 3.992 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.0002858/1.042, allocations: 229.1 kB / 1.024 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/1.042, allocations: 106.7 kB / 1.024 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/1.043, allocations: 0.7846 MB / 1.025 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.044, allocations: 8 kB / 1.025 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.044, allocations: 3.938 kB / 1.025 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001019/1.045, allocations: 0.8827 MB / 1.026 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/1.048, allocations: 2.133 MB / 1.028 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.048, allocations: 4 kB / 1.028 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007189/1.049, allocations: 153.6 kB / 1.028 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/1.049, allocations: 8 kB / 1.028 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/1.049, allocations: 19.98 kB / 1.028 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000295/1.049, allocations: 0.5899 MB / 1.028 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.049, allocations: 7.969 kB / 1.029 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/1.051, allocations: 1.315 MB / 1.03 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004107/1.051, allocations: 259.6 kB / 1.03 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/1.051, allocations: 16 kB / 1.03 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/1.052, allocations: 23.98 kB / 1.03 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.513e-05/1.052, allocations: 36.52 kB / 1.03 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-05/1.052, allocations: 29.67 kB / 1.03 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007279/1.053, allocations: 0.538 MB / 1.031 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/1.053, allocations: 0 / 1.031 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001396/1.054, allocations: 0.5648 MB / 1.031 GB, free: 12.04 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.0005502/1.055, allocations: 245.5 kB / 1.031 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002066/1.057, allocations: 1.159 MB / 1.033 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/1.057, allocations: 4 kB / 1.033 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005479/1.057, allocations: 367 kB / 1.033 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/1.059, allocations: 494.7 kB / 1.033 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003526/1.063, allocations: 2.239 MB / 1.036 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007653/1.064, allocations: 1.174 MB / 1.037 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001025/1.065, allocations: 350.6 kB / 1.037 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/1.065, allocations: 75.42 kB / 1.037 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of SimCode: time 7.52e-07/1.065, allocations: 4 kB / 1.037 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of Templates: time 0.02975/1.095, allocations: 17.51 MB / 1.054 GB, free: 4.801 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)