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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001217/0.001217, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.01026/0.01026, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.349/1.349, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.768/2.768, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003308, allocations: 18.8 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3272, allocations: 159.6 MB / 1.059 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.2029/0.5301, allocations: 193.1 MB / 1.247 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6386/1.169, allocations: 10.83 MB / 1.258 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/1.17, allocations: 38.5 kB / 1.258 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/1.172, allocations: 439.9 kB / 1.258 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004509/1.176, allocations: 1.685 MB / 1.26 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003094/1.18, allocations: 1.042 MB / 1.261 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004335/1.184, allocations: 3.749 MB / 1.265 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001902/1.186, allocations: 0.9967 MB / 1.266 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004545/1.19, allocations: 1.421 MB / 1.267 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/1.192, allocations: 0.9194 MB / 1.268 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003561/1.193, allocations: 58.38 kB / 1.268 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004052/1.197, allocations: 1.894 MB / 1.27 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001003/1.198, allocations: 455.3 kB / 1.27 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002007/1.2, allocations: 0.6486 MB / 1.271 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005175/1.205, allocations: 2.333 MB / 1.273 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/1.205, allocations: 1.156 kB / 1.273 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.754e-06/1.205, allocations: 0 / 1.273 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.378e-05/1.205, allocations: 0 / 1.273 GB, free: 1.977 MB / 0.9981 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.004106/1.209, allocations: 1.445 MB / 1.275 GB, free: 17.12 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/1.209, allocations: 14.06 kB / 1.275 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000536/1.21, allocations: 160.3 kB / 1.275 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/1.212, allocations: 318.3 kB / 1.275 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/1.214, allocations: 0.8677 MB / 1.276 GB, free: 16.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/1.214, allocations: 77.03 kB / 1.276 GB, free: 16.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/1.214, allocations: 103.9 kB / 1.276 GB, free: 16.66 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002402/1.217, allocations: 1.188 MB / 1.277 GB, free: 16.51 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/1.217, allocations: 1.984 kB / 1.277 GB, free: 16.51 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-05/1.217, allocations: 39.38 kB / 1.277 GB, free: 16.51 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.746e-05/1.217, allocations: 37.02 kB / 1.277 GB, free: 16.51 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/1.219, allocations: 0.9468 MB / 1.278 GB, free: 16.49 MB / 1.014 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.005215/1.224, allocations: 4.714 MB / 1.283 GB, free: 13.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/1.225, allocations: 0.7204 MB / 1.284 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005324/1.226, allocations: 396.3 kB / 1.284 GB, free: 13.76 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005853/1.226, allocations: 327.3 kB / 1.284 GB, free: 13.47 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/1.226, allocations: 40.62 kB / 1.284 GB, free: 13.43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=68): time 2.465e-06/1.226, allocations: 3.203 kB / 1.284 GB, free: 13.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=68): time 0.001816/1.228, allocations: 1.006 MB / 1.285 GB, free: 13.33 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/1.228, allocations: 57.88 kB / 1.285 GB, free: 13.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009122/1.229, allocations: 0.7964 MB / 1.286 GB, free: 13.12 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.991e-05/1.229, allocations: 43.22 kB / 1.286 GB, free: 13.09 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/1.229, allocations: 0.5357 MB / 1.287 GB, free: 12.85 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/1.23, allocations: 245.7 kB / 1.287 GB, free: 12.7 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.584e-05/1.23, allocations: 69.72 kB / 1.287 GB, free: 12.68 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001074/1.23, allocations: 334.4 kB / 1.287 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/1.23, allocations: 293.9 kB / 1.288 GB, free: 12.37 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005772/1.231, allocations: 0.4943 MB / 1.288 GB, free: 12.16 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/1.232, allocations: 0.7898 MB / 1.289 GB, free: 11.97 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.232, allocations: 1.344 kB / 1.289 GB, free: 11.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001338/1.233, allocations: 0.9107 MB / 1.29 GB, free: 11.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001338/1.233, allocations: 229.3 kB / 1.29 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.233, allocations: 5.25 kB / 1.29 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.375e-05/1.234, allocations: 9.094 kB / 1.29 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008128/1.234, allocations: 193.5 kB / 1.29 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003402/1.235, allocations: 0.5974 MB / 1.291 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009697/1.236, allocations: 140.4 kB / 1.291 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/1.236, allocations: 31.36 kB / 1.291 GB, free: 10.97 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.462e-06/1.236, allocations: 4.188 kB / 1.291 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001154/1.237, allocations: 0.7959 MB / 1.292 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.237, allocations: 4.625 kB / 1.292 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/1.237, allocations: 10.72 kB / 1.292 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/1.238, allocations: 165.9 kB / 1.292 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/1.238, allocations: 15.78 kB / 1.292 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007827/1.238, allocations: 129.2 kB / 1.292 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.854e-05/1.238, allocations: 34.72 kB / 1.292 GB, free: 10.91 MB / 1.014 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.0005388/1.239, allocations: 410 kB / 1.292 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/1.239, allocations: 103.7 kB / 1.293 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/1.24, allocations: 0.7842 MB / 1.293 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/1.24, allocations: 6.781 kB / 1.293 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.24, allocations: 0 / 1.293 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001002/1.241, allocations: 0.8847 MB / 1.294 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003101/1.245, allocations: 2.159 MB / 1.296 GB, free: 9.715 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.245, allocations: 6.25 kB / 1.296 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006796/1.245, allocations: 154.8 kB / 1.296 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/1.245, allocations: 6 kB / 1.296 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/1.245, allocations: 22.83 kB / 1.296 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002778/1.246, allocations: 0.5862 MB / 1.297 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.246, allocations: 6.125 kB / 1.297 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/1.247, allocations: 1.287 MB / 1.298 GB, free: 8.84 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003415/1.248, allocations: 259.7 kB / 1.299 GB, free: 8.684 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/1.248, allocations: 13.25 kB / 1.299 GB, free: 8.684 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006016/1.248, allocations: 64.44 kB / 1.299 GB, free: 8.68 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.046e-05/1.248, allocations: 48.91 kB / 1.299 GB, free: 8.676 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.259e-05/1.248, allocations: 26.14 kB / 1.299 GB, free: 8.676 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006505/1.249, allocations: 0.5466 MB / 1.299 GB, free: 8.562 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/1.249, allocations: 0 / 1.299 GB, free: 8.562 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001369/1.251, allocations: 0.569 MB / 1.3 GB, free: 8.469 MB / 1.014 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.002142/1.253, allocations: 1.96 MB / 1.302 GB, free: 7.629 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001856/1.255, allocations: 1.157 MB / 1.303 GB, free: 7.613 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.255, allocations: 0 / 1.303 GB, free: 7.613 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005071/1.255, allocations: 367 kB / 1.303 GB, free: 7.609 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/1.257, allocations: 493 kB / 1.304 GB, free: 7.562 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/1.268, allocations: 8.846 MB / 1.312 GB, free: 3.812 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006927/1.268, allocations: 1.171 MB / 1.313 GB, free: 3.094 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001128/1.27, allocations: 357.4 kB / 1.314 GB, free: 3.035 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004733/1.27, allocations: 436.1 kB / 1.314 GB, free: 3.027 MB / 1.014 GB Notification: Performance of SimCode: time 4.51e-07/1.27, allocations: 0 / 1.314 GB, free: 3.027 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.109/2.379, allocations: 25.24 MB / 1.339 GB, free: 11.92 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003432/2.38, allocations: 294.7 kB / 1.339 GB, free: 11.54 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/4.822, allocations: 2.672 kB / 1.339 GB, free: 11.54 MB / 1.029 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/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)