Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.869/2.869, allocations: 287.3 MB / 302.3 MB, free: 8.395 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.001711/0.001711, allocations: 182.1 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.296/2.296, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001182/0.001182, allocations: 89.3 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006486/0.0006488, allocations: 11.28 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2216, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 1.13/1.351, allocations: 164.1 MB / 1.139 GB, free: 15.24 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02249/1.374, allocations: 9.531 MB / 1.148 GB, free: 11.11 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/1.376, allocations: 41.62 kB / 1.148 GB, free: 11.09 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002989/1.379, allocations: 0.4953 MB / 1.148 GB, free: 10.8 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008487/1.388, allocations: 1.571 MB / 1.15 GB, free: 9.551 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00618/1.394, allocations: 1.133 MB / 1.151 GB, free: 8.758 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005109/1.399, allocations: 1.607 MB / 1.153 GB, free: 7.715 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002664/1.402, allocations: 0.9015 MB / 1.153 GB, free: 7.195 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004561/1.406, allocations: 1.124 MB / 1.155 GB, free: 6.473 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00222/1.409, allocations: 0.6397 MB / 1.155 GB, free: 6.094 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005021/1.409, allocations: 53.81 kB / 1.155 GB, free: 6.094 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004127/1.413, allocations: 0.8232 MB / 1.156 GB, free: 5.73 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001221/1.415, allocations: 419.5 kB / 1.156 GB, free: 5.48 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/1.416, allocations: 273.5 kB / 1.157 GB, free: 5.332 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004309/1.42, allocations: 1.512 MB / 1.158 GB, free: 4.332 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/1.42, allocations: 0 / 1.158 GB, free: 4.332 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.017e-06/1.42, allocations: 3.938 kB / 1.158 GB, free: 4.328 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.637e-05/1.42, allocations: 1.031 kB / 1.158 GB, free: 4.328 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.00542/1.426, allocations: 1.431 MB / 1.16 GB, free: 3.234 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/1.426, allocations: 10.31 kB / 1.16 GB, free: 3.234 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006276/1.426, allocations: 159.9 kB / 1.16 GB, free: 3.105 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003291/1.43, allocations: 317.7 kB / 1.16 GB, free: 2.965 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00353/1.433, allocations: 0.8532 MB / 1.161 GB, free: 2.316 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/1.434, allocations: 81.75 kB / 1.161 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004423/1.434, allocations: 101.8 kB / 1.161 GB, free: 2.246 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004077/1.438, allocations: 1.168 MB / 1.162 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-05/1.438, allocations: 1.344 kB / 1.162 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/1.438, allocations: 41.72 kB / 1.162 GB, free: 1.496 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.771e-05/1.439, allocations: 35.44 kB / 1.162 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003694/1.442, allocations: 0.935 MB / 1.163 GB, free: 1.039 MB / 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.01163/1.454, allocations: 4.719 MB / 1.168 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/1.456, allocations: 0.7458 MB / 1.169 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007988/1.457, allocations: 148.3 kB / 1.169 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.526e-05/1.457, allocations: 45.94 kB / 1.169 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=69): time 4.479e-06/1.457, allocations: 0 / 1.169 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69): time 0.003755/1.461, allocations: 1.021 MB / 1.17 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/1.461, allocations: 63.7 kB / 1.17 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/1.463, allocations: 0.7845 MB / 1.171 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002316/1.463, allocations: 39.11 kB / 1.171 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006444/1.464, allocations: 0.5341 MB / 1.171 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004716/1.464, allocations: 247 kB / 1.171 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/1.465, allocations: 17.41 kB / 1.171 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001886/1.465, allocations: 337.7 kB / 1.172 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009427/1.466, allocations: 291.5 kB / 1.172 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/1.467, allocations: 0.5059 MB / 1.172 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/1.468, allocations: 372.5 kB / 1.173 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/1.468, allocations: 0 / 1.173 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002922/1.471, allocations: 0.9122 MB / 1.174 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009434/1.472, allocations: 1.753 MB / 1.175 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/1.472, allocations: 8.891 kB / 1.175 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.13e-05/1.472, allocations: 8.188 kB / 1.175 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/1.474, allocations: 185.9 kB / 1.176 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006203/1.475, allocations: 0.5904 MB / 1.176 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/1.477, allocations: 135.4 kB / 1.176 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/1.477, allocations: 37.39 kB / 1.176 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/1.477, allocations: 6.75 kB / 1.176 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002442/1.48, allocations: 0.7976 MB / 1.177 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/1.48, allocations: 9.812 kB / 1.177 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/1.48, allocations: 7.25 kB / 1.177 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/1.481, allocations: 172 kB / 1.177 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/1.481, allocations: 7.719 kB / 1.177 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/1.483, allocations: 118.5 kB / 1.177 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/1.483, allocations: 33.64 kB / 1.177 GB, free: 5.91 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.001063/1.484, allocations: 403.7 kB / 1.178 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004292/1.485, allocations: 107.2 kB / 1.178 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002498/1.487, allocations: 0.8038 MB / 1.179 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/1.487, allocations: 7.656 kB / 1.179 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/1.487, allocations: 0 / 1.179 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002008/1.489, allocations: 0.8889 MB / 1.18 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006996/1.496, allocations: 2.172 MB / 1.182 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/1.496, allocations: 2.281 kB / 1.182 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/1.498, allocations: 151.1 kB / 1.182 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.805e-05/1.498, allocations: 5.312 kB / 1.182 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001476/1.498, allocations: 19.8 kB / 1.182 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004956/1.499, allocations: 0.6023 MB / 1.182 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/1.499, allocations: 2.812 kB / 1.182 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003721/1.502, allocations: 1.438 MB / 1.184 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009999/1.504, allocations: 256.6 kB / 1.184 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003238/1.504, allocations: 15.44 kB / 1.184 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/1.505, allocations: 71.55 kB / 1.184 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/1.506, allocations: 55.58 kB / 1.184 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.911e-05/1.506, allocations: 25.97 kB / 1.184 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001259/1.507, allocations: 0.537 MB / 1.185 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.62e-07/1.507, allocations: 0 / 1.185 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002976/1.51, allocations: 0.5689 MB / 1.185 GB, free: 0.5938 MB / 0.7136 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.00515/1.515, allocations: 2.726 MB / 1.188 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004097/1.519, allocations: 1.17 MB / 1.189 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/1.52, allocations: 0 / 1.189 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001157/1.521, allocations: 370.8 kB / 1.19 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004342/1.525, allocations: 483 kB / 1.19 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01959/1.545, allocations: 9.249 MB / 1.199 GB, free: 5.945 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/1.546, allocations: 1.194 MB / 1.2 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00232/1.549, allocations: 360 kB / 1.201 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/1.55, allocations: 435.3 kB / 1.201 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of SimCode: time 1.774e-06/1.55, allocations: 0 / 1.201 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09412/1.644, allocations: 26.32 MB / 1.227 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005367/1.645, allocations: 260.4 kB / 1.227 GB, free: 9.652 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.734/5.378, allocations: 0 / 1.227 GB, free: 9.652 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)