Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.006302/0.006302, allocations: 100.9 kB / 15.73 MB, free: 6.035 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.001157/0.001157, allocations: 197.9 kB / 16.68 MB, free: 5.953 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.443/1.443, allocations: 205.1 MB / 222.6 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.527/1.527, allocations: 251.7 MB / 0.5094 GB, free: 3.027 MB / 414.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.001453/0.001453, allocations: 80.27 kB / 0.7258 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2722, allocations: 104.7 MB / 0.8281 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.8027/1.075, allocations: 198.2 MB / 1.022 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01933/1.094, allocations: 10.97 MB / 1.032 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002496/1.097, allocations: 46.41 kB / 1.032 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002333/1.099, allocations: 0.5363 MB / 1.033 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006146/1.106, allocations: 1.873 MB / 1.035 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003874/1.109, allocations: 1.186 MB / 1.036 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004447/1.114, allocations: 2.854 MB / 1.039 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002278/1.116, allocations: 1.214 MB / 1.04 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005221/1.121, allocations: 1.695 MB / 1.042 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00213/1.124, allocations: 0.9677 MB / 1.042 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004613/1.124, allocations: 124 kB / 1.043 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004139/1.128, allocations: 1.734 MB / 1.044 GB, free: 15.21 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0008507/1.129, allocations: 0.522 MB / 1.045 GB, free: 14.69 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0016/1.131, allocations: 0.7309 MB / 1.046 GB, free: 13.96 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005394/1.136, allocations: 2.39 MB / 1.048 GB, free: 11.57 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/1.136, allocations: 0 / 1.048 GB, free: 11.57 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.954e-06/1.136, allocations: 0 / 1.048 GB, free: 11.57 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.521e-05/1.136, allocations: 0 / 1.048 GB, free: 11.57 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.004509/1.141, allocations: 1.694 MB / 1.049 GB, free: 9.816 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/1.141, allocations: 8.031 kB / 1.05 GB, free: 9.809 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002119/1.143, allocations: 329.9 kB / 1.05 GB, free: 9.484 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/1.145, allocations: 0.9172 MB / 1.051 GB, free: 8.52 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.048e-05/1.145, allocations: 77.95 kB / 1.051 GB, free: 8.441 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002171/1.145, allocations: 115.8 kB / 1.051 GB, free: 8.328 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/1.148, allocations: 1.178 MB / 1.052 GB, free: 7.094 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/1.148, allocations: 4 kB / 1.052 GB, free: 7.09 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/1.148, allocations: 40 kB / 1.052 GB, free: 7.051 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-05/1.148, allocations: 38 kB / 1.052 GB, free: 7.016 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/1.15, allocations: 0.9563 MB / 1.053 GB, free: 6.055 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.006419/1.156, allocations: 4.507 MB / 1.057 GB, free: 1.18 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/1.157, allocations: 0.7455 MB / 1.058 GB, free: 436 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005999/1.158, allocations: 399.3 kB / 1.059 GB, free: 32 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006646/1.159, allocations: 320 kB / 1.059 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/1.159, allocations: 39.22 kB / 1.059 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=71): time 4.248e-06/1.159, allocations: 0 / 1.059 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of matching and sorting (n=71): time 0.002184/1.161, allocations: 1.035 MB / 1.06 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/1.161, allocations: 60.06 kB / 1.06 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/1.162, allocations: 0.7906 MB / 1.061 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.768e-05/1.162, allocations: 37.7 kB / 1.061 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004474/1.163, allocations: 0.5229 MB / 1.061 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/1.163, allocations: 260.2 kB / 1.062 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/1.163, allocations: 154.5 kB / 1.062 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.163, allocations: 345.9 kB / 1.062 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005418/1.164, allocations: 296.7 kB / 1.062 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006892/1.165, allocations: 0.4912 MB / 1.063 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/1.166, allocations: 0.7935 MB / 1.064 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/1.166, allocations: 0 / 1.064 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001643/1.168, allocations: 0.9141 MB / 1.064 GB, free: 9.746 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/1.168, allocations: 8 kB / 1.064 GB, free: 9.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/1.168, allocations: 4 kB / 1.064 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.799e-05/1.168, allocations: 8 kB / 1.064 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009689/1.169, allocations: 185.3 kB / 1.065 GB, free: 9.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000444/1.169, allocations: 0.6015 MB / 1.065 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009006/1.17, allocations: 83.33 kB / 1.065 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.83e-05/1.17, allocations: 32 kB / 1.065 GB, free: 8.809 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009289/1.171, allocations: 0.5487 MB / 1.066 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006387/1.172, allocations: 0.4951 MB / 1.066 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001123/1.173, allocations: 0.7896 MB / 1.067 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.135e-06/1.173, allocations: 0 / 1.067 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.001557/1.174, allocations: 0.9141 MB / 1.068 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/1.174, allocations: 4 kB / 1.068 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.174, allocations: 4 kB / 1.068 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/1.174, allocations: 11.94 kB / 1.068 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006991/1.175, allocations: 175.7 kB / 1.068 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/1.175, allocations: 8.938 kB / 1.068 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000811/1.176, allocations: 71.52 kB / 1.068 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/1.176, allocations: 31.98 kB / 1.068 GB, free: 5.617 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (98): * Single equations (assignments): 97 * 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.0002515/1.176, allocations: 228.2 kB / 1.069 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/1.177, allocations: 106.7 kB / 1.069 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/1.178, allocations: 0.824 MB / 1.069 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/1.178, allocations: 8 kB / 1.069 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.178, allocations: 0 / 1.069 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001138/1.179, allocations: 0.8928 MB / 1.07 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00373/1.183, allocations: 2.172 MB / 1.072 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/1.183, allocations: 0 / 1.072 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008205/1.184, allocations: 163.8 kB / 1.073 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.51e-05/1.184, allocations: 4 kB / 1.073 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.554e-05/1.184, allocations: 19.94 kB / 1.073 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003068/1.184, allocations: 0.6057 MB / 1.073 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.184, allocations: 4 kB / 1.073 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/1.186, allocations: 1.337 MB / 1.075 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004696/1.187, allocations: 267.6 kB / 1.075 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/1.187, allocations: 15.98 kB / 1.075 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006045/1.188, allocations: 26.92 kB / 1.075 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.662e-05/1.188, allocations: 52.38 kB / 1.075 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.345e-05/1.188, allocations: 27.98 kB / 1.075 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000738/1.188, allocations: 0.538 MB / 1.075 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/1.188, allocations: 4 kB / 1.075 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001497/1.19, allocations: 0.5687 MB / 1.076 GB, free: 13.51 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (limPID.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],senVolFlo.d,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 (71): * Single equations (assignments): 70 * 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.0005829/1.191, allocations: 246.7 kB / 1.076 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002373/1.193, allocations: 1.18 MB / 1.077 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.193, allocations: 0 / 1.077 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006675/1.194, allocations: 384.5 kB / 1.078 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/1.196, allocations: 496.4 kB / 1.078 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/1.2, allocations: 2.324 MB / 1.08 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008298/1.201, allocations: 1.179 MB / 1.082 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001151/1.202, allocations: 359.8 kB / 1.082 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/1.202, allocations: 83.42 kB / 1.082 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/1.202, allocations: 4 kB / 1.082 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of Templates: time 0.03212/1.234, allocations: 17.92 MB / 1.1 GB, free: 5.59 MB / 0.8419 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)