Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009621/0.0009621, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007383/0.007383, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.085/2.085, allocations: 390.9 MB / 0.6664 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002984, allocations: 8 kB / 0.8161 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6344/0.6347, allocations: 142.4 MB / 0.9552 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.1947/0.8295, allocations: 193.1 MB / 1.144 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01428/0.8438, allocations: 10.84 MB / 1.154 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.8453, allocations: 39.75 kB / 1.154 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.8468, allocations: 453.4 kB / 1.155 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004006/0.8508, allocations: 1.672 MB / 1.156 GB, free: 0.5078 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.8534, allocations: 1.053 MB / 1.157 GB, free: 15.46 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003989/0.8574, allocations: 3.747 MB / 1.161 GB, free: 11.7 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.8587, allocations: 1.006 MB / 1.162 GB, free: 10.68 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003512/0.8622, allocations: 1.404 MB / 1.164 GB, free: 9.273 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.8636, allocations: 0.9274 MB / 1.164 GB, free: 8.344 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.8637, allocations: 52 kB / 1.164 GB, free: 8.293 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002996/0.8667, allocations: 1.894 MB / 1.166 GB, free: 6.395 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004257/0.8671, allocations: 450.5 kB / 1.167 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006476/0.8678, allocations: 0.6544 MB / 1.167 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002487/0.8703, allocations: 2.325 MB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.8703, allocations: 0 / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8703, allocations: 4 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.8703, allocations: 0 / 1.17 GB, free: 2.953 MB / 0.92 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.0023/0.8726, allocations: 1.441 MB / 1.171 GB, free: 1.457 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.8727, allocations: 8.031 kB / 1.171 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/0.8729, allocations: 160.3 kB / 1.171 GB, free: 1.285 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.8745, allocations: 318 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.8759, allocations: 0.8742 MB / 1.172 GB, free: 56 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.899e-05/0.8759, allocations: 78.02 kB / 1.172 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.8761, allocations: 112 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.8778, allocations: 1.175 MB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.8779, allocations: 0 / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.001e-05/0.8779, allocations: 48 kB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/0.878, allocations: 37.94 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.8795, allocations: 0.9407 MB / 1.175 GB, free: 13.62 MB / 0.9356 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.004992/0.8845, allocations: 4.71 MB / 1.179 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.8857, allocations: 0.7126 MB / 1.18 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000549/0.8862, allocations: 398.9 kB / 1.18 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000586/0.8868, allocations: 328.7 kB / 1.181 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.8869, allocations: 43.06 kB / 1.181 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=68): time 1.713e-06/0.8869, allocations: 0 / 1.181 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of matching and sorting (n=68): time 0.001735/0.8886, allocations: 1.005 MB / 1.182 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.8887, allocations: 55.97 kB / 1.182 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008888/0.8895, allocations: 0.7948 MB / 1.183 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.8896, allocations: 41.7 kB / 1.183 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003893/0.89, allocations: 0.5383 MB / 1.183 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.8902, allocations: 236.5 kB / 1.183 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.954e-05/0.8903, allocations: 77.69 kB / 1.183 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.8905, allocations: 341.9 kB / 1.184 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004646/0.8909, allocations: 289.8 kB / 1.184 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006159/0.8916, allocations: 0.4968 MB / 1.185 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.8926, allocations: 0.7913 MB / 1.185 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.8927, allocations: 4 kB / 1.185 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001356/0.894, allocations: 0.9097 MB / 1.186 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001568/0.8942, allocations: 221.4 kB / 1.186 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.8942, allocations: 8 kB / 1.186 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.8942, allocations: 15.94 kB / 1.186 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008055/0.895, allocations: 183.7 kB / 1.187 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003749/0.8954, allocations: 0.6016 MB / 1.187 GB, free: 100 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008376/0.8963, allocations: 139.1 kB / 1.187 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.504e-05/0.8963, allocations: 28 kB / 1.187 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/0.8964, allocations: 5.719 kB / 1.187 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001197/0.8976, allocations: 0.7997 MB / 1.188 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.8976, allocations: 8 kB / 1.188 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.8976, allocations: 8.625 kB / 1.188 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000594/0.8982, allocations: 171.7 kB / 1.188 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.8982, allocations: 11.94 kB / 1.188 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007309/0.8989, allocations: 123.3 kB / 1.188 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/0.899, allocations: 31.98 kB / 1.188 GB, free: 14.78 MB / 0.9512 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.0004307/0.8994, allocations: 408.7 kB / 1.189 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.8996, allocations: 102.8 kB / 1.189 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.9008, allocations: 0.7899 MB / 1.19 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.9008, allocations: 11.94 kB / 1.19 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.9008, allocations: 3.938 kB / 1.19 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001012/0.9019, allocations: 0.8866 MB / 1.191 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003044/0.9049, allocations: 2.151 MB / 1.193 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.9049, allocations: 7.984 kB / 1.193 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006619/0.9056, allocations: 152.1 kB / 1.193 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.9056, allocations: 4 kB / 1.193 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.717e-05/0.9057, allocations: 20 kB / 1.193 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002832/0.906, allocations: 0.6015 MB / 1.193 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.906, allocations: 4 kB / 1.193 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.9076, allocations: 1.284 MB / 1.195 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.908, allocations: 247.8 kB / 1.195 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.9081, allocations: 27.94 kB / 1.195 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005803/0.9087, allocations: 67.78 kB / 1.195 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.9087, allocations: 48.5 kB / 1.195 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.9088, allocations: 20 kB / 1.195 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006198/0.9094, allocations: 0.5499 MB / 1.196 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9094, allocations: 0 / 1.196 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001193/0.9106, allocations: 0.5609 MB / 1.196 GB, free: 6.559 MB / 0.9512 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.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.002202/0.9128, allocations: 1.967 MB / 1.198 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001823/0.9147, allocations: 1.158 MB / 1.199 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.9147, allocations: 4 kB / 1.199 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005469/0.9152, allocations: 363.7 kB / 1.2 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/0.9177, allocations: 484.6 kB / 1.2 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.9293, allocations: 8.855 MB / 1.209 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007495/0.9301, allocations: 1.178 MB / 1.21 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001068/0.9311, allocations: 351.9 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005261/0.9317, allocations: 431.3 kB / 1.211 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of SimCode: time 6.41e-07/0.9317, allocations: 0 / 1.211 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.879/6.81, allocations: 25.22 MB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003775/6.811, allocations: 288.7 kB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/9.212, allocations: 3.938 kB / 1.236 GB, free: 14.18 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)