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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8829/0.8829, allocations: 132.4 MB / 139.7 MB, free: 15.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00158/0.00158, allocations: 179.1 kB / 171.6 MB, free: 1.984 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.648/1.648, allocations: 170.5 MB / 373.9 MB, free: 15.94 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001982/0.001983, allocations: 121.9 kB / 444.4 MB, free: 9.477 MB / 346.7 MB [/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.5131/0.5132, allocations: 73.4 MB / 0.666 GB, free: 62.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.732/5.245, allocations: 2.146 GB / 2.812 GB, free: 49.69 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/5.246, allocations: 92.5 kB / 2.812 GB, free: 49.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.377/7.623, allocations: 0.5663 GB / 3.378 GB, free: 89.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001911/7.623, allocations: 36.38 kB / 3.378 GB, free: 89.83 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.005938/7.629, allocations: 1.635 MB / 3.38 GB, free: 89.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/7.629, allocations: 7.438 kB / 3.38 GB, free: 89.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003004/7.632, allocations: 331.4 kB / 3.38 GB, free: 89.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003547/7.636, allocations: 0.9985 MB / 3.381 GB, free: 88.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.02e-05/7.636, allocations: 35.97 kB / 3.381 GB, free: 88.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004836/7.636, allocations: 82.5 kB / 3.381 GB, free: 88.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003045/7.639, allocations: 1.039 MB / 3.382 GB, free: 88.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003488/7.643, allocations: 1.181 MB / 3.383 GB, free: 88.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.658e-05/7.643, allocations: 2.906 kB / 3.383 GB, free: 88.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002566/7.643, allocations: 0 / 3.383 GB, free: 88.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.904e-05/7.643, allocations: 44.92 kB / 3.383 GB, free: 88.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008678/7.652, allocations: 4.912 MB / 3.388 GB, free: 86.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/7.653, allocations: 0.6989 MB / 3.389 GB, free: 86.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000441/7.654, allocations: 344.7 kB / 3.389 GB, free: 86.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004194/7.654, allocations: 218.8 kB / 3.389 GB, free: 86.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/7.654, allocations: 45.69 kB / 3.389 GB, free: 86.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=71): time 3.827e-06/7.654, allocations: 0 / 3.389 GB, free: 86.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71): time 0.002239/7.656, allocations: 0.8221 MB / 3.39 GB, free: 86.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/7.656, allocations: 135.3 kB / 3.39 GB, free: 85.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008592/7.657, allocations: 0.6368 MB / 3.391 GB, free: 85.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.976e-05/7.657, allocations: 26.45 kB / 3.391 GB, free: 85.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/7.658, allocations: 489.1 kB / 3.391 GB, free: 85.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/7.658, allocations: 252.2 kB / 3.392 GB, free: 85.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/7.658, allocations: 3.75 kB / 3.392 GB, free: 85.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001111/7.658, allocations: 340.3 kB / 3.392 GB, free: 85.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004366/7.659, allocations: 304.4 kB / 3.392 GB, free: 85.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005863/7.659, allocations: 0.5334 MB / 3.393 GB, free: 84.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009295/7.66, allocations: 0.4992 MB / 3.393 GB, free: 84.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/7.66, allocations: 3.969 kB / 3.393 GB, free: 84.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001778/7.662, allocations: 1.026 MB / 3.394 GB, free: 84.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004879/7.662, allocations: 1.919 MB / 3.396 GB, free: 82.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/7.662, allocations: 6.344 kB / 3.396 GB, free: 82.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/7.662, allocations: 11.38 kB / 3.396 GB, free: 82.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002332/7.665, allocations: 440.3 kB / 3.396 GB, free: 82.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000881/7.666, allocations: 0.7166 MB / 3.397 GB, free: 82.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/7.667, allocations: 148.4 kB / 3.397 GB, free: 82.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.759e-05/7.667, allocations: 33.59 kB / 3.397 GB, free: 82.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/7.667, allocations: 7.125 kB / 3.397 GB, free: 82.18 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001615/7.669, allocations: 0.8961 MB / 3.398 GB, free: 82.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/7.669, allocations: 7.75 kB / 3.398 GB, free: 82.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/7.669, allocations: 6.719 kB / 3.398 GB, free: 82.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007511/7.67, allocations: 199.9 kB / 3.398 GB, free: 82.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/7.67, allocations: 8.562 kB / 3.398 GB, free: 82.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/7.671, allocations: 127.9 kB / 3.399 GB, free: 82.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-05/7.671, allocations: 39.03 kB / 3.399 GB, free: 82.12 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * 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.0002874/7.671, allocations: 128.9 kB / 3.399 GB, free: 82.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/7.672, allocations: 104.7 kB / 3.399 GB, free: 81.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/7.673, allocations: 0.8402 MB / 3.4 GB, free: 81.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/7.673, allocations: 6.656 kB / 3.4 GB, free: 81.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/7.673, allocations: 0 / 3.4 GB, free: 81.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001148/7.674, allocations: 0.9113 MB / 3.401 GB, free: 81.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00346/7.678, allocations: 1.894 MB / 3.402 GB, free: 81.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/7.678, allocations: 3.5 kB / 3.402 GB, free: 81.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002144/7.68, allocations: 389.4 kB / 3.403 GB, free: 81.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-05/7.68, allocations: 7.672 kB / 3.403 GB, free: 81.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.533e-05/7.68, allocations: 13.39 kB / 3.403 GB, free: 81.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/7.682, allocations: 1.444 MB / 3.404 GB, free: 79.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/7.682, allocations: 0 / 3.404 GB, free: 79.95 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002089/7.684, allocations: 1.309 MB / 3.405 GB, free: 79.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006945/7.685, allocations: 275.9 kB / 3.406 GB, free: 79.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/7.685, allocations: 13.72 kB / 3.406 GB, free: 79.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008908/7.686, allocations: 75.88 kB / 3.406 GB, free: 79.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/7.686, allocations: 38.08 kB / 3.406 GB, free: 79.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-05/7.686, allocations: 40.28 kB / 3.406 GB, free: 79.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0006999/7.687, allocations: 484.5 kB / 3.406 GB, free: 79.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002307/7.689, allocations: 0.7649 MB / 3.407 GB, free: 79.3 MB / 0.6198 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * 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.003115/7.692, allocations: 2.074 MB / 3.409 GB, free: 78.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004712/7.697, allocations: 1.631 MB / 3.411 GB, free: 78.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/7.697, allocations: 0 / 3.411 GB, free: 78.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003767/7.701, allocations: 0.8559 MB / 3.412 GB, free: 78.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/7.703, allocations: 425.7 kB / 3.412 GB, free: 78.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004791/7.708, allocations: 1.919 MB / 3.414 GB, free: 78.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/7.709, allocations: 1.338 MB / 3.415 GB, free: 77.49 MB / 0.6198 GB Notification: Performance of SimCode: time 1.843e-06/7.709, allocations: 0 / 3.415 GB, free: 77.49 MB / 0.6198 GB Notification: Performance of Templates: time 0.06516/7.774, allocations: 32.42 MB / 3.447 GB, free: 76.18 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (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)