Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.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.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") [: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.8041/0.8041, allocations: 132.4 MB / 139.7 MB, free: 15.52 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.001108/0.001108, allocations: 176.4 kB / 171.6 MB, free: 2 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.208/1.208, allocations: 170.5 MB / 373.9 MB, free: 15.82 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.001674/0.001674, allocations: 112.4 kB / 444.4 MB, free: 9.359 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.5157/0.5158, allocations: 73.39 MB / 0.666 GB, free: 62.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.6692, allocations: 101.5 MB / 0.7652 GB, free: 2.707 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/0.6696, allocations: 69.09 kB / 0.7652 GB, free: 2.641 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01048/0.6802, allocations: 1.95 MB / 0.7672 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.6802, allocations: 0 / 0.7672 GB, free: 0.7344 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000561/0.6808, allocations: 379.9 kB / 0.7675 GB, free: 324 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.6809, allocations: 8.031 kB / 0.7675 GB, free: 316 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/0.6809, allocations: 13.2 kB / 0.7675 GB, free: 304 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.6812, allocations: 179.9 kB / 0.7677 GB, free: 84 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.6813, allocations: 7.188 kB / 0.7677 GB, free: 80 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.6813, allocations: 4.469 kB / 0.7677 GB, free: 76 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001057/0.6814, allocations: 23.98 kB / 0.7677 GB, free: 52 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.6816, allocations: 68.48 kB / 0.7678 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.6817, allocations: 4 kB / 0.7678 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.6817, allocations: 0 / 0.7678 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.6817, allocations: 3.938 kB / 0.7678 GB, free: 15.97 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005081/0.6822, allocations: 258.7 kB / 0.7681 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.6824, allocations: 62.5 kB / 0.7681 GB, free: 15.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.21e-05/0.6825, allocations: 24.92 kB / 0.7681 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.6825, allocations: 4 kB / 0.7681 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.6827, allocations: 79.34 kB / 0.7682 GB, free: 15.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 2.836e-06/0.6827, allocations: 4 kB / 0.7682 GB, free: 15.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003602/0.6831, allocations: 81.67 kB / 0.7683 GB, free: 15.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.6831, allocations: 59.41 kB / 0.7684 GB, free: 15.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.6833, allocations: 113.1 kB / 0.7685 GB, free: 15.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.6833, allocations: 29.69 kB / 0.7685 GB, free: 15.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.6834, allocations: 92.14 kB / 0.7686 GB, free: 15.08 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.6834, allocations: 7.906 kB / 0.7686 GB, free: 15.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-06/0.6835, allocations: 3.938 kB / 0.7686 GB, free: 15.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.6837, allocations: 318.8 kB / 0.7689 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.824e-05/0.6838, allocations: 24 kB / 0.7689 GB, free: 14.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-05/0.6838, allocations: 25.02 kB / 0.7689 GB, free: 14.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.684, allocations: 39.88 kB / 0.769 GB, free: 14.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.684, allocations: 0 / 0.769 GB, free: 14.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002553/0.6843, allocations: 102.6 kB / 0.7691 GB, free: 14.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.6843, allocations: 15.84 kB / 0.7691 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.6843, allocations: 0 / 0.7691 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.6843, allocations: 0 / 0.7691 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.089e-05/0.6844, allocations: 0 / 0.7691 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.6844, allocations: 0 / 0.7691 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.545e-05/0.6845, allocations: 10.8 kB / 0.7691 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.6845, allocations: 6.062 kB / 0.7691 GB, free: 14.53 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.intTab.y,intTab.y,$PRE.intTab.nextTime,intTab.nextTime,$PRE.intTab.index,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 4 * Array equations: 1 * 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.0001154/0.6846, allocations: 109 kB / 0.7692 GB, free: 14.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.6846, allocations: 3.906 kB / 0.7692 GB, free: 14.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.6847, allocations: 17.78 kB / 0.7692 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.6847, allocations: 0 / 0.7692 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.6847, allocations: 3.906 kB / 0.7692 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.6848, allocations: 0 / 0.7692 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.685, allocations: 150.2 kB / 0.7694 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.685, allocations: 0 / 0.7694 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-06/0.685, allocations: 0 / 0.7694 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.685, allocations: 0 / 0.7694 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.685, allocations: 4 kB / 0.7694 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.685, allocations: 0 / 0.7694 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.6851, allocations: 7.906 kB / 0.7694 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002555/0.6853, allocations: 124.9 kB / 0.7695 GB, free: 14.06 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.753e-05/0.6854, allocations: 85.05 kB / 0.7696 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.6854, allocations: 3.938 kB / 0.7696 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.337e-05/0.6855, allocations: 9.406 kB / 0.7696 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.6856, allocations: 3.984 kB / 0.7696 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.037e-05/0.6856, allocations: 4 kB / 0.7696 GB, free: 13.94 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.463e-05/0.6857, allocations: 100.7 kB / 0.7697 GB, free: 13.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003699/0.6861, allocations: 28 kB / 0.7697 GB, free: 13.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.nextTime,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.nextTime,intTab.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003217/0.6864, allocations: 128.7 kB / 0.7699 GB, free: 13.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002664/0.6867, allocations: 85.62 kB / 0.7699 GB, free: 13.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6867, allocations: 0 / 0.7699 GB, free: 13.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.709e-05/0.6869, allocations: 27.98 kB / 0.77 GB, free: 13.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.687, allocations: 10.16 kB / 0.77 GB, free: 13.56 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.6875, allocations: 115.6 kB / 0.7701 GB, free: 13.42 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004929/0.688, allocations: 0.7036 MB / 0.7708 GB, free: 12.69 MB / 490.7 MB Notification: Performance of SimCode: time 3.417e-06/0.688, allocations: 0 / 0.7708 GB, free: 12.69 MB / 490.7 MB Notification: Performance of Templates: time 0.004577/0.6926, allocations: 0.9169 MB / 0.7717 GB, free: 11.8 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)