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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.614/1.614, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.001034/0.001034, allocations: 167.8 kB / 325.8 MB, free: 2.676 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.476/1.476, allocations: 205 MB / 0.576 GB, free: 21.01 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.0007572/0.0007572, allocations: 102.6 kB / 0.6797 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003443, allocations: 9.156 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1447, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.4989/0.6436, allocations: 195.6 MB / 1.087 GB, free: 1.508 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01108/0.6548, allocations: 11.04 MB / 1.098 GB, free: 1.273 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.656, allocations: 40.03 kB / 1.098 GB, free: 1.273 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.6572, allocations: 440.4 kB / 1.098 GB, free: 1.27 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003742/0.661, allocations: 1.688 MB / 1.1 GB, free: 1.184 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.6634, allocations: 1.067 MB / 1.101 GB, free: 1.145 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002991/0.6664, allocations: 3.812 MB / 1.105 GB, free: 1.137 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.6675, allocations: 0.9938 MB / 1.106 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002209/0.6697, allocations: 1.392 MB / 1.107 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.6711, allocations: 0.9478 MB / 1.108 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.6712, allocations: 52.59 kB / 1.108 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002764/0.674, allocations: 1.908 MB / 1.11 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003798/0.6744, allocations: 463.8 kB / 1.111 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005586/0.6749, allocations: 0.627 MB / 1.111 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.6772, allocations: 2.366 MB / 1.113 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6772, allocations: 2.938 kB / 1.113 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6772, allocations: 0 / 1.113 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.944e-05/0.6772, allocations: 0 / 1.113 GB, free: 0.7773 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.00203/0.6793, allocations: 1.451 MB / 1.115 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.6793, allocations: 9 kB / 1.115 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.6795, allocations: 162.5 kB / 1.115 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.681, allocations: 320.4 kB / 1.115 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.6823, allocations: 0.9335 MB / 1.116 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.531e-05/0.6823, allocations: 83.19 kB / 1.116 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.6825, allocations: 110 kB / 1.116 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.6839, allocations: 1.187 MB / 1.118 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.6839, allocations: 0 / 1.118 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.236e-05/0.684, allocations: 41.47 kB / 1.118 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.6841, allocations: 37.69 kB / 1.118 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.6853, allocations: 0.9581 MB / 1.119 GB, free: 15.27 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.00401/0.6893, allocations: 4.522 MB / 1.123 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008966/0.6902, allocations: 0.7603 MB / 1.124 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004362/0.6907, allocations: 406.3 kB / 1.124 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005315/0.6912, allocations: 332.8 kB / 1.124 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.6913, allocations: 49.03 kB / 1.125 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=72): time 2.004e-06/0.6913, allocations: 0 / 1.125 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72): time 0.001549/0.6928, allocations: 1.049 MB / 1.126 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.6929, allocations: 63.88 kB / 1.126 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009013/0.6938, allocations: 0.789 MB / 1.126 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/0.6938, allocations: 44.67 kB / 1.126 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/0.6942, allocations: 0.5277 MB / 1.127 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.6943, allocations: 258.3 kB / 1.127 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.647e-05/0.6945, allocations: 70.27 kB / 1.127 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.6946, allocations: 334.6 kB / 1.128 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/0.6951, allocations: 305.5 kB / 1.128 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006508/0.6957, allocations: 0.4966 MB / 1.128 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.6968, allocations: 0.8012 MB / 1.129 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.6969, allocations: 2.562 kB / 1.129 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00123/0.6981, allocations: 0.9263 MB / 1.13 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.6982, allocations: 212.9 kB / 1.13 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6982, allocations: 2.719 kB / 1.13 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.6983, allocations: 9.625 kB / 1.13 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008076/0.6991, allocations: 185.8 kB / 1.13 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003113/0.6994, allocations: 0.6003 MB / 1.131 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007442/0.7001, allocations: 137.1 kB / 1.131 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/0.7002, allocations: 30.91 kB / 1.131 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.111e-06/0.7002, allocations: 5.094 kB / 1.131 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001048/0.7013, allocations: 0.8118 MB / 1.132 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7013, allocations: 7.828 kB / 1.132 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.7013, allocations: 12 kB / 1.132 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005652/0.7019, allocations: 185 kB / 1.132 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.7019, allocations: 9.031 kB / 1.132 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006433/0.7026, allocations: 122 kB / 1.132 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.7026, allocations: 29.31 kB / 1.132 GB, free: 9.961 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.0004084/0.703, allocations: 419.4 kB / 1.133 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.7032, allocations: 104.3 kB / 1.133 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.7043, allocations: 0.822 MB / 1.134 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.7043, allocations: 9.438 kB / 1.134 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7043, allocations: 0 / 1.134 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009567/0.7053, allocations: 0.9032 MB / 1.135 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/0.7083, allocations: 2.215 MB / 1.137 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.7083, allocations: 1.812 kB / 1.137 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006459/0.709, allocations: 165.2 kB / 1.137 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.709, allocations: 6.219 kB / 1.137 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.54e-05/0.709, allocations: 30.77 kB / 1.137 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002505/0.7093, allocations: 0.5942 MB / 1.137 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.7093, allocations: 3.531 kB / 1.137 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.7108, allocations: 1.372 MB / 1.139 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/0.7111, allocations: 263.5 kB / 1.139 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.7112, allocations: 20.44 kB / 1.139 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005425/0.7118, allocations: 68.44 kB / 1.139 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.022e-05/0.7118, allocations: 49.83 kB / 1.139 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.7119, allocations: 30.81 kB / 1.139 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005068/0.7124, allocations: 0.5418 MB / 1.14 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7124, allocations: 2.781 kB / 1.14 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001026/0.7134, allocations: 0.5677 MB / 1.14 GB, free: 7.535 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.002055/0.7155, allocations: 2.058 MB / 1.142 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00159/0.7171, allocations: 1.197 MB / 1.143 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.7171, allocations: 1.812 kB / 1.143 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004705/0.7176, allocations: 387.9 kB / 1.144 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.7197, allocations: 495.2 kB / 1.144 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.7297, allocations: 8.857 MB / 1.153 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006533/0.7304, allocations: 1.178 MB / 1.154 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001053/0.7315, allocations: 361.8 kB / 1.154 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005251/0.732, allocations: 429.3 kB / 1.155 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/0.732, allocations: 0 / 1.155 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3942/1.126, allocations: 25.84 MB / 1.18 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/1.127, allocations: 294 kB / 1.18 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.384/4.511, allocations: 2.625 kB / 1.18 GB, free: 7.816 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)