Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.491/1.491, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 171.6 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001173, allocations: 91.73 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004817, allocations: 9.625 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2248, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.7484/0.9732, allocations: 164.3 MB / 1.061 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01562/0.9889, allocations: 9.623 MB / 1.07 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00198/0.9909, allocations: 32.56 kB / 1.07 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.9935, allocations: 0.5089 MB / 1.071 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00636/0.9998, allocations: 1.589 MB / 1.072 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005692/1.006, allocations: 1.177 MB / 1.073 GB, free: 3.652 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004806/1.01, allocations: 1.652 MB / 1.075 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002286/1.013, allocations: 0.9072 MB / 1.076 GB, free: 3.527 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00405/1.017, allocations: 1.138 MB / 1.077 GB, free: 3.52 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/1.019, allocations: 0.6461 MB / 1.078 GB, free: 3.52 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005254/1.02, allocations: 54.44 kB / 1.078 GB, free: 3.52 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003976/1.024, allocations: 0.8277 MB / 1.078 GB, free: 3.516 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001035/1.025, allocations: 423.6 kB / 1.079 GB, free: 3.516 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009264/1.026, allocations: 276.6 kB / 1.079 GB, free: 3.484 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003211/1.029, allocations: 1.542 MB / 1.081 GB, free: 3.363 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.029, allocations: 3.906 kB / 1.081 GB, free: 3.363 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.394e-06/1.029, allocations: 0 / 1.081 GB, free: 3.363 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.116e-05/1.029, allocations: 0 / 1.081 GB, free: 3.363 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.003534/1.033, allocations: 1.43 MB / 1.082 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/1.033, allocations: 15.55 kB / 1.082 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000293/1.033, allocations: 161.1 kB / 1.082 GB, free: 18.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/1.035, allocations: 320 kB / 1.082 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002543/1.038, allocations: 0.8497 MB / 1.083 GB, free: 18.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/1.038, allocations: 85.75 kB / 1.083 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000258/1.038, allocations: 106.4 kB / 1.083 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/1.041, allocations: 1.169 MB / 1.085 GB, free: 17.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/1.041, allocations: 1.125 kB / 1.085 GB, free: 17.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/1.041, allocations: 40.41 kB / 1.085 GB, free: 17.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.948e-05/1.041, allocations: 39.48 kB / 1.085 GB, free: 17.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/1.043, allocations: 0.9495 MB / 1.086 GB, free: 17.92 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.006968/1.049, allocations: 4.526 MB / 1.09 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/1.051, allocations: 0.7575 MB / 1.091 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004733/1.051, allocations: 155.8 kB / 1.091 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/1.051, allocations: 40.14 kB / 1.091 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=72): time 3.437e-06/1.051, allocations: 0 / 1.091 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72): time 0.00212/1.053, allocations: 1.052 MB / 1.092 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/1.054, allocations: 59.78 kB / 1.092 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009857/1.055, allocations: 0.7847 MB / 1.093 GB, free: 15 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.088e-05/1.055, allocations: 45.39 kB / 1.093 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003309/1.055, allocations: 0.5226 MB / 1.093 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/1.055, allocations: 257.2 kB / 1.094 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/1.055, allocations: 18.72 kB / 1.094 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.055, allocations: 341.9 kB / 1.094 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004527/1.056, allocations: 294.3 kB / 1.094 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/1.056, allocations: 0.4948 MB / 1.095 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006426/1.057, allocations: 383.7 kB / 1.095 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/1.057, allocations: 2.688 kB / 1.095 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001569/1.059, allocations: 0.9121 MB / 1.096 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007043/1.059, allocations: 1.578 MB / 1.097 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/1.059, allocations: 3.062 kB / 1.097 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/1.059, allocations: 13.44 kB / 1.097 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/1.061, allocations: 183 kB / 1.098 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004713/1.061, allocations: 0.6129 MB / 1.098 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/1.062, allocations: 126.2 kB / 1.098 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.947e-05/1.062, allocations: 34.44 kB / 1.098 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/1.062, allocations: 3.5 kB / 1.098 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00129/1.064, allocations: 0.8041 MB / 1.099 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/1.064, allocations: 5 kB / 1.099 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/1.064, allocations: 9.031 kB / 1.099 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006313/1.064, allocations: 174.4 kB / 1.099 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/1.064, allocations: 7.719 kB / 1.099 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/1.066, allocations: 128 kB / 1.1 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.514e-05/1.066, allocations: 31.75 kB / 1.1 GB, free: 11.58 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (99): * Single equations (assignments): 98 * 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.0009013/1.067, allocations: 413.1 kB / 1.1 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/1.067, allocations: 101.8 kB / 1.1 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/1.068, allocations: 0.8383 MB / 1.101 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/1.068, allocations: 8.812 kB / 1.101 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.068, allocations: 0 / 1.101 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001107/1.07, allocations: 0.9047 MB / 1.102 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00406/1.074, allocations: 2.207 MB / 1.104 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/1.074, allocations: 2.562 kB / 1.104 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000762/1.074, allocations: 166.8 kB / 1.104 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/1.074, allocations: 2.625 kB / 1.104 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.584e-05/1.074, allocations: 27.92 kB / 1.104 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003956/1.075, allocations: 0.5947 MB / 1.105 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.075, allocations: 2.438 kB / 1.105 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/1.077, allocations: 1.465 MB / 1.106 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006804/1.078, allocations: 267.2 kB / 1.106 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/1.078, allocations: 21.72 kB / 1.106 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006655/1.078, allocations: 66.77 kB / 1.106 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.867e-05/1.078, allocations: 55.66 kB / 1.106 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.128e-05/1.079, allocations: 24.89 kB / 1.107 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007812/1.079, allocations: 0.5349 MB / 1.107 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/1.079, allocations: 1.969 kB / 1.107 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001758/1.081, allocations: 0.5748 MB / 1.108 GB, free: 9.008 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (limPID.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],senVolFlo.d,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 (72): * Single equations (assignments): 71 * 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.003047/1.084, allocations: 2.76 MB / 1.11 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002415/1.087, allocations: 1.192 MB / 1.111 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.087, allocations: 7.188 kB / 1.111 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000642/1.087, allocations: 380.5 kB / 1.112 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/1.09, allocations: 485.2 kB / 1.112 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/1.104, allocations: 9.048 MB / 1.121 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/1.105, allocations: 1.2 MB / 1.122 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001922/1.107, allocations: 362.2 kB / 1.123 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006456/1.107, allocations: 431.4 kB / 1.123 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of SimCode: time 1.392e-06/1.107, allocations: 0.5 kB / 1.123 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05703/1.164, allocations: 26.58 MB / 1.149 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/1.165, allocations: 279 kB / 1.149 GB, free: 4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.095/4.26, allocations: 0 / 1.149 GB, free: 4 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)