Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.723/1.723, allocations: 288.2 MB / 303.2 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 183.5 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.839/1.839, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 105.5 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004153, allocations: 16.09 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2457, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.7566/1.002, allocations: 164.1 MB / 1.14 GB, free: 15.6 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01446/1.017, allocations: 9.548 MB / 1.149 GB, free: 10.31 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002061/1.019, allocations: 36.97 kB / 1.149 GB, free: 10.3 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002366/1.021, allocations: 0.4984 MB / 1.15 GB, free: 9.871 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0063/1.028, allocations: 1.572 MB / 1.151 GB, free: 8.59 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004606/1.032, allocations: 1.136 MB / 1.152 GB, free: 7.801 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004675/1.037, allocations: 1.613 MB / 1.154 GB, free: 6.75 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002647/1.04, allocations: 0.8872 MB / 1.155 GB, free: 6.242 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003926/1.044, allocations: 1.124 MB / 1.156 GB, free: 5.52 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002441/1.046, allocations: 0.6396 MB / 1.156 GB, free: 5.141 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005767/1.047, allocations: 56.69 kB / 1.156 GB, free: 5.137 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003669/1.051, allocations: 0.8196 MB / 1.157 GB, free: 4.777 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001066/1.052, allocations: 420.7 kB / 1.158 GB, free: 4.527 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/1.053, allocations: 272.4 kB / 1.158 GB, free: 4.379 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003133/1.056, allocations: 1.512 MB / 1.159 GB, free: 3.379 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/1.056, allocations: 0 / 1.159 GB, free: 3.379 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/1.056, allocations: 0 / 1.159 GB, free: 3.379 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.347e-05/1.056, allocations: 1.562 kB / 1.159 GB, free: 3.379 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.004022/1.06, allocations: 1.431 MB / 1.161 GB, free: 2.285 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.773e-05/1.06, allocations: 9.781 kB / 1.161 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005329/1.061, allocations: 156.8 kB / 1.161 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002279/1.063, allocations: 324.6 kB / 1.161 GB, free: 2.012 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/1.065, allocations: 0.842 MB / 1.162 GB, free: 1.375 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.179e-05/1.065, allocations: 87.84 kB / 1.162 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/1.065, allocations: 106.7 kB / 1.162 GB, free: 1.297 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/1.067, allocations: 1.164 MB / 1.163 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/1.067, allocations: 0 / 1.163 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.346e-05/1.068, allocations: 42 kB / 1.163 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.722e-05/1.068, allocations: 43.58 kB / 1.163 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/1.069, allocations: 0.9344 MB / 1.164 GB, free: 84 kB / 0.698 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.006742/1.076, allocations: 4.712 MB / 1.169 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/1.078, allocations: 0.7349 MB / 1.17 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000493/1.078, allocations: 156.2 kB / 1.17 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/1.078, allocations: 37.5 kB / 1.17 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=69): time 4.388e-06/1.078, allocations: 0 / 1.17 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69): time 0.002264/1.08, allocations: 1.017 MB / 1.171 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/1.08, allocations: 65.67 kB / 1.171 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/1.082, allocations: 0.7866 MB / 1.172 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.299e-05/1.082, allocations: 42.7 kB / 1.172 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/1.082, allocations: 0.5366 MB / 1.172 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/1.082, allocations: 245.2 kB / 1.173 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/1.083, allocations: 16.88 kB / 1.173 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.083, allocations: 338.2 kB / 1.173 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005107/1.083, allocations: 286.2 kB / 1.173 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007225/1.084, allocations: 0.5141 MB / 1.174 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006501/1.085, allocations: 374.5 kB / 1.174 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/1.085, allocations: 2.469 kB / 1.174 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001641/1.086, allocations: 0.9055 MB / 1.175 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007149/1.087, allocations: 1.755 MB / 1.177 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/1.087, allocations: 5.938 kB / 1.177 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.204e-05/1.087, allocations: 7.156 kB / 1.177 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009348/1.088, allocations: 188.5 kB / 1.177 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004109/1.088, allocations: 0.5932 MB / 1.177 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/1.09, allocations: 136.5 kB / 1.178 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-05/1.09, allocations: 27.34 kB / 1.178 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/1.09, allocations: 9.375 kB / 1.178 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001393/1.091, allocations: 0.8006 MB / 1.178 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/1.091, allocations: 6.484 kB / 1.178 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/1.091, allocations: 10.16 kB / 1.178 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006456/1.092, allocations: 167.8 kB / 1.178 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/1.092, allocations: 12.67 kB / 1.179 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/1.093, allocations: 124.6 kB / 1.179 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-05/1.093, allocations: 31.11 kB / 1.179 GB, free: 4.965 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007574/1.094, allocations: 406.5 kB / 1.179 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003086/1.094, allocations: 103.7 kB / 1.179 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/1.096, allocations: 0.8029 MB / 1.18 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/1.096, allocations: 7.219 kB / 1.18 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/1.096, allocations: 0 / 1.18 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001143/1.097, allocations: 0.8933 MB / 1.181 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004671/1.102, allocations: 2.172 MB / 1.183 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/1.102, allocations: 2.281 kB / 1.183 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008202/1.103, allocations: 150.5 kB / 1.183 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.866e-05/1.103, allocations: 5.656 kB / 1.183 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-05/1.103, allocations: 26.36 kB / 1.183 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004378/1.103, allocations: 0.5957 MB / 1.184 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.103, allocations: 2.781 kB / 1.184 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/1.106, allocations: 1.445 MB / 1.185 GB, free: 392 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008913/1.107, allocations: 258.5 kB / 1.185 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003163/1.107, allocations: 20.25 kB / 1.185 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/1.108, allocations: 72.84 kB / 1.185 GB, free: 120 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/1.108, allocations: 47.83 kB / 1.185 GB, free: 96 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.886e-05/1.108, allocations: 27.72 kB / 1.186 GB, free: 84 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001121/1.109, allocations: 0.5391 MB / 1.186 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/1.109, allocations: 0 / 1.186 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002369/1.112, allocations: 0.5613 MB / 1.187 GB, free: 15.64 MB / 0.7292 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003242/1.115, allocations: 2.723 MB / 1.189 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002464/1.117, allocations: 1.164 MB / 1.19 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.117, allocations: 2.281 kB / 1.19 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006349/1.118, allocations: 373.8 kB / 1.191 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002732/1.121, allocations: 488 kB / 1.191 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/1.134, allocations: 9.242 MB / 1.2 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/1.135, allocations: 1.198 MB / 1.201 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001531/1.137, allocations: 360 kB / 1.202 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007333/1.137, allocations: 435.3 kB / 1.202 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of SimCode: time 8.31e-07/1.137, allocations: 0 / 1.202 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06171/1.199, allocations: 26.33 MB / 1.228 GB, free: 8.797 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/1.199, allocations: 276 kB / 1.228 GB, free: 8.438 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.993/4.193, allocations: 0 / 1.228 GB, free: 8.438 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)