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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.001064/0.001064, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001488/0.001488, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.374/2.374, allocations: 390.4 MB / 0.6655 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 11.98 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7742/0.7746, allocations: 142.3 MB / 0.9539 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.198/0.9726, allocations: 180.2 MB / 1.13 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.014/0.9867, allocations: 10.16 MB / 1.14 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.9884, allocations: 39.75 kB / 1.14 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001621/0.9901, allocations: 369.5 kB / 1.14 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004446/0.9945, allocations: 1.322 MB / 1.141 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003298/0.9979, allocations: 0.8816 MB / 1.142 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004695/1.003, allocations: 3.181 MB / 1.145 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/1.004, allocations: 0.8848 MB / 1.146 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003123/1.008, allocations: 1.229 MB / 1.147 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001842/1.009, allocations: 0.895 MB / 1.148 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001819/1.01, allocations: 52 kB / 1.148 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002617/1.012, allocations: 1.033 MB / 1.149 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000531/1.013, allocations: 446.7 kB / 1.15 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004438/1.013, allocations: 273 kB / 1.15 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00216/1.015, allocations: 1.621 MB / 1.152 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.015, allocations: 4 kB / 1.152 GB, free: 5 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.064e-06/1.015, allocations: 0 / 1.152 GB, free: 5 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.371e-05/1.015, allocations: 0 / 1.152 GB, free: 5 MB / 0.9044 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.002703/1.018, allocations: 1.456 MB / 1.153 GB, free: 3.492 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/1.018, allocations: 8.031 kB / 1.153 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002004/1.018, allocations: 164.2 kB / 1.153 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/1.02, allocations: 326 kB / 1.154 GB, free: 2.996 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/1.022, allocations: 0.8944 MB / 1.154 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.193e-05/1.022, allocations: 82 kB / 1.155 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/1.022, allocations: 112 kB / 1.155 GB, free: 1.867 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/1.024, allocations: 1.175 MB / 1.156 GB, free: 0.6562 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/1.024, allocations: 0 / 1.156 GB, free: 0.6562 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.174e-05/1.024, allocations: 47.98 kB / 1.156 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.377e-05/1.024, allocations: 34 kB / 1.156 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/1.026, allocations: 0.9407 MB / 1.157 GB, free: 15.64 MB / 0.92 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.005754/1.032, allocations: 4.718 MB / 1.161 GB, free: 10.53 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/1.033, allocations: 0.7321 MB / 1.162 GB, free: 9.789 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000553/1.034, allocations: 399 kB / 1.162 GB, free: 9.398 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005805/1.034, allocations: 332.6 kB / 1.163 GB, free: 9.02 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/1.034, allocations: 43.12 kB / 1.163 GB, free: 8.969 MB / 0.92 GB Notification: Performance of pre-optimization done (n=69): time 2.916e-06/1.034, allocations: 0 / 1.163 GB, free: 8.969 MB / 0.92 GB Notification: Performance of matching and sorting (n=69): time 0.002015/1.036, allocations: 1.021 MB / 1.164 GB, free: 7.941 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/1.036, allocations: 63.91 kB / 1.164 GB, free: 7.863 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000983/1.037, allocations: 0.7869 MB / 1.165 GB, free: 7.051 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.615e-05/1.037, allocations: 41.7 kB / 1.165 GB, free: 7.004 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004086/1.038, allocations: 0.5344 MB / 1.165 GB, free: 6.461 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000307/1.038, allocations: 248.5 kB / 1.165 GB, free: 6.215 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/1.038, allocations: 16 kB / 1.165 GB, free: 6.199 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.038, allocations: 337.9 kB / 1.166 GB, free: 5.863 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004692/1.039, allocations: 289.8 kB / 1.166 GB, free: 5.582 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006513/1.039, allocations: 0.5031 MB / 1.167 GB, free: 4.996 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005901/1.04, allocations: 375 kB / 1.167 GB, free: 4.629 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/1.04, allocations: 4 kB / 1.167 GB, free: 4.625 MB / 0.92 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001479/1.041, allocations: 0.9135 MB / 1.168 GB, free: 3.703 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001683/1.042, allocations: 221.8 kB / 1.168 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.042, allocations: 8 kB / 1.168 GB, free: 3.414 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/1.042, allocations: 8 kB / 1.168 GB, free: 3.406 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008415/1.043, allocations: 183.7 kB / 1.168 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003763/1.043, allocations: 0.6016 MB / 1.169 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008595/1.044, allocations: 139.1 kB / 1.169 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.641e-05/1.044, allocations: 39.98 kB / 1.169 GB, free: 2.426 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/1.044, allocations: 4.094 kB / 1.169 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001325/1.045, allocations: 0.7997 MB / 1.17 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/1.045, allocations: 7.953 kB / 1.17 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/1.045, allocations: 8 kB / 1.17 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006231/1.046, allocations: 172.3 kB / 1.17 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/1.046, allocations: 12 kB / 1.17 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008265/1.047, allocations: 131.1 kB / 1.17 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.757e-05/1.047, allocations: 31.98 kB / 1.17 GB, free: 1.266 MB / 0.92 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.0005928/1.047, allocations: 410.9 kB / 1.17 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/1.048, allocations: 98.78 kB / 1.171 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/1.049, allocations: 0.8132 MB / 1.171 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/1.049, allocations: 8 kB / 1.171 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.049, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001067/1.05, allocations: 0.8906 MB / 1.172 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003661/1.054, allocations: 2.174 MB / 1.174 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.054, allocations: 0 / 1.174 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007831/1.055, allocations: 152.1 kB / 1.175 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/1.055, allocations: 7.938 kB / 1.175 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/1.055, allocations: 23.98 kB / 1.175 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004238/1.055, allocations: 0.5976 MB / 1.175 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.055, allocations: 0 / 1.175 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/1.057, allocations: 1.311 MB / 1.176 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005009/1.058, allocations: 255.7 kB / 1.177 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/1.058, allocations: 23.98 kB / 1.177 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005826/1.058, allocations: 63.8 kB / 1.177 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/1.058, allocations: 52.39 kB / 1.177 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/1.059, allocations: 27.98 kB / 1.177 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007515/1.059, allocations: 0.5343 MB / 1.177 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.059, allocations: 4 kB / 1.177 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001522/1.061, allocations: 0.5609 MB / 1.178 GB, free: 8.988 MB / 0.9356 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 (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.002715/1.064, allocations: 1.987 MB / 1.18 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002193/1.066, allocations: 1.168 MB / 1.181 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/1.066, allocations: 1.812 kB / 1.181 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006585/1.066, allocations: 375.4 kB / 1.181 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/1.069, allocations: 487.2 kB / 1.182 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00996/1.079, allocations: 6.493 MB / 1.188 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007581/1.08, allocations: 1.178 MB / 1.189 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001245/1.081, allocations: 360 kB / 1.19 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005749/1.081, allocations: 439.3 kB / 1.19 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of SimCode: time 3.076e-06/1.081, allocations: 0 / 1.19 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05018/1.132, allocations: 26.37 MB / 1.216 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002523/1.132, allocations: 273.1 kB / 1.216 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.618/3.75, allocations: 0 / 1.216 GB, free: 1.93 MB / 0.9669 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat does not exist to compare? outputFormat=mat