Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_latest_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.001139/0.001139, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001242/0.001242, allocations: 177.3 kB / 15.95 MB, free: 216 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.694/1.694, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.807/2.807, allocations: 409.2 MB / 0.6838 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003941, allocations: 12 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8007/0.8011, allocations: 146.8 MB / 0.9809 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.242/1.043, allocations: 164.1 MB / 1.141 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01621/1.06, allocations: 9.572 MB / 1.151 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/1.061, allocations: 35.75 kB / 1.151 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001979/1.063, allocations: 0.4976 MB / 1.151 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006076/1.07, allocations: 1.593 MB / 1.153 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004373/1.074, allocations: 1.143 MB / 1.154 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004272/1.078, allocations: 1.617 MB / 1.155 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003454/1.082, allocations: 0.8966 MB / 1.156 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005248/1.087, allocations: 1.125 MB / 1.157 GB, free: 1.254 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002294/1.089, allocations: 0.6342 MB / 1.158 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0006927/1.09, allocations: 60 kB / 1.158 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003872/1.094, allocations: 0.8229 MB / 1.159 GB, free: 15.73 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009792/1.095, allocations: 418.8 kB / 1.159 GB, free: 15.32 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009222/1.096, allocations: 273 kB / 1.159 GB, free: 15.05 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003317/1.099, allocations: 1.524 MB / 1.161 GB, free: 13.52 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/1.099, allocations: 0 / 1.161 GB, free: 13.52 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.665e-06/1.099, allocations: 0 / 1.161 GB, free: 13.52 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001085/1.099, allocations: 0 / 1.161 GB, free: 13.52 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.004082/1.104, allocations: 1.425 MB / 1.162 GB, free: 12.05 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/1.104, allocations: 12.03 kB / 1.162 GB, free: 12.04 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005427/1.104, allocations: 152.3 kB / 1.162 GB, free: 11.88 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002352/1.107, allocations: 330 kB / 1.163 GB, free: 11.55 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002702/1.109, allocations: 0.8554 MB / 1.164 GB, free: 10.66 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.737e-05/1.109, allocations: 78 kB / 1.164 GB, free: 10.58 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003127/1.11, allocations: 108 kB / 1.164 GB, free: 10.47 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/1.112, allocations: 1.16 MB / 1.165 GB, free: 9.277 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/1.112, allocations: 7.938 kB / 1.165 GB, free: 9.27 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.469e-05/1.112, allocations: 40 kB / 1.165 GB, free: 9.23 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.712e-05/1.112, allocations: 34 kB / 1.165 GB, free: 9.195 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00161/1.114, allocations: 0.9446 MB / 1.166 GB, free: 8.254 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.006266/1.12, allocations: 4.71 MB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/1.121, allocations: 0.7403 MB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000435/1.122, allocations: 158.4 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/1.122, allocations: 43.08 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of pre-optimization done (n=69): time 3.126e-06/1.122, allocations: 0 / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of matching and sorting (n=69): time 0.002009/1.124, allocations: 1.017 MB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/1.124, allocations: 59.97 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/1.125, allocations: 0.7947 MB / 1.173 GB, free: 280 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.095e-05/1.125, allocations: 45.7 kB / 1.173 GB, free: 228 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004565/1.125, allocations: 0.5268 MB / 1.174 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/1.126, allocations: 252.3 kB / 1.174 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/1.126, allocations: 20 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.126, allocations: 337.9 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004755/1.126, allocations: 293.8 kB / 1.175 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006438/1.127, allocations: 0.5016 MB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000591/1.128, allocations: 375 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.128, allocations: 0 / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001516/1.129, allocations: 0.9097 MB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.001069/1.13, allocations: 1.753 MB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.13, allocations: 8 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/1.13, allocations: 8 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009028/1.131, allocations: 183.7 kB / 1.178 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004455/1.132, allocations: 0.6055 MB / 1.179 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/1.133, allocations: 139.1 kB / 1.179 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.244e-05/1.133, allocations: 32 kB / 1.179 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/1.133, allocations: 4 kB / 1.179 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001427/1.134, allocations: 0.7998 MB / 1.18 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.135, allocations: 4 kB / 1.18 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/1.135, allocations: 8 kB / 1.18 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/1.135, allocations: 172.3 kB / 1.18 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/1.135, allocations: 12 kB / 1.18 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/1.136, allocations: 127.2 kB / 1.18 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.726e-05/1.136, allocations: 39.97 kB / 1.18 GB, free: 8.891 MB / 0.9356 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.0007227/1.137, allocations: 414.3 kB / 1.181 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/1.137, allocations: 98.78 kB / 1.181 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/1.139, allocations: 0.8055 MB / 1.181 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/1.139, allocations: 4 kB / 1.181 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.139, allocations: 3.984 kB / 1.181 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001099/1.14, allocations: 0.8945 MB / 1.182 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003868/1.144, allocations: 2.17 MB / 1.184 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/1.144, allocations: 0 / 1.184 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007308/1.144, allocations: 160 kB / 1.185 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/1.144, allocations: 4.094 kB / 1.185 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/1.145, allocations: 27.92 kB / 1.185 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003365/1.145, allocations: 0.5976 MB / 1.185 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.145, allocations: 0 / 1.185 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/1.147, allocations: 1.412 MB / 1.187 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006067/1.148, allocations: 255.7 kB / 1.187 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/1.148, allocations: 19.98 kB / 1.187 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006334/1.148, allocations: 63.8 kB / 1.187 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/1.148, allocations: 56.39 kB / 1.187 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.136e-05/1.148, allocations: 24 kB / 1.187 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008413/1.149, allocations: 0.5421 MB / 1.188 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of sort global known variables: time 5.51e-07/1.149, allocations: 0 / 1.188 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001715/1.151, allocations: 0.5648 MB / 1.188 GB, free: 452 kB / 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.003059/1.154, allocations: 2.709 MB / 1.191 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002523/1.157, allocations: 1.165 MB / 1.192 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/1.157, allocations: 4 kB / 1.192 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006641/1.157, allocations: 366.9 kB / 1.192 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/1.16, allocations: 482.8 kB / 1.193 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/1.172, allocations: 9.29 MB / 1.202 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009831/1.173, allocations: 1.198 MB / 1.203 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001486/1.175, allocations: 364 kB / 1.203 GB, free: 492 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006218/1.175, allocations: 439.3 kB / 1.204 GB, free: 52 kB / 0.9512 GB Notification: Performance of SimCode: time 2.134e-06/1.175, allocations: 0 / 1.204 GB, free: 52 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05873/1.234, allocations: 26.35 MB / 1.229 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003012/1.235, allocations: 266.8 kB / 1.23 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.738/3.973, allocations: 0 / 1.23 GB, free: 5.828 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat does not exist to compare? outputFormat=mat