Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_10_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.001044/0.001044, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00911/0.00911, allocations: 172.1 kB / 16.27 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.582/2.582, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003416, allocations: 12 kB / 0.873 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6708/0.6711, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.2122/0.8833, allocations: 193.1 MB / 1.212 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01466/0.8981, allocations: 10.82 MB / 1.222 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.8993, allocations: 43.75 kB / 1.222 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.9007, allocations: 449.4 kB / 1.223 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004198/0.9049, allocations: 1.677 MB / 1.224 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002794/0.9078, allocations: 1.06 MB / 1.225 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004047/0.9118, allocations: 3.739 MB / 1.229 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.9132, allocations: 0.9938 MB / 1.23 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003685/0.9168, allocations: 1.413 MB / 1.231 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/0.9184, allocations: 0.9246 MB / 1.232 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.9185, allocations: 56 kB / 1.232 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003245/0.9217, allocations: 1.898 MB / 1.234 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004523/0.9222, allocations: 454.6 kB / 1.235 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006971/0.9229, allocations: 0.6467 MB / 1.235 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002805/0.9257, allocations: 2.336 MB / 1.238 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.9257, allocations: 0 / 1.238 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9257, allocations: 0 / 1.238 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.9258, allocations: 0 / 1.238 GB, free: 3.422 MB / 0.9825 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.002472/0.9282, allocations: 1.444 MB / 1.239 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.9283, allocations: 8.031 kB / 1.239 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001937/0.9285, allocations: 156.3 kB / 1.239 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/0.9303, allocations: 322.1 kB / 1.24 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.9317, allocations: 0.8781 MB / 1.24 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.878e-05/0.9318, allocations: 74 kB / 1.24 GB, free: 456 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.932, allocations: 100 kB / 1.241 GB, free: 356 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6302/1.562, allocations: 1.172 MB / 1.242 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/1.562, allocations: 1.531 kB / 1.242 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/1.562, allocations: 40.78 kB / 1.242 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-05/1.562, allocations: 38.2 kB / 1.242 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/1.564, allocations: 0.9396 MB / 1.243 GB, free: 14.61 MB / 0.9825 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.007794/1.572, allocations: 4.719 MB / 1.247 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/1.574, allocations: 0.7106 MB / 1.248 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009328/1.575, allocations: 397.9 kB / 1.248 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007277/1.576, allocations: 334.1 kB / 1.249 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/1.576, allocations: 42.75 kB / 1.249 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=68): time 2.936e-06/1.576, allocations: 1.125 kB / 1.249 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=68): time 0.003119/1.579, allocations: 1.004 MB / 1.25 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/1.579, allocations: 58.81 kB / 1.25 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002265/1.581, allocations: 0.8008 MB / 1.251 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/1.581, allocations: 38.3 kB / 1.251 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005651/1.582, allocations: 0.5356 MB / 1.251 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/1.582, allocations: 244.8 kB / 1.251 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/1.582, allocations: 68.97 kB / 1.251 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.582, allocations: 335 kB / 1.252 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007657/1.583, allocations: 288.6 kB / 1.252 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/1.584, allocations: 0.4989 MB / 1.252 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/1.586, allocations: 0.7875 MB / 1.253 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/1.586, allocations: 7.594 kB / 1.253 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002505/1.589, allocations: 0.9104 MB / 1.254 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001561/1.589, allocations: 232.9 kB / 1.254 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/1.589, allocations: 5.188 kB / 1.254 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.535e-05/1.589, allocations: 8.781 kB / 1.254 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/1.59, allocations: 178.1 kB / 1.255 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003056/1.59, allocations: 0.6075 MB / 1.255 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/1.592, allocations: 136.9 kB / 1.255 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-05/1.592, allocations: 35.83 kB / 1.255 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/1.592, allocations: 4.5 kB / 1.255 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00179/1.594, allocations: 0.7955 MB / 1.256 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/1.594, allocations: 6.031 kB / 1.256 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/1.594, allocations: 8.781 kB / 1.256 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006756/1.594, allocations: 171.9 kB / 1.256 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/1.594, allocations: 9.516 kB / 1.256 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009207/1.595, allocations: 126.2 kB / 1.256 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/1.595, allocations: 31 kB / 1.256 GB, free: 9.148 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006431/1.596, allocations: 410.1 kB / 1.257 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/1.596, allocations: 99.75 kB / 1.257 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/1.598, allocations: 0.7932 MB / 1.258 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/1.598, allocations: 6.875 kB / 1.258 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/1.598, allocations: 0 / 1.258 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001562/1.599, allocations: 0.8784 MB / 1.259 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005312/1.605, allocations: 2.152 MB / 1.261 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/1.605, allocations: 2.125 kB / 1.261 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/1.606, allocations: 155.5 kB / 1.261 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.45e-05/1.606, allocations: 9.031 kB / 1.261 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.487e-05/1.606, allocations: 20.31 kB / 1.261 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002559/1.606, allocations: 0.5957 MB / 1.261 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/1.606, allocations: 6.312 kB / 1.261 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/1.609, allocations: 1.29 MB / 1.263 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005591/1.609, allocations: 254.8 kB / 1.263 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/1.61, allocations: 17.06 kB / 1.263 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009503/1.611, allocations: 71.69 kB / 1.263 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/1.611, allocations: 44.83 kB / 1.263 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.231e-05/1.611, allocations: 27.67 kB / 1.263 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001023/1.612, allocations: 0.5449 MB / 1.264 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.31e-07/1.612, allocations: 0 / 1.264 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002217/1.614, allocations: 0.5647 MB / 1.264 GB, free: 6.727 MB / 0.9825 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 (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00364/1.618, allocations: 1.953 MB / 1.266 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003187/1.621, allocations: 1.162 MB / 1.267 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/1.621, allocations: 1.062 kB / 1.267 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008539/1.622, allocations: 362.7 kB / 1.268 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003727/1.625, allocations: 492 kB / 1.268 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/1.638, allocations: 8.86 MB / 1.277 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000701/1.638, allocations: 1.174 MB / 1.278 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001312/1.64, allocations: 351 kB / 1.278 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000538/1.64, allocations: 432.6 kB / 1.279 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of SimCode: time 1.122e-06/1.64, allocations: 0 / 1.279 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04466/1.685, allocations: 25.23 MB / 1.303 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/1.685, allocations: 288.5 kB / 1.303 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/4.169, allocations: 0 / 1.303 GB, free: 14.31 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_10_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)