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.0008619/0.0008621, allocations: 98.45 kB / 15.05 MB, free: 1.105 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.0009513/0.0009513, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.572/1.572, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005264/0.0005266, allocations: 18.62 kB / 0.6735 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2488, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.6681/0.917, allocations: 164.1 MB / 0.9474 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01241/0.9294, allocations: 9.534 MB / 0.9567 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.931, allocations: 38.69 kB / 0.9567 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.9327, allocations: 0.5022 MB / 0.9572 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005046/0.9377, allocations: 1.57 MB / 0.9588 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004314/0.9421, allocations: 1.137 MB / 0.9599 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004865/0.9469, allocations: 1.619 MB / 0.9615 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0025/0.9495, allocations: 0.8879 MB / 0.9623 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003775/0.9533, allocations: 1.124 MB / 0.9634 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.9545, allocations: 0.6362 MB / 0.964 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.9546, allocations: 57.31 kB / 0.9641 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002625/0.9573, allocations: 0.8215 MB / 0.9649 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004352/0.9577, allocations: 421.3 kB / 0.9653 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006377/0.9583, allocations: 275.1 kB / 0.9656 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.9601, allocations: 1.513 MB / 0.967 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.9601, allocations: 0 / 0.967 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9602, allocations: 0 / 0.967 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.654e-05/0.9602, allocations: 3.938 kB / 0.967 GB, free: 20.94 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.002346/0.9625, allocations: 1.429 MB / 0.9684 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.9626, allocations: 8.25 kB / 0.9684 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/0.9643, allocations: 326.9 kB / 0.9688 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.9661, allocations: 0.8409 MB / 0.9696 GB, free: 19.72 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.354e-05/0.9661, allocations: 84.77 kB / 0.9697 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.9663, allocations: 102.9 kB / 0.9698 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.9679, allocations: 1.167 MB / 0.9709 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.9679, allocations: 2.625 kB / 0.9709 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-05/0.968, allocations: 40.38 kB / 0.9709 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/0.9681, allocations: 37.09 kB / 0.971 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.9694, allocations: 0.9366 MB / 0.9719 GB, free: 19.56 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.004975/0.9744, allocations: 4.706 MB / 0.9765 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.9754, allocations: 0.7448 MB / 0.9772 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003828/0.9758, allocations: 148.9 kB / 0.9774 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.9759, allocations: 42.84 kB / 0.9774 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=69): time 2.685e-06/0.9759, allocations: 0 / 0.9774 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69): time 0.001636/0.9775, allocations: 1.018 MB / 0.9784 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.9776, allocations: 59.84 kB / 0.9784 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007739/0.9784, allocations: 0.7885 MB / 0.9792 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.284e-05/0.9784, allocations: 42.27 kB / 0.9793 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.9787, allocations: 0.5327 MB / 0.9798 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.9789, allocations: 244.4 kB / 0.98 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.9789, allocations: 19.84 kB / 0.98 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.979, allocations: 330 kB / 0.9803 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/0.9794, allocations: 297.2 kB / 0.9806 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005017/0.98, allocations: 0.5143 MB / 0.9811 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004763/0.9804, allocations: 366.8 kB / 0.9815 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.9804, allocations: 0 / 0.9815 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001191/0.9816, allocations: 0.9094 MB / 0.9824 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005302/0.9822, allocations: 1.749 MB / 0.9841 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.9822, allocations: 11.16 kB / 0.9841 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.9822, allocations: 8.156 kB / 0.9841 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00084/0.9831, allocations: 182 kB / 0.9843 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003352/0.9834, allocations: 0.603 MB / 0.9849 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008918/0.9843, allocations: 133.6 kB / 0.985 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.9844, allocations: 35.83 kB / 0.985 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.9844, allocations: 5.75 kB / 0.985 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001011/0.9854, allocations: 0.7946 MB / 0.9858 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.9854, allocations: 9.922 kB / 0.9858 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.9855, allocations: 7.812 kB / 0.9858 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005722/0.986, allocations: 176.7 kB / 0.986 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.9861, allocations: 14.23 kB / 0.986 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007344/0.9868, allocations: 120.6 kB / 0.9861 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/0.9869, allocations: 32.44 kB / 0.9861 GB, free: 12.18 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (97): * Single equations (assignments): 96 * 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.0005047/0.9874, allocations: 400.6 kB / 0.9865 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.9875, allocations: 99.97 kB / 0.9866 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.9886, allocations: 0.812 MB / 0.9874 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.9886, allocations: 7.438 kB / 0.9874 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.9886, allocations: 0 / 0.9874 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008877/0.9895, allocations: 0.8909 MB / 0.9883 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003379/0.9929, allocations: 2.164 MB / 0.9904 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.9929, allocations: 2.844 kB / 0.9904 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006869/0.9936, allocations: 166.1 kB / 0.9906 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.9936, allocations: 5.312 kB / 0.9906 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/0.9937, allocations: 17.41 kB / 0.9906 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003254/0.994, allocations: 0.6018 MB / 0.9912 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.994, allocations: 3.062 kB / 0.9912 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.9956, allocations: 1.441 MB / 0.9926 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004089/0.9961, allocations: 262.2 kB / 0.9928 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.9962, allocations: 14.38 kB / 0.9928 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006034/0.9968, allocations: 77.78 kB / 0.9929 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/0.9969, allocations: 40.94 kB / 0.993 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/0.9969, allocations: 27.45 kB / 0.993 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005976/0.9975, allocations: 0.5341 MB / 0.9935 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9975, allocations: 5 kB / 0.9935 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001338/0.9989, allocations: 0.5619 MB / 0.9941 GB, free: 8.691 MB / 0.7325 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.0004993/0.9994, allocations: 243.7 kB / 0.9943 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001703/1.001, allocations: 1.16 MB / 0.9954 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.001, allocations: 2.812 kB / 0.9954 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000468/1.002, allocations: 370.3 kB / 0.9958 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/1.003, allocations: 480.5 kB / 0.9962 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/1.007, allocations: 2.742 MB / 0.9989 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006904/1.007, allocations: 1.195 MB / 1 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001006/1.008, allocations: 358.9 kB / 1 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/1.009, allocations: 84.08 kB / 1.001 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of SimCode: time 1.192e-06/1.009, allocations: 0 / 1.001 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of Templates: time 0.02611/1.035, allocations: 16.62 MB / 1.017 GB, free: 11.45 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: