Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [: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.7736/0.7736, allocations: 132.4 MB / 139.7 MB, free: 15.54 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.001094/0.001094, allocations: 176 kB / 171.6 MB, free: 2.004 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.432/1.432, allocations: 170.5 MB / 373.9 MB, free: 15.79 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.001735/0.001735, allocations: 114.4 kB / 444.4 MB, free: 9.348 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.5236/0.5236, allocations: 73.39 MB / 0.666 GB, free: 62.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.569/6.093, allocations: 2.367 GB / 3.033 GB, free: 63.96 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/6.093, allocations: 83.95 kB / 3.034 GB, free: 63.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.381/8.474, allocations: 0.6144 GB / 3.648 GB, free: 78.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001283/8.475, allocations: 44.58 kB / 3.648 GB, free: 78.02 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.005162/8.48, allocations: 1.564 MB / 3.649 GB, free: 77.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/8.48, allocations: 7.562 kB / 3.649 GB, free: 77.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002816/8.483, allocations: 0.5797 MB / 3.65 GB, free: 77.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/8.484, allocations: 0.9374 MB / 3.651 GB, free: 76.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001154/8.485, allocations: 342.9 kB / 3.651 GB, free: 76.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/8.486, allocations: 66.83 kB / 3.651 GB, free: 76.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001811/8.487, allocations: 1.069 MB / 3.652 GB, free: 76.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/8.489, allocations: 1.354 MB / 3.654 GB, free: 76.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/8.489, allocations: 0 / 3.654 GB, free: 76.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/8.49, allocations: 7.031 kB / 3.654 GB, free: 76.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.96e-05/8.49, allocations: 53.53 kB / 3.654 GB, free: 76.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007729/8.497, allocations: 5.894 MB / 3.66 GB, free: 73.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007667/8.498, allocations: 0.5048 MB / 3.66 GB, free: 73.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003654/8.499, allocations: 298.4 kB / 3.66 GB, free: 73.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.42e-05/8.499, allocations: 12.56 kB / 3.66 GB, free: 73.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007181/8.499, allocations: 0.6655 MB / 3.661 GB, free: 73.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 2.775e-06/8.499, allocations: 2.406 kB / 3.661 GB, free: 73.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.001191/8.501, allocations: 0.6575 MB / 3.662 GB, free: 73.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002099/8.501, allocations: 0.9481 MB / 3.663 GB, free: 72.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009282/8.502, allocations: 0.757 MB / 3.663 GB, free: 72.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.292e-05/8.502, allocations: 29.3 kB / 3.663 GB, free: 72.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000345/8.502, allocations: 0.5405 MB / 3.664 GB, free: 71.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/8.502, allocations: 162.5 kB / 3.664 GB, free: 71.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/8.502, allocations: 0 / 3.664 GB, free: 71.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001352/8.502, allocations: 397.8 kB / 3.664 GB, free: 71.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005095/8.503, allocations: 351.8 kB / 3.665 GB, free: 71.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008531/8.504, allocations: 0.8792 MB / 3.666 GB, free: 70.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007248/8.505, allocations: 479.7 kB / 3.666 GB, free: 70.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/8.505, allocations: 6.656 kB / 3.666 GB, free: 70.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001703/8.506, allocations: 1.075 MB / 3.667 GB, free: 70.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/8.506, allocations: 3.938 kB / 3.667 GB, free: 70.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/8.506, allocations: 13.12 kB / 3.667 GB, free: 70.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/8.506, allocations: 14.84 kB / 3.667 GB, free: 70.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/8.508, allocations: 297.6 kB / 3.667 GB, free: 70.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/8.508, allocations: 22.47 kB / 3.667 GB, free: 70.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/8.51, allocations: 348.2 kB / 3.668 GB, free: 70.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/8.51, allocations: 53.78 kB / 3.668 GB, free: 70.65 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 1 * 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.0002729/8.51, allocations: 172.2 kB / 3.668 GB, free: 70.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/8.51, allocations: 101.6 kB / 3.668 GB, free: 70.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/8.511, allocations: 96.42 kB / 3.668 GB, free: 70.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/8.511, allocations: 9.562 kB / 3.668 GB, free: 70.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/8.511, allocations: 0 / 3.668 GB, free: 70.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/8.511, allocations: 9.516 kB / 3.668 GB, free: 70.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/8.514, allocations: 3.023 MB / 3.671 GB, free: 69.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/8.514, allocations: 9.562 kB / 3.671 GB, free: 69.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006402/8.515, allocations: 118.9 kB / 3.671 GB, free: 69.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/8.515, allocations: 6.688 kB / 3.671 GB, free: 69.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.393e-05/8.515, allocations: 21.41 kB / 3.671 GB, free: 69.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.367e-06/8.515, allocations: 21.78 kB / 3.671 GB, free: 69.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/8.515, allocations: 13.12 kB / 3.671 GB, free: 69.48 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001241/8.516, allocations: 1.305 MB / 3.673 GB, free: 68.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004831/8.517, allocations: 327.2 kB / 3.673 GB, free: 68.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/8.517, allocations: 18.22 kB / 3.673 GB, free: 68.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/8.518, allocations: 125.3 kB / 3.673 GB, free: 68.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.329e-05/8.518, allocations: 46.7 kB / 3.673 GB, free: 68.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.345e-05/8.518, allocations: 27.62 kB / 3.673 GB, free: 68.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.000658/8.519, allocations: 0.5647 MB / 3.674 GB, free: 68.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001727/8.521, allocations: 481.1 kB / 3.674 GB, free: 68.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent) * Number of discrete states: 5 (QSen_flow.last,QSen_flow.nextEvent,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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.002217/8.523, allocations: 1.692 MB / 3.676 GB, free: 67.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001364/8.524, allocations: 0.8318 MB / 3.677 GB, free: 67.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/8.524, allocations: 2.75 kB / 3.677 GB, free: 67.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004333/8.525, allocations: 366.1 kB / 3.677 GB, free: 67.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/8.526, allocations: 359.2 kB / 3.677 GB, free: 67.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/8.53, allocations: 1.574 MB / 3.679 GB, free: 67.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009588/8.531, allocations: 1.263 MB / 3.68 GB, free: 66.5 MB / 0.6198 GB Notification: Performance of SimCode: time 6.82e-07/8.531, allocations: 0 / 3.68 GB, free: 66.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.05436/8.585, allocations: 28.42 MB / 3.708 GB, free: 65.06 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)