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.00109/0.00109, allocations: 107.2 kB / 16.35 MB, free: 5.879 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.001078/0.001078, allocations: 191 kB / 17.29 MB, free: 5.516 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.401/1.401, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.735/1.735, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001456/0.001456, allocations: 68.23 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.221, allocations: 114.6 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.5635/0.7846, allocations: 198 MB / 0.9781 GB, free: 4.047 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02042/0.805, allocations: 10.88 MB / 0.9887 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002543/0.8076, allocations: 43.75 kB / 0.9888 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002808/0.8105, allocations: 0.5277 MB / 0.9893 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.008159/0.8187, allocations: 1.792 MB / 0.9911 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003976/0.8227, allocations: 1.151 MB / 0.9922 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004759/0.8275, allocations: 2.768 MB / 0.9949 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/0.8292, allocations: 1.202 MB / 0.9961 GB, free: 1.645 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004275/0.8335, allocations: 1.623 MB / 0.9976 GB, free: 36 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.835, allocations: 0.9512 MB / 0.9986 GB, free: 15.08 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.8352, allocations: 124 kB / 0.9987 GB, free: 14.96 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003739/0.839, allocations: 1.715 MB / 1 GB, free: 13.24 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006034/0.8396, allocations: 0.5181 MB / 1.001 GB, free: 12.72 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0008481/0.8404, allocations: 0.7192 MB / 1.002 GB, free: 12 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003559/0.844, allocations: 2.356 MB / 1.004 GB, free: 9.637 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.844, allocations: 0 / 1.004 GB, free: 9.637 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.082e-06/0.844, allocations: 4 kB / 1.004 GB, free: 9.633 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.054e-05/0.8441, allocations: 0 / 1.004 GB, free: 9.633 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.002733/0.8468, allocations: 1.693 MB / 1.006 GB, free: 7.887 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.8469, allocations: 8.031 kB / 1.006 GB, free: 7.879 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.8487, allocations: 322 kB / 1.006 GB, free: 7.562 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.8503, allocations: 0.851 MB / 1.007 GB, free: 6.668 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.625e-05/0.8504, allocations: 78 kB / 1.007 GB, free: 6.594 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.8506, allocations: 108.8 kB / 1.007 GB, free: 6.488 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.8524, allocations: 1.179 MB / 1.008 GB, free: 5.27 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/0.8525, allocations: 7.938 kB / 1.008 GB, free: 5.262 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.994e-05/0.8526, allocations: 44.64 kB / 1.008 GB, free: 5.219 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-05/0.8526, allocations: 41.98 kB / 1.008 GB, free: 5.18 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.8541, allocations: 0.9368 MB / 1.009 GB, free: 4.242 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.005569/0.8597, allocations: 4.702 MB / 1.014 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.8609, allocations: 0.7148 MB / 1.014 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000558/0.8615, allocations: 392.8 kB / 1.015 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006082/0.8621, allocations: 319.8 kB / 1.015 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.8621, allocations: 44.81 kB / 1.015 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=68): time 2.584e-06/0.8621, allocations: 4 kB / 1.015 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of matching and sorting (n=68): time 0.001908/0.864, allocations: 0.9975 MB / 1.016 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.8641, allocations: 63.91 kB / 1.016 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00096/0.8651, allocations: 0.7868 MB / 1.017 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.866e-05/0.8651, allocations: 41.7 kB / 1.017 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.8655, allocations: 0.5434 MB / 1.017 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.8657, allocations: 236.5 kB / 1.018 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.8659, allocations: 150.6 kB / 1.018 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.866, allocations: 341.9 kB / 1.018 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004609/0.8665, allocations: 292.7 kB / 1.018 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000608/0.8671, allocations: 0.5054 MB / 1.019 GB, free: 9.543 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.8682, allocations: 0.7874 MB / 1.02 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.8682, allocations: 0 / 1.02 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001453/0.8697, allocations: 0.9018 MB / 1.021 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.8697, allocations: 12.61 kB / 1.021 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.8698, allocations: 4 kB / 1.021 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.8698, allocations: 16 kB / 1.021 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009041/0.8707, allocations: 180.8 kB / 1.021 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004057/0.8711, allocations: 0.6042 MB / 1.021 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007387/0.8719, allocations: 83.14 kB / 1.021 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-05/0.8719, allocations: 36.08 kB / 1.021 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009017/0.8729, allocations: 0.5409 MB / 1.022 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006251/0.8735, allocations: 0.5077 MB / 1.022 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001061/0.8746, allocations: 0.7835 MB / 1.023 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/0.8746, allocations: 0 / 1.023 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001377/0.876, allocations: 0.906 MB / 1.024 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.876, allocations: 12.12 kB / 1.024 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.876, allocations: 4 kB / 1.024 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.876, allocations: 15.88 kB / 1.024 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/0.8767, allocations: 163.8 kB / 1.024 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.8767, allocations: 11.94 kB / 1.024 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007557/0.8774, allocations: 71.75 kB / 1.024 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.258e-05/0.8775, allocations: 36 kB / 1.024 GB, free: 3.625 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.0002378/0.8778, allocations: 229.1 kB / 1.025 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.878, allocations: 102.7 kB / 1.025 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.8794, allocations: 0.7867 MB / 1.025 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.8795, allocations: 8 kB / 1.025 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8795, allocations: 0 / 1.025 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001126/0.8806, allocations: 0.8788 MB / 1.026 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003982/0.8846, allocations: 2.133 MB / 1.028 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.505e-06/0.8846, allocations: 2.688 kB / 1.028 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007818/0.8854, allocations: 157.5 kB / 1.029 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/0.8854, allocations: 8 kB / 1.029 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.118e-05/0.8855, allocations: 16 kB / 1.029 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003672/0.8859, allocations: 0.5977 MB / 1.029 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8859, allocations: 0 / 1.029 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.8878, allocations: 1.319 MB / 1.03 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000542/0.8883, allocations: 259.6 kB / 1.031 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.8885, allocations: 19.94 kB / 1.031 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005949/0.8891, allocations: 19.98 kB / 1.031 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.8892, allocations: 40.52 kB / 1.031 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.378e-05/0.8893, allocations: 23.98 kB / 1.031 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009015/0.8902, allocations: 0.5458 MB / 1.031 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8902, allocations: 4 kB / 1.031 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001738/0.892, allocations: 0.557 MB / 1.032 GB, free: 11.67 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.0006074/0.8926, allocations: 246.4 kB / 1.032 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002336/0.8949, allocations: 1.159 MB / 1.033 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.8949, allocations: 0 / 1.033 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006425/0.8956, allocations: 371.8 kB / 1.034 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.8979, allocations: 499.9 kB / 1.034 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/0.902, allocations: 2.226 MB / 1.036 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009403/0.9029, allocations: 1.174 MB / 1.037 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00114/0.9041, allocations: 356.5 kB / 1.038 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.9043, allocations: 79.42 kB / 1.038 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of SimCode: time 7.41e-07/0.9044, allocations: 0 / 1.038 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of Templates: time 0.03242/0.9368, allocations: 17.51 MB / 1.055 GB, free: 4.441 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)