Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_11_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.00482/0.00482, allocations: 98.52 kB / 15.73 MB, free: 6.055 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.00139/0.00139, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.392/2.392, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 63.84 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.59/0.5917, allocations: 159.1 MB / 1.22 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.1973/0.789, allocations: 198 MB / 1.414 GB, free: 11.33 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01321/0.8023, allocations: 10.93 MB / 1.424 GB, free: 376 kB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000701/0.803, allocations: 43.75 kB / 1.424 GB, free: 332 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.8042, allocations: 0.5277 MB / 1.425 GB, free: 15.79 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003344/0.8076, allocations: 1.804 MB / 1.427 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002328/0.8099, allocations: 1.16 MB / 1.428 GB, free: 12.83 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002699/0.8126, allocations: 2.78 MB / 1.43 GB, free: 10.04 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.814, allocations: 1.197 MB / 1.432 GB, free: 8.812 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002888/0.8169, allocations: 1.608 MB / 1.433 GB, free: 7.211 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.8181, allocations: 0.9557 MB / 1.434 GB, free: 6.254 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.8183, allocations: 127.9 kB / 1.434 GB, free: 6.129 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002534/0.8208, allocations: 1.723 MB / 1.436 GB, free: 4.402 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004764/0.8213, allocations: 0.5181 MB / 1.436 GB, free: 3.883 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006753/0.822, allocations: 0.7192 MB / 1.437 GB, free: 3.16 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00263/0.8246, allocations: 2.359 MB / 1.439 GB, free: 0.793 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.8246, allocations: 4 kB / 1.439 GB, free: 0.7891 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8246, allocations: 0 / 1.439 GB, free: 0.7891 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.8246, allocations: 0 / 1.439 GB, free: 0.7891 MB / 1.154 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.002351/0.827, allocations: 1.738 MB / 1.441 GB, free: 15 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.827, allocations: 8.031 kB / 1.441 GB, free: 14.99 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001774/0.8272, allocations: 160.3 kB / 1.441 GB, free: 14.82 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.8288, allocations: 326.8 kB / 1.442 GB, free: 14.5 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.8302, allocations: 0.9296 MB / 1.442 GB, free: 13.53 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.473e-05/0.8303, allocations: 81.98 kB / 1.443 GB, free: 13.45 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.8305, allocations: 100 kB / 1.443 GB, free: 13.35 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.8322, allocations: 1.179 MB / 1.444 GB, free: 12.14 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.8322, allocations: 0 / 1.444 GB, free: 12.14 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-05/0.8323, allocations: 40 kB / 1.444 GB, free: 12.1 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-05/0.8323, allocations: 45.92 kB / 1.444 GB, free: 12.05 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.8338, allocations: 0.9368 MB / 1.445 GB, free: 11.11 MB / 1.17 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.004897/0.8387, allocations: 4.731 MB / 1.449 GB, free: 5.996 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.8399, allocations: 0.7128 MB / 1.45 GB, free: 5.27 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005403/0.8404, allocations: 395 kB / 1.45 GB, free: 4.883 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005769/0.841, allocations: 320.7 kB / 1.451 GB, free: 4.516 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.841, allocations: 43.06 kB / 1.451 GB, free: 4.465 MB / 1.17 GB Notification: Performance of pre-optimization done (n=68): time 1.653e-06/0.8411, allocations: 0 / 1.451 GB, free: 4.465 MB / 1.17 GB Notification: Performance of matching and sorting (n=68): time 0.00174/0.8428, allocations: 1.01 MB / 1.452 GB, free: 3.453 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.8428, allocations: 55.97 kB / 1.452 GB, free: 3.387 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009215/0.8438, allocations: 0.8026 MB / 1.453 GB, free: 2.559 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/0.8438, allocations: 41.7 kB / 1.453 GB, free: 2.512 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003983/0.8442, allocations: 0.5433 MB / 1.453 GB, free: 1.961 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.8444, allocations: 249.8 kB / 1.453 GB, free: 1.715 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.8447, allocations: 150.6 kB / 1.454 GB, free: 1.562 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.8448, allocations: 345.9 kB / 1.454 GB, free: 1.219 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004736/0.8453, allocations: 300.6 kB / 1.454 GB, free: 0.9219 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/0.8459, allocations: 0.489 MB / 1.455 GB, free: 364 kB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.8471, allocations: 0.7952 MB / 1.455 GB, free: 15.49 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8471, allocations: 0 / 1.455 GB, free: 15.49 MB / 1.186 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00136/0.8484, allocations: 0.9142 MB / 1.456 GB, free: 14.57 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.8485, allocations: 4 kB / 1.456 GB, free: 14.56 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.8485, allocations: 12 kB / 1.456 GB, free: 14.55 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.8485, allocations: 8 kB / 1.456 GB, free: 14.54 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007596/0.8493, allocations: 180.2 kB / 1.457 GB, free: 14.37 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003907/0.8497, allocations: 0.6132 MB / 1.457 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005709/0.8502, allocations: 87.38 kB / 1.457 GB, free: 13.65 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.8503, allocations: 32 kB / 1.457 GB, free: 13.62 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007498/0.8511, allocations: 0.5409 MB / 1.458 GB, free: 13.07 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006371/0.8517, allocations: 0.4971 MB / 1.458 GB, free: 12.5 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001111/0.8528, allocations: 0.7834 MB / 1.459 GB, free: 11.66 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.198e-06/0.8528, allocations: 3.984 kB / 1.459 GB, free: 11.65 MB / 1.186 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001345/0.8542, allocations: 0.9069 MB / 1.46 GB, free: 10.74 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 7.635e-06/0.8542, allocations: 12.06 kB / 1.46 GB, free: 10.73 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.8542, allocations: 4 kB / 1.46 GB, free: 10.72 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.8542, allocations: 19.92 kB / 1.46 GB, free: 10.7 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/0.8548, allocations: 163.8 kB / 1.46 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.8548, allocations: 15.92 kB / 1.46 GB, free: 10.53 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005626/0.8554, allocations: 67.61 kB / 1.46 GB, free: 10.46 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/0.8555, allocations: 31.98 kB / 1.46 GB, free: 10.43 MB / 1.186 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.0001814/0.8557, allocations: 236 kB / 1.46 GB, free: 10.19 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.8558, allocations: 111.2 kB / 1.461 GB, free: 10.08 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.8571, allocations: 0.786 MB / 1.461 GB, free: 9.277 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.8571, allocations: 11.98 kB / 1.461 GB, free: 9.266 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.8572, allocations: 0 / 1.461 GB, free: 9.266 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001074/0.8582, allocations: 0.871 MB / 1.462 GB, free: 8.332 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/0.8613, allocations: 2.147 MB / 1.464 GB, free: 6.078 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.8613, allocations: 8 kB / 1.464 GB, free: 6.07 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006579/0.862, allocations: 147.8 kB / 1.464 GB, free: 5.926 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.862, allocations: 8 kB / 1.464 GB, free: 5.918 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.8621, allocations: 19.98 kB / 1.464 GB, free: 5.898 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003253/0.8624, allocations: 0.5979 MB / 1.465 GB, free: 5.277 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.8624, allocations: 7.984 kB / 1.465 GB, free: 5.27 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.8641, allocations: 1.284 MB / 1.466 GB, free: 3.938 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/0.8644, allocations: 268.1 kB / 1.467 GB, free: 3.656 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.8645, allocations: 15.98 kB / 1.467 GB, free: 3.641 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004536/0.865, allocations: 24 kB / 1.467 GB, free: 3.617 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.8651, allocations: 48.44 kB / 1.467 GB, free: 3.57 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.646e-05/0.8651, allocations: 23.98 kB / 1.467 GB, free: 3.547 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006362/0.8658, allocations: 0.5421 MB / 1.467 GB, free: 2.992 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8658, allocations: 0 / 1.467 GB, free: 2.992 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001101/0.8669, allocations: 0.569 MB / 1.468 GB, free: 2.422 MB / 1.186 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.002401/0.8693, allocations: 1.97 MB / 1.47 GB, free: 416 kB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001876/0.8712, allocations: 1.162 MB / 1.471 GB, free: 15.25 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.8712, allocations: 192 / 1.471 GB, free: 15.25 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005427/0.8718, allocations: 370.9 kB / 1.471 GB, free: 14.88 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.8736, allocations: 485.7 kB / 1.472 GB, free: 14.42 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.8836, allocations: 7.993 MB / 1.479 GB, free: 6.129 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007786/0.8844, allocations: 1.175 MB / 1.481 GB, free: 4.926 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008555/0.8853, allocations: 355.8 kB / 1.481 GB, free: 4.574 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005372/0.8858, allocations: 431.3 kB / 1.481 GB, free: 4.152 MB / 1.201 GB Notification: Performance of SimCode: time 2.8e-07/0.8858, allocations: 0 / 1.481 GB, free: 4.152 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.544/3.43, allocations: 26.43 MB / 1.507 GB, free: 10.18 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.84/23.27, allocations: 10.23 kB / 1.507 GB, free: 10.17 MB / 1.232 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_11_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)