Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_8_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.0008342/0.0008343, allocations: 98.03 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.00511/0.005111, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.4 MB / 222.4 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005183/0.0005183, allocations: 13.28 kB / 0.6744 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2034, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.6821/0.8855, allocations: 193.1 MB / 0.9766 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01659/0.9022, allocations: 10.81 MB / 0.9872 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002253/0.9045, allocations: 38.78 kB / 0.9872 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001723/0.9062, allocations: 439.3 kB / 0.9876 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005382/0.9116, allocations: 1.68 MB / 0.9893 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003531/0.9152, allocations: 1.037 MB / 0.9903 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005785/0.921, allocations: 3.73 MB / 0.9939 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001828/0.9228, allocations: 1.003 MB / 0.9949 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00477/0.9276, allocations: 1.412 MB / 0.9963 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001951/0.9296, allocations: 0.9215 MB / 0.9972 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.9298, allocations: 52.81 kB / 0.9972 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003619/0.9334, allocations: 1.906 MB / 0.9991 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005474/0.934, allocations: 450.9 kB / 0.9995 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008836/0.9349, allocations: 0.6472 MB / 1 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003666/0.9385, allocations: 2.33 MB / 1.002 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.9386, allocations: 2.719 kB / 1.002 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9386, allocations: 0 / 1.002 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.287e-05/0.9386, allocations: 0 / 1.002 GB, free: 5.359 MB / 0.7325 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.002572/0.9412, allocations: 1.44 MB / 1.004 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.9412, allocations: 10.88 kB / 1.004 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002048/0.9414, allocations: 155.8 kB / 1.004 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.9433, allocations: 316.6 kB / 1.004 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.9449, allocations: 0.8755 MB / 1.005 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.528e-05/0.945, allocations: 75.25 kB / 1.005 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.9452, allocations: 107.5 kB / 1.005 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.9471, allocations: 1.178 MB / 1.006 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.9471, allocations: 2.906 kB / 1.006 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.265e-05/0.9472, allocations: 40.03 kB / 1.007 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-05/0.9472, allocations: 41.78 kB / 1.007 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.9488, allocations: 0.9392 MB / 1.007 GB, free: 2.059 MB / 0.7325 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.006179/0.9549, allocations: 4.713 MB / 1.012 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.956, allocations: 0.7072 MB / 1.013 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005453/0.9566, allocations: 392.8 kB / 1.013 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006823/0.9573, allocations: 333 kB / 1.013 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.9573, allocations: 40.25 kB / 1.014 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=68): time 2.204e-06/0.9573, allocations: 0 / 1.014 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=68): time 0.001959/0.9593, allocations: 1.006 MB / 1.014 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.9594, allocations: 60.56 kB / 1.015 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009498/0.9603, allocations: 0.7915 MB / 1.015 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-05/0.9604, allocations: 40.61 kB / 1.015 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004083/0.9608, allocations: 0.5307 MB / 1.016 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.9611, allocations: 245.6 kB / 1.016 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.9612, allocations: 70.33 kB / 1.016 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.9613, allocations: 337.9 kB / 1.016 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/0.9618, allocations: 291.2 kB / 1.017 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007041/0.9625, allocations: 0.5042 MB / 1.017 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.9637, allocations: 0.7903 MB / 1.018 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.9638, allocations: 4 kB / 1.018 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001452/0.9652, allocations: 0.9081 MB / 1.019 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.9654, allocations: 227.6 kB / 1.019 GB, free: 9.125 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.9654, allocations: 5.812 kB / 1.019 GB, free: 9.125 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.9654, allocations: 11.97 kB / 1.019 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008696/0.9663, allocations: 180 kB / 1.019 GB, free: 9.082 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004382/0.9668, allocations: 0.6 MB / 1.02 GB, free: 8.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009696/0.9677, allocations: 129.5 kB / 1.02 GB, free: 8.402 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/0.9678, allocations: 35.56 kB / 1.02 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.727e-06/0.9678, allocations: 6.906 kB / 1.02 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001222/0.969, allocations: 0.7862 MB / 1.021 GB, free: 8.012 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.9691, allocations: 7.156 kB / 1.021 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.9691, allocations: 10.88 kB / 1.021 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005692/0.9697, allocations: 165.3 kB / 1.021 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.9697, allocations: 15.81 kB / 1.021 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008445/0.9705, allocations: 113.7 kB / 1.021 GB, free: 7.898 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.063e-05/0.9706, allocations: 33.02 kB / 1.021 GB, free: 7.891 MB / 0.7481 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.0006042/0.9712, allocations: 411.5 kB / 1.022 GB, free: 7.566 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.9714, allocations: 100.3 kB / 1.022 GB, free: 7.516 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.9727, allocations: 0.7887 MB / 1.022 GB, free: 7.07 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.9727, allocations: 9.781 kB / 1.022 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.453e-06/0.9727, allocations: 0 / 1.022 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001067/0.9738, allocations: 0.8849 MB / 1.023 GB, free: 6.426 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003509/0.9773, allocations: 2.152 MB / 1.025 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.9773, allocations: 2.062 kB / 1.025 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007035/0.9781, allocations: 158.6 kB / 1.026 GB, free: 4.922 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.9781, allocations: 5.25 kB / 1.026 GB, free: 4.922 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/0.9781, allocations: 16.78 kB / 1.026 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003409/0.9785, allocations: 0.5926 MB / 1.026 GB, free: 4.316 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.9785, allocations: 10.83 kB / 1.026 GB, free: 4.309 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.9803, allocations: 1.31 MB / 1.027 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/0.9808, allocations: 257.8 kB / 1.028 GB, free: 3.312 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.9809, allocations: 17.06 kB / 1.028 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000735/0.9817, allocations: 77.33 kB / 1.028 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.89e-05/0.9818, allocations: 42.42 kB / 1.028 GB, free: 3.238 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.154e-05/0.9818, allocations: 26.77 kB / 1.028 GB, free: 3.23 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008095/0.9826, allocations: 0.5428 MB / 1.028 GB, free: 2.926 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9826, allocations: 0 / 1.028 GB, free: 2.926 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001453/0.9841, allocations: 0.5566 MB / 1.029 GB, free: 2.805 MB / 0.7481 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 (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.002415/0.9865, allocations: 1.993 MB / 1.031 GB, free: 1.422 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002223/0.9888, allocations: 1.146 MB / 1.032 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.9888, allocations: 2.719 kB / 1.032 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005998/0.9894, allocations: 371.3 kB / 1.032 GB, free: 0.75 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/0.9923, allocations: 490.8 kB / 1.033 GB, free: 0.5039 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/1.007, allocations: 8.813 MB / 1.041 GB, free: 7.648 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009858/1.008, allocations: 1.163 MB / 1.043 GB, free: 6.453 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001452/1.009, allocations: 355.8 kB / 1.043 GB, free: 6.102 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000666/1.01, allocations: 427.3 kB / 1.043 GB, free: 5.684 MB / 0.7637 GB Notification: Performance of SimCode: time 1.012e-06/1.01, allocations: 4 kB / 1.043 GB, free: 5.68 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05113/1.061, allocations: 25.23 MB / 1.068 GB, free: 12.9 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/1.061, allocations: 281.3 kB / 1.068 GB, free: 12.52 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.525/3.587, allocations: 0 / 1.068 GB, free: 12.52 MB / 0.795 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)