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.8/1.8, allocations: 288.4 MB / 303.3 MB, free: 8.184 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.001074/0.001073, allocations: 190.7 kB / 372 MB, free: 10.27 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.785/1.785, allocations: 205.4 MB / 0.6307 GB, free: 9.992 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.0007913/0.0007913, allocations: 97.3 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004425, allocations: 12.56 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2423, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.8226/1.065, allocations: 180.2 MB / 1.156 GB, free: 6.793 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01828/1.083, allocations: 10.14 MB / 1.166 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/1.085, allocations: 42.03 kB / 1.166 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001652/1.087, allocations: 364.7 kB / 1.166 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005157/1.092, allocations: 1.314 MB / 1.167 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003538/1.096, allocations: 0.8759 MB / 1.168 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005287/1.101, allocations: 3.175 MB / 1.171 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/1.103, allocations: 0.8758 MB / 1.172 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00381/1.107, allocations: 1.223 MB / 1.173 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002379/1.109, allocations: 0.9032 MB / 1.174 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002383/1.11, allocations: 53.28 kB / 1.174 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003512/1.113, allocations: 1.037 MB / 1.175 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000667/1.114, allocations: 442.9 kB / 1.176 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0006412/1.114, allocations: 281.2 kB / 1.176 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002763/1.117, allocations: 1.617 MB / 1.177 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.117, allocations: 0 / 1.177 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.675e-06/1.117, allocations: 0 / 1.177 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.697e-05/1.117, allocations: 0 / 1.177 GB, free: 7.023 MB / 0.7136 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.002945/1.12, allocations: 1.466 MB / 1.179 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/1.12, allocations: 8.125 kB / 1.179 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002123/1.12, allocations: 160.6 kB / 1.179 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/1.122, allocations: 318.5 kB / 1.179 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/1.124, allocations: 0.8859 MB / 1.18 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.097e-05/1.124, allocations: 81.45 kB / 1.18 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/1.124, allocations: 112.5 kB / 1.18 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/1.126, allocations: 1.171 MB / 1.181 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/1.126, allocations: 0 / 1.181 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.642e-05/1.127, allocations: 40.62 kB / 1.182 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.956e-05/1.127, allocations: 41.44 kB / 1.182 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/1.128, allocations: 0.9285 MB / 1.182 GB, free: 3.684 MB / 0.7136 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.006247/1.134, allocations: 4.724 MB / 1.187 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/1.136, allocations: 0.7256 MB / 1.188 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005753/1.136, allocations: 395.6 kB / 1.188 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006661/1.137, allocations: 336 kB / 1.188 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/1.137, allocations: 42 kB / 1.189 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 3.787e-06/1.137, allocations: 0 / 1.189 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.002048/1.139, allocations: 1.016 MB / 1.19 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/1.139, allocations: 59.94 kB / 1.19 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/1.14, allocations: 0.7854 MB / 1.19 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.994e-05/1.14, allocations: 47.45 kB / 1.19 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004263/1.141, allocations: 0.5346 MB / 1.191 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/1.141, allocations: 242.8 kB / 1.191 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/1.141, allocations: 14.47 kB / 1.191 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001696/1.141, allocations: 341.9 kB / 1.191 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004771/1.142, allocations: 286.8 kB / 1.192 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000679/1.142, allocations: 0.5156 MB / 1.192 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005947/1.143, allocations: 369.6 kB / 1.193 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/1.143, allocations: 1.75 kB / 1.193 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001541/1.145, allocations: 0.9064 MB / 1.194 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001775/1.145, allocations: 227.3 kB / 1.194 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/1.145, allocations: 5.344 kB / 1.194 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/1.145, allocations: 8.406 kB / 1.194 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008979/1.146, allocations: 194.4 kB / 1.194 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004351/1.146, allocations: 0.5993 MB / 1.195 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/1.147, allocations: 131.4 kB / 1.195 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/1.147, allocations: 32.64 kB / 1.195 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/1.147, allocations: 4.219 kB / 1.195 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001279/1.149, allocations: 0.7921 MB / 1.195 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/1.149, allocations: 5.938 kB / 1.195 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/1.149, allocations: 12.22 kB / 1.195 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000615/1.149, allocations: 172.2 kB / 1.196 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/1.149, allocations: 12.69 kB / 1.196 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009346/1.15, allocations: 133.3 kB / 1.196 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.532e-05/1.15, allocations: 32.66 kB / 1.196 GB, free: 9.777 MB / 0.7292 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.0007164/1.151, allocations: 410.5 kB / 1.196 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/1.151, allocations: 100.1 kB / 1.196 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/1.153, allocations: 0.805 MB / 1.197 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/1.153, allocations: 5.406 kB / 1.197 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.153, allocations: 0 / 1.197 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001147/1.154, allocations: 0.8869 MB / 1.198 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003713/1.157, allocations: 2.174 MB / 1.2 GB, free: 6.812 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/1.157, allocations: 2.5 kB / 1.2 GB, free: 6.812 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007414/1.158, allocations: 156.5 kB / 1.2 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/1.158, allocations: 4.875 kB / 1.2 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.085e-05/1.158, allocations: 20.69 kB / 1.2 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003647/1.159, allocations: 0.6011 MB / 1.201 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.159, allocations: 2.875 kB / 1.201 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/1.161, allocations: 1.329 MB / 1.202 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005117/1.161, allocations: 260.9 kB / 1.202 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/1.161, allocations: 21.8 kB / 1.202 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006205/1.162, allocations: 70.33 kB / 1.202 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/1.162, allocations: 50.08 kB / 1.203 GB, free: 5.066 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.217e-05/1.162, allocations: 27.64 kB / 1.203 GB, free: 5.059 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007691/1.163, allocations: 0.5368 MB / 1.203 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/1.163, allocations: 0 / 1.203 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001595/1.164, allocations: 0.5668 MB / 1.204 GB, free: 4.355 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.002732/1.167, allocations: 2.012 MB / 1.206 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002352/1.169, allocations: 1.169 MB / 1.207 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.17, allocations: 0 / 1.207 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006148/1.17, allocations: 367 kB / 1.207 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/1.173, allocations: 491 kB / 1.208 GB, free: 308 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/1.184, allocations: 6.439 MB / 1.214 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000857/1.185, allocations: 1.171 MB / 1.215 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001474/1.187, allocations: 356 kB / 1.215 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000612/1.187, allocations: 439.2 kB / 1.216 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of SimCode: time 1.132e-06/1.187, allocations: 4 kB / 1.216 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05326/1.241, allocations: 26.38 MB / 1.241 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/1.241, allocations: 272.7 kB / 1.242 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.223/4.464, allocations: 0 / 1.242 GB, free: 13.24 MB / 0.7761 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)