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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 180.2 kB / 327.6 MB, free: 2.062 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.4 MB / 0.5786 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007311/0.0007315, allocations: 83.56 kB / 0.6832 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.0003431, allocations: 8.594 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.213, allocations: 106.3 MB / 0.9014 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.7708/0.9839, allocations: 193.4 MB / 1.09 GB, free: 1.641 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01584/0.9998, allocations: 10.9 MB / 1.101 GB, free: 1.414 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002223/1.002, allocations: 39.88 kB / 1.101 GB, free: 1.41 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001831/1.004, allocations: 439.4 kB / 1.101 GB, free: 1.406 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005863/1.01, allocations: 1.684 MB / 1.103 GB, free: 1.324 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003851/1.014, allocations: 1.066 MB / 1.104 GB, free: 1.285 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005194/1.019, allocations: 3.81 MB / 1.108 GB, free: 1.281 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00187/1.021, allocations: 1.012 MB / 1.109 GB, free: 1.117 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005001/1.026, allocations: 1.389 MB / 1.11 GB, free: 1.094 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003151/1.029, allocations: 0.9511 MB / 1.111 GB, free: 1.086 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002627/1.029, allocations: 52.19 kB / 1.111 GB, free: 1.086 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00512/1.034, allocations: 1.897 MB / 1.113 GB, free: 1.07 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007038/1.035, allocations: 467.6 kB / 1.113 GB, free: 1.062 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001146/1.036, allocations: 0.658 MB / 1.114 GB, free: 1.031 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002498/1.039, allocations: 1.729 MB / 1.116 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.039, allocations: 2.875 kB / 1.116 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.422e-06/1.039, allocations: 1.75 kB / 1.116 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.96e-05/1.039, allocations: 0 / 1.116 GB, free: 0.8945 MB / 0.698 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.002528/1.041, allocations: 1.453 MB / 1.117 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/1.041, allocations: 8.656 kB / 1.117 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00184/1.043, allocations: 327.8 kB / 1.117 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/1.045, allocations: 0.9296 MB / 1.118 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/1.045, allocations: 81.53 kB / 1.118 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/1.046, allocations: 102.9 kB / 1.119 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/1.048, allocations: 1.184 MB / 1.12 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/1.048, allocations: 0 / 1.12 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/1.048, allocations: 43.53 kB / 1.12 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.657e-05/1.048, allocations: 41.53 kB / 1.12 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/1.05, allocations: 0.9574 MB / 1.121 GB, free: 15.43 MB / 0.7136 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.005755/1.055, allocations: 4.528 MB / 1.125 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/1.056, allocations: 0.764 MB / 1.126 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005196/1.057, allocations: 402.9 kB / 1.126 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007163/1.058, allocations: 342 kB / 1.127 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.013e-05/1.058, allocations: 39.06 kB / 1.127 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=72): time 5.03e-06/1.058, allocations: 0 / 1.127 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72): time 0.00205/1.06, allocations: 1.054 MB / 1.128 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/1.06, allocations: 61.97 kB / 1.128 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/1.061, allocations: 0.7898 MB / 1.129 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.747e-05/1.061, allocations: 42.61 kB / 1.129 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004697/1.062, allocations: 0.519 MB / 1.129 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/1.062, allocations: 259.6 kB / 1.129 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/1.062, allocations: 16.27 kB / 1.129 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.062, allocations: 346.2 kB / 1.13 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006076/1.063, allocations: 297.6 kB / 1.13 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000749/1.063, allocations: 0.5041 MB / 1.13 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/1.065, allocations: 0.7954 MB / 1.131 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/1.065, allocations: 5.312 kB / 1.131 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002078/1.067, allocations: 0.9244 MB / 1.132 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001705/1.067, allocations: 213.8 kB / 1.132 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/1.067, allocations: 7.938 kB / 1.132 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/1.067, allocations: 8.25 kB / 1.132 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/1.068, allocations: 185.6 kB / 1.133 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004385/1.069, allocations: 0.5993 MB / 1.133 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/1.07, allocations: 129.9 kB / 1.133 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.759e-05/1.07, allocations: 37.83 kB / 1.133 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/1.07, allocations: 6.938 kB / 1.133 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001317/1.071, allocations: 0.8109 MB / 1.134 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/1.071, allocations: 2.938 kB / 1.134 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/1.071, allocations: 10.48 kB / 1.134 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/1.072, allocations: 172.9 kB / 1.134 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/1.072, allocations: 13 kB / 1.134 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/1.073, allocations: 125.6 kB / 1.134 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/1.073, allocations: 35.44 kB / 1.134 GB, free: 10.12 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (99): * Single equations (assignments): 98 * 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.000866/1.074, allocations: 405.5 kB / 1.135 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/1.074, allocations: 100 kB / 1.135 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/1.076, allocations: 0.8413 MB / 1.136 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/1.076, allocations: 5.859 kB / 1.136 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.076, allocations: 0 / 1.136 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/1.077, allocations: 0.9115 MB / 1.137 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003713/1.081, allocations: 2.209 MB / 1.139 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.081, allocations: 0 / 1.139 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007559/1.081, allocations: 163.5 kB / 1.139 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/1.081, allocations: 5.875 kB / 1.139 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.419e-05/1.081, allocations: 19.95 kB / 1.139 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003616/1.082, allocations: 0.5935 MB / 1.14 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.082, allocations: 9.469 kB / 1.14 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/1.084, allocations: 1.372 MB / 1.141 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005455/1.084, allocations: 265.3 kB / 1.141 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/1.084, allocations: 22.83 kB / 1.141 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000658/1.085, allocations: 72.5 kB / 1.141 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.085, allocations: 49.59 kB / 1.141 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/1.085, allocations: 21.22 kB / 1.141 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008131/1.086, allocations: 0.5474 MB / 1.142 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/1.086, allocations: 0 / 1.142 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00152/1.088, allocations: 0.5768 MB / 1.142 GB, free: 7.328 MB / 0.7136 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 (72): * Single equations (assignments): 71 * 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.0005916/1.088, allocations: 248.7 kB / 1.143 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002363/1.091, allocations: 1.195 MB / 1.144 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.091, allocations: 1.75 kB / 1.144 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006923/1.091, allocations: 388.6 kB / 1.144 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/1.094, allocations: 0.4889 MB / 1.145 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004606/1.099, allocations: 3.016 MB / 1.148 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007287/1.099, allocations: 1.172 MB / 1.149 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003684/1.1, allocations: 98.41 kB / 1.149 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of SimCode: time 1.814e-06/1.1, allocations: 0 / 1.149 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of Templates: time 0.03354/1.133, allocations: 21.42 MB / 1.17 GB, free: 4.223 MB / 0.7292 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)