Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [: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.7603/0.7603, 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.001268/0.001268, allocations: 162.9 kB / 171.6 MB, free: 1.973 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.31/1.31, allocations: 170.5 MB / 373.9 MB, free: 15.84 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.001755/0.001755, allocations: 111.9 kB / 444.4 MB, free: 9.379 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.5379/0.5379, allocations: 73.39 MB / 0.666 GB, free: 62.24 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.913/5.451, allocations: 2.133 GB / 2.799 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/5.452, allocations: 82.22 kB / 2.799 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.798/7.25, allocations: 408.7 MB / 3.198 GB, free: 106.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002609/7.25, allocations: 31.67 kB / 3.198 GB, free: 106.3 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.007098/7.258, allocations: 1.25 MB / 3.199 GB, free: 105 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 8.056e-05/7.258, allocations: 8.031 kB / 3.199 GB, free: 105 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003543/7.261, allocations: 318.2 kB / 3.2 GB, free: 104.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003777/7.265, allocations: 0.88 MB / 3.2 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.045e-05/7.265, allocations: 28 kB / 3.2 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/7.265, allocations: 52 kB / 3.201 GB, free: 103.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002332/7.268, allocations: 0.7301 MB / 3.201 GB, free: 103 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/7.27, allocations: 0.9206 MB / 3.202 GB, free: 102 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.448e-05/7.27, allocations: 3.938 kB / 3.202 GB, free: 102 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/7.27, allocations: 0 / 3.202 GB, free: 102 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.337e-05/7.271, allocations: 34 kB / 3.202 GB, free: 102 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008594/7.279, allocations: 3.823 MB / 3.206 GB, free: 97.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008512/7.28, allocations: 339.3 kB / 3.206 GB, free: 97.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/7.28, allocations: 162.9 kB / 3.206 GB, free: 97.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002204/7.281, allocations: 93.38 kB / 3.206 GB, free: 97.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/7.281, allocations: 38.84 kB / 3.206 GB, free: 97.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 4.669e-06/7.281, allocations: 0 / 3.206 GB, free: 97.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35): time 0.003375/7.284, allocations: 0.9983 MB / 3.207 GB, free: 96.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/7.284, allocations: 56 kB / 3.208 GB, free: 96.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/7.285, allocations: 0.5585 MB / 3.208 GB, free: 95.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.417e-05/7.285, allocations: 29.7 kB / 3.208 GB, free: 95.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/7.286, allocations: 469.5 kB / 3.209 GB, free: 95.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/7.286, allocations: 126.2 kB / 3.209 GB, free: 95.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/7.286, allocations: 0 / 3.209 GB, free: 95.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001748/7.286, allocations: 386.7 kB / 3.209 GB, free: 94.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/7.287, allocations: 165.5 kB / 3.209 GB, free: 94.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006552/7.287, allocations: 0.4978 MB / 3.21 GB, free: 93.81 MB / 0.6198 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/7.29, allocations: 0.6505 MB / 3.21 GB, free: 93.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/7.29, allocations: 4 kB / 3.21 GB, free: 93.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001602/7.291, allocations: 0.6642 MB / 3.211 GB, free: 92.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/7.291, allocations: 4 kB / 3.211 GB, free: 92.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/7.291, allocations: 12 kB / 3.211 GB, free: 92.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.017e-05/7.291, allocations: 23.94 kB / 3.211 GB, free: 92.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009023/7.292, allocations: 159.7 kB / 3.211 GB, free: 92.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.801e-05/7.292, allocations: 20.38 kB / 3.211 GB, free: 92.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/7.294, allocations: 51.72 kB / 3.211 GB, free: 92.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-05/7.294, allocations: 40.56 kB / 3.211 GB, free: 92.16 MB / 0.6198 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002499/7.294, allocations: 140.6 kB / 3.211 GB, free: 92.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/7.294, allocations: 75.06 kB / 3.211 GB, free: 91.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/7.295, allocations: 79.23 kB / 3.212 GB, free: 91.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/7.295, allocations: 4 kB / 3.212 GB, free: 91.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/7.295, allocations: 4.891 kB / 3.212 GB, free: 91.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007769/7.295, allocations: 0.6049 MB / 3.212 GB, free: 91.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002842/7.298, allocations: 1.238 MB / 3.213 GB, free: 89.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/7.298, allocations: 7.938 kB / 3.213 GB, free: 89.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006054/7.299, allocations: 83.84 kB / 3.213 GB, free: 89.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/7.299, allocations: 4 kB / 3.213 GB, free: 89.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.327e-05/7.299, allocations: 11.98 kB / 3.213 GB, free: 89.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/7.299, allocations: 4 kB / 3.213 GB, free: 89.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/7.299, allocations: 7.938 kB / 3.213 GB, free: 89.73 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001282/7.3, allocations: 0.8724 MB / 3.214 GB, free: 88.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004101/7.301, allocations: 200.1 kB / 3.215 GB, free: 88.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/7.301, allocations: 15.98 kB / 3.215 GB, free: 88.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00094/7.302, allocations: 23.89 kB / 3.215 GB, free: 88.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.51e-05/7.302, allocations: 28.53 kB / 3.215 GB, free: 88.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/7.302, allocations: 23.98 kB / 3.215 GB, free: 88.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001047/7.303, allocations: 427.1 kB / 3.215 GB, free: 88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002354/7.305, allocations: 303 kB / 3.215 GB, free: 87.71 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003724/7.309, allocations: 1.489 MB / 3.217 GB, free: 86.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001252/7.31, allocations: 434.7 kB / 3.217 GB, free: 85.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/7.311, allocations: 0 / 3.217 GB, free: 85.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000291/7.311, allocations: 151.8 kB / 3.217 GB, free: 85.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/7.314, allocations: 382.6 kB / 3.218 GB, free: 85.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004638/7.319, allocations: 1.396 MB / 3.219 GB, free: 83.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/7.32, allocations: 1.195 MB / 3.22 GB, free: 82.71 MB / 0.6198 GB Notification: Performance of SimCode: time 2.074e-06/7.32, allocations: 0 / 3.22 GB, free: 82.71 MB / 0.6198 GB Notification: Performance of Templates: time 0.05946/7.379, allocations: 19.85 MB / 3.24 GB, free: 62.99 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)