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: translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 103.3 kB / 15.98 MB, free: 6.348 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.001749/0.00175, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.436/1.436, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.685/1.685, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001407/0.001407, allocations: 63.59 kB / 0.6716 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2414, allocations: 114.6 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.6987/0.9401, allocations: 195.4 MB / 0.9744 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01444/0.9546, allocations: 10.8 MB / 0.9849 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002394/0.957, allocations: 39.91 kB / 0.985 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002054/0.9591, allocations: 464.4 kB / 0.9854 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005699/0.9648, allocations: 1.666 MB / 0.987 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003577/0.9684, allocations: 1.054 MB / 0.9881 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004602/0.973, allocations: 2.773 MB / 0.9908 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002165/0.9752, allocations: 1.164 MB / 0.9919 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00605/0.9813, allocations: 1.614 MB / 0.9935 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002136/0.9835, allocations: 1.005 MB / 0.9945 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003071/0.9838, allocations: 125.6 kB / 0.9946 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003979/0.9878, allocations: 1.774 MB / 0.9963 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006622/0.9885, allocations: 0.5234 MB / 0.9968 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.9896, allocations: 0.7191 MB / 0.9975 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00288/0.9925, allocations: 1.754 MB / 0.9992 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.9925, allocations: 0 / 0.9992 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.326e-06/0.9925, allocations: 0 / 0.9992 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.521e-05/0.9926, allocations: 2.625 kB / 0.9992 GB, free: 2.801 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.002906/0.9955, allocations: 1.684 MB / 1.001 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.9955, allocations: 8.156 kB / 1.001 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/0.9974, allocations: 328 kB / 1.001 GB, free: 17.62 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.9989, allocations: 0.8569 MB / 1.002 GB, free: 17.14 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.376e-05/0.999, allocations: 79.09 kB / 1.002 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.9991, allocations: 109.4 kB / 1.002 GB, free: 17.07 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/1.001, allocations: 1.175 MB / 1.003 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/1.001, allocations: 4 kB / 1.003 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.728e-05/1.001, allocations: 42.25 kB / 1.003 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-05/1.001, allocations: 41.52 kB / 1.003 GB, free: 16.53 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/1.003, allocations: 0.938 MB / 1.004 GB, free: 16.23 MB / 0.7481 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.005586/1.008, allocations: 4.7 MB / 1.009 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/1.009, allocations: 0.7199 MB / 1.01 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005262/1.01, allocations: 392.1 kB / 1.01 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006306/1.01, allocations: 317.6 kB / 1.01 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/1.01, allocations: 46.17 kB / 1.01 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=68): time 2.845e-06/1.01, allocations: 0 / 1.01 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of matching and sorting (n=68): time 0.001948/1.012, allocations: 0.9951 MB / 1.011 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/1.012, allocations: 62.44 kB / 1.011 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009725/1.013, allocations: 0.7926 MB / 1.012 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.17e-05/1.014, allocations: 38.55 kB / 1.012 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/1.014, allocations: 0.5332 MB / 1.013 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/1.014, allocations: 240 kB / 1.013 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/1.014, allocations: 153.8 kB / 1.013 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.015, allocations: 343.7 kB / 1.013 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/1.015, allocations: 302.3 kB / 1.014 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006187/1.016, allocations: 0.4969 MB / 1.014 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/1.017, allocations: 0.7941 MB / 1.015 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/1.017, allocations: 3.375 kB / 1.015 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001404/1.018, allocations: 0.9053 MB / 1.016 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.018, allocations: 8.094 kB / 1.016 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.018, allocations: 4.906 kB / 1.016 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/1.018, allocations: 8.5 kB / 1.016 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008939/1.019, allocations: 178.6 kB / 1.016 GB, free: 8.918 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004075/1.02, allocations: 0.611 MB / 1.017 GB, free: 8.305 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009649/1.021, allocations: 122 kB / 1.017 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-05/1.021, allocations: 41.92 kB / 1.017 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000864/1.022, allocations: 0.5417 MB / 1.017 GB, free: 7.902 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005865/1.022, allocations: 0.5002 MB / 1.018 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001055/1.023, allocations: 0.785 MB / 1.019 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/1.023, allocations: 4 kB / 1.019 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001357/1.025, allocations: 0.9032 MB / 1.019 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/1.025, allocations: 12 kB / 1.02 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.025, allocations: 2.812 kB / 1.02 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/1.025, allocations: 14.69 kB / 1.02 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006257/1.025, allocations: 163.1 kB / 1.02 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/1.025, allocations: 12.28 kB / 1.02 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009235/1.026, allocations: 115.6 kB / 1.02 GB, free: 6.422 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.542e-05/1.026, allocations: 34.53 kB / 1.02 GB, free: 6.414 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.000277/1.027, allocations: 232.8 kB / 1.02 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/1.027, allocations: 101 kB / 1.02 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/1.028, allocations: 0.7892 MB / 1.021 GB, free: 5.699 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/1.028, allocations: 9.406 kB / 1.021 GB, free: 5.695 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/1.028, allocations: 0.875 kB / 1.021 GB, free: 5.695 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/1.029, allocations: 0.8836 MB / 1.022 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003427/1.033, allocations: 2.13 MB / 1.024 GB, free: 3.605 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/1.033, allocations: 0 / 1.024 GB, free: 3.605 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007303/1.033, allocations: 155 kB / 1.024 GB, free: 3.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/1.033, allocations: 13.88 kB / 1.024 GB, free: 3.562 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.702e-05/1.033, allocations: 27.67 kB / 1.024 GB, free: 3.543 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003078/1.034, allocations: 0.5885 MB / 1.025 GB, free: 2.949 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.034, allocations: 6.531 kB / 1.025 GB, free: 2.945 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/1.035, allocations: 1.322 MB / 1.026 GB, free: 2.152 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004347/1.036, allocations: 254.1 kB / 1.026 GB, free: 1.941 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/1.036, allocations: 24.86 kB / 1.026 GB, free: 1.922 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006274/1.037, allocations: 60.3 kB / 1.026 GB, free: 1.895 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.892e-05/1.037, allocations: 44.19 kB / 1.026 GB, free: 1.875 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/1.037, allocations: 28.42 kB / 1.026 GB, free: 1.863 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006455/1.037, allocations: 0.54 MB / 1.027 GB, free: 1.562 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.037, allocations: 2.75 kB / 1.027 GB, free: 1.562 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001481/1.039, allocations: 0.5662 MB / 1.027 GB, free: 1.43 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.0005603/1.04, allocations: 226.7 kB / 1.028 GB, free: 1.281 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002449/1.042, allocations: 1.297 MB / 1.029 GB, free: 0.7344 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.042, allocations: 0 / 1.029 GB, free: 0.7344 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005482/1.043, allocations: 368 kB / 1.029 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/1.045, allocations: 493.7 kB / 1.03 GB, free: 324 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003973/1.049, allocations: 2.788 MB / 1.032 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006935/1.049, allocations: 1.171 MB / 1.034 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/1.05, allocations: 88.83 kB / 1.034 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of SimCode: time 8.02e-07/1.05, allocations: 0 / 1.034 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of Templates: time 0.03039/1.08, allocations: 21.12 MB / 1.054 GB, free: 10.8 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (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 & ./Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)