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.0009709/0.0009708, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001163/0.001163, allocations: 195.9 kB / 16.14 MB, free: 6.711 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.58/1.58, allocations: 205.1 MB / 222 MB, free: 4.809 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.735/1.735, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001379/0.00138, allocations: 67.11 kB / 0.6708 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3034, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.8564/1.16, allocations: 195.8 MB / 0.9738 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01837/1.178, allocations: 10.95 MB / 0.9845 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002744/1.181, allocations: 43.94 kB / 0.9846 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001997/1.183, allocations: 441.4 kB / 0.985 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006918/1.19, allocations: 1.674 MB / 0.9866 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004293/1.194, allocations: 1.038 MB / 0.9876 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006586/1.201, allocations: 3.736 MB / 0.9913 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002273/1.203, allocations: 1.022 MB / 0.9923 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005511/1.209, allocations: 1.462 MB / 0.9937 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002103/1.211, allocations: 0.9842 MB / 0.9947 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003502/1.211, allocations: 71.94 kB / 0.9947 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00456/1.216, allocations: 1.917 MB / 0.9966 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006214/1.217, allocations: 479.1 kB / 0.9971 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001176/1.218, allocations: 0.6563 MB / 0.9977 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005361/1.223, allocations: 2.365 MB / 1 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/1.223, allocations: 2.281 kB / 1 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.723e-06/1.223, allocations: 0 / 1 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5e-05/1.223, allocations: 0 / 1 GB, free: 2.371 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.004098/1.227, allocations: 1.69 MB / 1.002 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/1.227, allocations: 11.02 kB / 1.002 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/1.229, allocations: 318.3 kB / 1.002 GB, free: 17.19 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/1.231, allocations: 0.8641 MB / 1.003 GB, free: 16.7 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.631e-05/1.231, allocations: 83.23 kB / 1.003 GB, free: 16.66 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/1.231, allocations: 105 kB / 1.003 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/1.234, allocations: 1.18 MB / 1.004 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/1.234, allocations: 0 / 1.004 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.585e-05/1.234, allocations: 43.83 kB / 1.004 GB, free: 16.11 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.296e-05/1.234, allocations: 37.56 kB / 1.004 GB, free: 16.1 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/1.236, allocations: 0.9328 MB / 1.005 GB, free: 15.8 MB / 0.7481 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.007101/1.243, allocations: 4.709 MB / 1.01 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/1.244, allocations: 0.7068 MB / 1.01 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000592/1.245, allocations: 398.4 kB / 1.011 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008083/1.245, allocations: 316.8 kB / 1.011 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/1.245, allocations: 42.94 kB / 1.011 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=68): time 5.45e-06/1.245, allocations: 0 / 1.011 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of matching and sorting (n=68): time 0.002135/1.248, allocations: 0.9993 MB / 1.012 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/1.248, allocations: 59.78 kB / 1.012 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/1.249, allocations: 0.7944 MB / 1.013 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.432e-05/1.249, allocations: 38.14 kB / 1.013 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/1.25, allocations: 0.5331 MB / 1.014 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/1.25, allocations: 245.1 kB / 1.014 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/1.25, allocations: 154.1 kB / 1.014 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001545/1.25, allocations: 336.6 kB / 1.014 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/1.251, allocations: 307.6 kB / 1.015 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007799/1.252, allocations: 0.4984 MB / 1.015 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/1.253, allocations: 0.7945 MB / 1.016 GB, free: 7.84 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.999e-05/1.253, allocations: 3.594 kB / 1.016 GB, free: 7.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001689/1.254, allocations: 0.9026 MB / 1.017 GB, free: 7.414 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/1.255, allocations: 8.625 kB / 1.017 GB, free: 7.414 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/1.255, allocations: 4.75 kB / 1.017 GB, free: 7.414 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/1.255, allocations: 8.594 kB / 1.017 GB, free: 7.414 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009372/1.256, allocations: 181.1 kB / 1.017 GB, free: 7.387 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004253/1.256, allocations: 0.6119 MB / 1.017 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/1.257, allocations: 122.3 kB / 1.018 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/1.257, allocations: 35.61 kB / 1.018 GB, free: 6.695 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001149/1.258, allocations: 0.5448 MB / 1.018 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007023/1.259, allocations: 0.4943 MB / 1.019 GB, free: 5.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001144/1.26, allocations: 0.7865 MB / 1.019 GB, free: 5.484 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.4e-06/1.26, allocations: 2.781 kB / 1.019 GB, free: 5.484 MB / 0.7481 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.00165/1.262, allocations: 0.9086 MB / 1.02 GB, free: 5.039 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/1.262, allocations: 6.688 kB / 1.02 GB, free: 5.039 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/1.262, allocations: 6.406 kB / 1.02 GB, free: 5.039 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/1.262, allocations: 11.31 kB / 1.02 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006641/1.263, allocations: 166.9 kB / 1.02 GB, free: 5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/1.263, allocations: 19.7 kB / 1.02 GB, free: 4.988 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/1.264, allocations: 115 kB / 1.021 GB, free: 4.922 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.139e-05/1.264, allocations: 31.16 kB / 1.021 GB, free: 4.918 MB / 0.7481 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.0003012/1.264, allocations: 229.8 kB / 1.021 GB, free: 4.699 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/1.264, allocations: 98.25 kB / 1.021 GB, free: 4.648 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/1.266, allocations: 0.7946 MB / 1.022 GB, free: 4.195 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/1.266, allocations: 5.281 kB / 1.022 GB, free: 4.195 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.266, allocations: 7.344 kB / 1.022 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001136/1.267, allocations: 0.877 MB / 1.023 GB, free: 3.562 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003769/1.271, allocations: 2.13 MB / 1.025 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.271, allocations: 2.375 kB / 1.025 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007526/1.272, allocations: 155.7 kB / 1.025 GB, free: 2.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/1.272, allocations: 6.828 kB / 1.025 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.465e-05/1.272, allocations: 22.84 kB / 1.025 GB, free: 2.055 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000354/1.272, allocations: 0.5895 MB / 1.025 GB, free: 1.457 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.272, allocations: 2.812 kB / 1.025 GB, free: 1.457 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/1.274, allocations: 1.319 MB / 1.027 GB, free: 0.6602 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005641/1.275, allocations: 257.3 kB / 1.027 GB, free: 456 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/1.275, allocations: 20.81 kB / 1.027 GB, free: 440 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006615/1.276, allocations: 66.77 kB / 1.027 GB, free: 408 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/1.276, allocations: 46.16 kB / 1.027 GB, free: 384 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/1.276, allocations: 31.05 kB / 1.027 GB, free: 372 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008916/1.277, allocations: 0.5361 MB / 1.028 GB, free: 64 kB / 0.7481 GB Notification: Performance of sort global known variables: time 2.615e-06/1.277, allocations: 0 / 1.028 GB, free: 64 kB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001957/1.279, allocations: 0.5623 MB / 1.028 GB, free: 15.93 MB / 0.7637 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.0006582/1.279, allocations: 221.9 kB / 1.028 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002373/1.282, allocations: 1.17 MB / 1.03 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/1.282, allocations: 2.844 kB / 1.03 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006143/1.282, allocations: 357.8 kB / 1.03 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/1.285, allocations: 495.2 kB / 1.03 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004398/1.289, allocations: 2.726 MB / 1.033 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008512/1.29, allocations: 1.168 MB / 1.034 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001449/1.291, allocations: 354.5 kB / 1.034 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/1.292, allocations: 82.86 kB / 1.035 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of SimCode: time 9.52e-07/1.292, allocations: 0 / 1.035 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of Templates: time 0.03707/1.329, allocations: 16.95 MB / 1.051 GB, free: 12.4 MB / 0.7794 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)