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.000867/0.0008673, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009235/0.0009237, allocations: 168.7 kB / 15.95 MB, free: 204 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.516/1.516, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.607/2.607, allocations: 409.4 MB / 0.684 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003978, allocations: 12 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8703/0.8707, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.2153/1.086, allocations: 180.2 MB / 1.157 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01613/1.102, allocations: 10.16 MB / 1.167 GB, free: 7.391 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/1.104, allocations: 39.75 kB / 1.167 GB, free: 7.352 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001621/1.106, allocations: 373.5 kB / 1.167 GB, free: 6.984 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005146/1.111, allocations: 1.318 MB / 1.169 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003338/1.115, allocations: 0.8846 MB / 1.17 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00473/1.119, allocations: 3.17 MB / 1.173 GB, free: 1.598 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/1.121, allocations: 0.8886 MB / 1.174 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003266/1.124, allocations: 1.233 MB / 1.175 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/1.126, allocations: 0.8988 MB / 1.176 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/1.126, allocations: 52 kB / 1.176 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/1.129, allocations: 1.029 MB / 1.177 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005374/1.129, allocations: 454.6 kB / 1.177 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004545/1.13, allocations: 273 kB / 1.177 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002269/1.132, allocations: 1.617 MB / 1.179 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.132, allocations: 8 kB / 1.179 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/1.132, allocations: 0 / 1.179 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.66e-05/1.132, allocations: 0 / 1.179 GB, free: 11.12 MB / 0.9356 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.002789/1.135, allocations: 1.46 MB / 1.18 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/1.135, allocations: 8.031 kB / 1.18 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002444/1.135, allocations: 160.3 kB / 1.181 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/1.137, allocations: 326 kB / 1.181 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/1.139, allocations: 0.9061 MB / 1.182 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.257e-05/1.139, allocations: 78 kB / 1.182 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/1.139, allocations: 103.9 kB / 1.182 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/1.141, allocations: 1.175 MB / 1.183 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/1.141, allocations: 0 / 1.183 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.822e-05/1.141, allocations: 44 kB / 1.183 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.887e-05/1.141, allocations: 37.98 kB / 1.183 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/1.143, allocations: 0.9368 MB / 1.184 GB, free: 5.766 MB / 0.9356 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.006299/1.149, allocations: 4.718 MB / 1.189 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/1.15, allocations: 0.7371 MB / 1.189 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005762/1.151, allocations: 396.5 kB / 1.19 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007743/1.152, allocations: 327.8 kB / 1.19 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/1.152, allocations: 47.11 kB / 1.19 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=69): time 2.535e-06/1.152, allocations: 3.938 kB / 1.19 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69): time 0.001985/1.154, allocations: 1.013 MB / 1.191 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/1.154, allocations: 63.91 kB / 1.191 GB, free: 14 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/1.155, allocations: 0.7908 MB / 1.192 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/1.155, allocations: 41.7 kB / 1.192 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004594/1.156, allocations: 0.5422 MB / 1.193 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/1.156, allocations: 236.5 kB / 1.193 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/1.156, allocations: 16 kB / 1.193 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.156, allocations: 338 kB / 1.193 GB, free: 12 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000478/1.156, allocations: 293.8 kB / 1.193 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006612/1.157, allocations: 0.5093 MB / 1.194 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006127/1.158, allocations: 371 kB / 1.194 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.158, allocations: 0 / 1.194 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001455/1.159, allocations: 0.9174 MB / 1.195 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001899/1.159, allocations: 220.5 kB / 1.195 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.159, allocations: 8 kB / 1.195 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/1.159, allocations: 12 kB / 1.195 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000861/1.16, allocations: 183.7 kB / 1.196 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004335/1.161, allocations: 0.5938 MB / 1.196 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008948/1.162, allocations: 151.1 kB / 1.196 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.377e-05/1.162, allocations: 28 kB / 1.196 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/1.162, allocations: 4 kB / 1.196 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001281/1.163, allocations: 0.7998 MB / 1.197 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.163, allocations: 4 kB / 1.197 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/1.163, allocations: 12.59 kB / 1.197 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/1.164, allocations: 171.8 kB / 1.197 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/1.164, allocations: 11.94 kB / 1.197 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007398/1.164, allocations: 131.2 kB / 1.197 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/1.165, allocations: 28 kB / 1.197 GB, free: 7.414 MB / 0.9512 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.0006735/1.165, allocations: 416.7 kB / 1.198 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/1.165, allocations: 102.8 kB / 1.198 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/1.167, allocations: 0.8016 MB / 1.199 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/1.167, allocations: 8 kB / 1.199 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.167, allocations: 0 / 1.199 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001192/1.168, allocations: 0.8905 MB / 1.2 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003538/1.172, allocations: 2.178 MB / 1.202 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.172, allocations: 4.219 kB / 1.202 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007337/1.172, allocations: 151.9 kB / 1.202 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/1.172, allocations: 4 kB / 1.202 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/1.172, allocations: 20 kB / 1.202 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003655/1.173, allocations: 0.6054 MB / 1.202 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.173, allocations: 4 kB / 1.202 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/1.175, allocations: 1.296 MB / 1.204 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004819/1.175, allocations: 263.7 kB / 1.204 GB, free: 408 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/1.175, allocations: 15.95 kB / 1.204 GB, free: 392 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005737/1.176, allocations: 75.78 kB / 1.204 GB, free: 316 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.91e-05/1.176, allocations: 48.45 kB / 1.204 GB, free: 268 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/1.176, allocations: 23.98 kB / 1.204 GB, free: 244 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007716/1.177, allocations: 0.5421 MB / 1.205 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/1.177, allocations: 0 / 1.205 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001578/1.178, allocations: 0.5609 MB / 1.205 GB, free: 15.12 MB / 0.9669 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.002671/1.181, allocations: 1.991 MB / 1.207 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002376/1.183, allocations: 1.165 MB / 1.208 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.183, allocations: 0 / 1.208 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006022/1.184, allocations: 375.5 kB / 1.209 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/1.187, allocations: 488.6 kB / 1.209 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/1.198, allocations: 6.486 MB / 1.215 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008973/1.199, allocations: 1.175 MB / 1.217 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001411/1.2, allocations: 368 kB / 1.217 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006082/1.201, allocations: 439.3 kB / 1.217 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of SimCode: time 7.51e-07/1.201, allocations: 0 / 1.217 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05511/1.256, allocations: 26.37 MB / 1.243 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/1.256, allocations: 280.4 kB / 1.243 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.491/3.747, allocations: 3.938 kB / 1.243 GB, free: 8.066 MB / 0.9981 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