Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1593/0.1605, allocations: 82.22 MB / 0.5941 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.5454/0.7059, allocations: 193.3 MB / 0.7829 GB, free: 8.566 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01412/0.7201, allocations: 10.66 MB / 0.7933 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.7217, allocations: 37.5 kB / 0.7933 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.7236, allocations: 0.5564 MB / 0.7939 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004453/0.7281, allocations: 1.596 MB / 0.7954 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.7314, allocations: 1.252 MB / 0.7967 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005515/0.7369, allocations: 4.556 MB / 0.8011 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001609/0.7386, allocations: 1.107 MB / 0.8022 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003806/0.7424, allocations: 1.667 MB / 0.8038 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001923/0.7443, allocations: 1.106 MB / 0.8049 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.7445, allocations: 63.38 kB / 0.805 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002714/0.7472, allocations: 1.475 MB / 0.8064 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005767/0.7478, allocations: 0.5422 MB / 0.8069 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009821/0.7488, allocations: 0.7769 MB / 0.8077 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004058/0.7529, allocations: 2.591 MB / 0.8102 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7529, allocations: 0 / 0.8102 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.856e-06/0.7529, allocations: 4 kB / 0.8102 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.342e-05/0.7529, allocations: 0 / 0.8102 GB, free: 4.867 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.003356/0.7563, allocations: 1.599 MB / 0.8118 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.7563, allocations: 12.03 kB / 0.8118 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/0.758, allocations: 321.8 kB / 0.8121 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.7594, allocations: 0.9173 MB / 0.813 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.302e-05/0.7594, allocations: 94.38 kB / 0.8131 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.7596, allocations: 124 kB / 0.8132 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/0.762, allocations: 1.461 MB / 0.8146 GB, free: 188 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.7621, allocations: 4 kB / 0.8146 GB, free: 184 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.7622, allocations: 52 kB / 0.8147 GB, free: 132 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.79e-05/0.7622, allocations: 42.33 kB / 0.8147 GB, free: 88 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.7643, allocations: 1.204 MB / 0.8159 GB, free: 14.88 MB / 0.5762 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.006604/0.7709, allocations: 5.556 MB / 0.8213 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.7722, allocations: 0.7521 MB / 0.8221 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/0.7728, allocations: 398.6 kB / 0.8225 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003868/0.7732, allocations: 146 kB / 0.8226 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.7732, allocations: 47.22 kB / 0.8226 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=72): time 2.715e-06/0.7732, allocations: 0 / 0.8226 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.002333/0.7756, allocations: 1.137 MB / 0.8237 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.917e-05/0.7757, allocations: 119.4 kB / 0.8239 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.7769, allocations: 0.9735 MB / 0.8248 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.75e-05/0.777, allocations: 45.69 kB / 0.8249 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004769/0.7775, allocations: 0.6159 MB / 0.8255 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.7777, allocations: 260.3 kB / 0.8257 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.7779, allocations: 77.67 kB / 0.8258 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.778, allocations: 341.9 kB / 0.8261 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006442/0.7787, allocations: 377.8 kB / 0.8265 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007952/0.7795, allocations: 0.6288 MB / 0.8271 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.7808, allocations: 0.9769 MB / 0.828 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.7809, allocations: 0 / 0.828 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001865/0.7827, allocations: 1.162 MB / 0.8292 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001853/0.7829, allocations: 288.5 kB / 0.8294 GB, free: 184 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.7829, allocations: 4.094 kB / 0.8294 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.783, allocations: 15.94 kB / 0.8295 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002093/0.7851, allocations: 431.5 kB / 0.8299 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.7875, allocations: 1.614 MB / 0.8314 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.7887, allocations: 186.4 kB / 0.8316 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.539e-05/0.7888, allocations: 43.94 kB / 0.8317 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-06/0.7888, allocations: 4 kB / 0.8317 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001518/0.7903, allocations: 0.9857 MB / 0.8326 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.7904, allocations: 4.094 kB / 0.8326 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.7904, allocations: 16 kB / 0.8327 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007103/0.7911, allocations: 195.7 kB / 0.8328 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.7911, allocations: 15.94 kB / 0.8329 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009253/0.7921, allocations: 147 kB / 0.833 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.653e-05/0.7921, allocations: 43.92 kB / 0.833 GB, free: 12.36 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 1 * 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.0006256/0.7928, allocations: 433.7 kB / 0.8335 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.793, allocations: 118.5 kB / 0.8336 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.7946, allocations: 0.8994 MB / 0.8344 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.7947, allocations: 8 kB / 0.8344 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.7947, allocations: 0 / 0.8344 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001242/0.7959, allocations: 0.9396 MB / 0.8354 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/0.7994, allocations: 2.125 MB / 0.8374 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.7994, allocations: 4 kB / 0.8374 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001905/0.8013, allocations: 367.7 kB / 0.8378 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/0.8013, allocations: 8 kB / 0.8378 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-05/0.8014, allocations: 27.98 kB / 0.8378 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/0.8036, allocations: 1.579 MB / 0.8394 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.8036, allocations: 0 / 0.8394 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.8058, allocations: 1.392 MB / 0.8407 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005479/0.8064, allocations: 299.5 kB / 0.841 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/0.8066, allocations: 16 kB / 0.841 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009664/0.8075, allocations: 87.83 kB / 0.8411 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/0.8076, allocations: 48.44 kB / 0.8412 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.754e-05/0.8077, allocations: 31.97 kB / 0.8412 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001001/0.8087, allocations: 0.6668 MB / 0.8418 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.693e-06/0.8088, allocations: 0 / 0.8418 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001983/0.8107, allocations: 0.6739 MB / 0.8425 GB, free: 2.332 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (71): * Single equations (assignments): 70 * 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.0005535/0.8113, allocations: 208.5 kB / 0.8427 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003857/0.8152, allocations: 1.707 MB / 0.8444 GB, free: 416 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.8152, allocations: 0 / 0.8444 GB, free: 416 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002908/0.8181, allocations: 0.7575 MB / 0.8451 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002974/0.8211, allocations: 0.5564 MB / 0.8457 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/0.8258, allocations: 3.197 MB / 0.8488 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009898/0.8268, allocations: 1.233 MB / 0.85 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00133/0.8281, allocations: 372.8 kB / 0.8503 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.8284, allocations: 87.42 kB / 0.8504 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of SimCode: time 8.72e-07/0.8284, allocations: 0 / 0.8504 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of Templates: time 0.0355/0.8639, allocations: 20.79 MB / 0.8707 GB, free: 5.664 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) Environment - environmentSimulation: