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/Buildings 8.1.1-maint.8.1.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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 293 MB / 309 MB, free: 4.852 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 178.6 kB / 378.7 MB, free: 1.047 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 0.6383 GB, free: 9.113 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007413/0.0007414, allocations: 91.19 kB / 0.7527 GB, free: 62.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 15.98 kB / 0.8768 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2752, allocations: 116.4 MB / 0.9904 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.932/5.207, allocations: 2.135 GB / 3.125 GB, free: 80.21 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/5.207, allocations: 105.1 kB / 3.125 GB, free: 80.11 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.764/7.971, allocations: 0.6278 GB / 3.753 GB, free: 151.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.264e-06/7.971, allocations: 4 kB / 3.753 GB, free: 151.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001821/7.971, allocations: 35.34 kB / 3.753 GB, free: 151.3 MB / 0.948 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.004776/7.976, allocations: 1.634 MB / 3.755 GB, free: 150.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/7.976, allocations: 7.531 kB / 3.755 GB, free: 150.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002284/7.979, allocations: 323.6 kB / 3.755 GB, free: 150.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003283/7.982, allocations: 1.051 MB / 3.756 GB, free: 149.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/7.982, allocations: 82.16 kB / 3.756 GB, free: 149.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004172/7.982, allocations: 107.2 kB / 3.756 GB, free: 149.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003024/7.985, allocations: 1.163 MB / 3.757 GB, free: 149 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.145e-05/7.986, allocations: 6.938 kB / 3.757 GB, free: 149 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/7.986, allocations: 42 kB / 3.757 GB, free: 148.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.813e-05/7.986, allocations: 34.59 kB / 3.757 GB, free: 148.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/7.988, allocations: 0.9226 MB / 3.758 GB, free: 148.6 MB / 0.948 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.0071/7.995, allocations: 4.724 MB / 3.763 GB, free: 145.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/7.996, allocations: 0.7169 MB / 3.763 GB, free: 144.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005134/7.997, allocations: 375.8 kB / 3.764 GB, free: 144.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004933/7.997, allocations: 316.1 kB / 3.764 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/7.997, allocations: 42.97 kB / 3.764 GB, free: 144.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 4.178e-06/7.997, allocations: 0 / 3.764 GB, free: 144.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.001953/7.999, allocations: 0.9989 MB / 3.765 GB, free: 144 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/7.999, allocations: 114.4 kB / 3.765 GB, free: 143.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/8, allocations: 0.786 MB / 3.766 GB, free: 143.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.383e-05/8, allocations: 45.64 kB / 3.766 GB, free: 143.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003834/8.001, allocations: 0.5352 MB / 3.767 GB, free: 143.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/8.001, allocations: 242.7 kB / 3.767 GB, free: 142.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/8.001, allocations: 19.59 kB / 3.767 GB, free: 142.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.867e-05/8.001, allocations: 333 kB / 3.767 GB, free: 142.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/8.002, allocations: 285.8 kB / 3.767 GB, free: 142.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000627/8.002, allocations: 0.5285 MB / 3.768 GB, free: 142.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/8.003, allocations: 0.7749 MB / 3.769 GB, free: 141.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/8.003, allocations: 3.906 kB / 3.769 GB, free: 141.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001589/8.005, allocations: 0.8958 MB / 3.77 GB, free: 141.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/8.005, allocations: 216.3 kB / 3.77 GB, free: 141 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/8.005, allocations: 3.969 kB / 3.77 GB, free: 141 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/8.005, allocations: 7.562 kB / 3.77 GB, free: 141 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000897/8.006, allocations: 199.4 kB / 3.77 GB, free: 141 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003148/8.007, allocations: 0.5951 MB / 3.771 GB, free: 140.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/8.008, allocations: 154.4 kB / 3.771 GB, free: 140.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-05/8.008, allocations: 30.5 kB / 3.771 GB, free: 140.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/8.008, allocations: 3.812 kB / 3.771 GB, free: 140.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001264/8.009, allocations: 0.7879 MB / 3.772 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/8.009, allocations: 3.5 kB / 3.772 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.639e-06/8.009, allocations: 7.531 kB / 3.772 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006031/8.01, allocations: 170.3 kB / 3.772 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/8.01, allocations: 15.52 kB / 3.772 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/8.011, allocations: 128 kB / 3.772 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.272e-05/8.011, allocations: 37.52 kB / 3.772 GB, free: 140 MB / 0.948 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 (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007734/8.012, allocations: 413 kB / 3.772 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/8.012, allocations: 101.3 kB / 3.772 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/8.013, allocations: 0.7864 MB / 3.773 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/8.013, allocations: 7.281 kB / 3.773 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/8.013, allocations: 4 kB / 3.773 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009591/8.014, allocations: 0.8764 MB / 3.774 GB, free: 138.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003651/8.018, allocations: 2.116 MB / 3.776 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/8.018, allocations: 3.219 kB / 3.776 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007133/8.019, allocations: 162.5 kB / 3.776 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/8.019, allocations: 7.406 kB / 3.776 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.918e-05/8.019, allocations: 23.55 kB / 3.776 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002088/8.019, allocations: 0.5957 MB / 3.777 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/8.019, allocations: 3.219 kB / 3.777 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/8.021, allocations: 1.311 MB / 3.778 GB, free: 136.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005682/8.021, allocations: 255.6 kB / 3.778 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/8.022, allocations: 19.84 kB / 3.778 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007943/8.022, allocations: 76.28 kB / 3.778 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.139e-05/8.022, allocations: 52.81 kB / 3.779 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/8.023, allocations: 28.98 kB / 3.779 GB, free: 136.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007717/8.023, allocations: 0.5428 MB / 3.779 GB, free: 135.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.21e-07/8.023, allocations: 0 / 3.779 GB, free: 135.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002643/8.026, allocations: 0.7468 MB / 3.78 GB, free: 135.6 MB / 0.948 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003083/8.029, allocations: 1.844 MB / 3.782 GB, free: 134.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002215/8.031, allocations: 1.161 MB / 3.783 GB, free: 134.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/8.031, allocations: 3.938 kB / 3.783 GB, free: 134.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005634/8.032, allocations: 364.7 kB / 3.783 GB, free: 134.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/8.035, allocations: 480.7 kB / 3.784 GB, free: 134.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004431/8.039, allocations: 2.784 MB / 3.786 GB, free: 132.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008532/8.04, allocations: 1.173 MB / 3.787 GB, free: 131.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001368/8.041, allocations: 347.3 kB / 3.788 GB, free: 131.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/8.042, allocations: 88.41 kB / 3.788 GB, free: 131.8 MB / 0.948 GB Notification: Performance of SimCode: time 9.41e-07/8.042, allocations: 0 / 3.788 GB, free: 131.8 MB / 0.948 GB Notification: Performance of Templates: time 0.05155/8.093, allocations: 38.71 MB / 3.826 GB, free: 98.07 MB / 0.948 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)