Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) 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 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5504/0.5504, allocations: 94.76 MB / 102.2 MB, free: 14.1 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001203/0.001203, allocations: 189.9 kB / 125.6 MB, free: 7.922 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.54/1.54, allocations: 170.6 MB / 319.4 MB, free: 1.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001685/0.001685, allocations: 109.8 kB / 381.4 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.03e-05/2.058e-05, allocations: 0 / 449.1 MB, free: 44.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1361, allocations: 61.53 MB / 0.4987 GB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4862/0.6224, allocations: 94.16 MB / 0.5906 GB, free: 2.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.6227, allocations: 74.69 kB / 0.5907 GB, free: 2.297 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006741/0.6294, allocations: 2.264 MB / 0.5929 GB, free: 384 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6295, allocations: 0 / 0.5929 GB, free: 384 kB / 394.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.6295, allocations: 0 / 0.5929 GB, free: 384 kB / 394.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.0005178/0.63, allocations: 383.5 kB / 0.5933 GB, free: 15.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.6301, allocations: 8.031 kB / 0.5933 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.389e-05/0.6301, allocations: 11.84 kB / 0.5933 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.6304, allocations: 185.5 kB / 0.5935 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.6304, allocations: 7.984 kB / 0.5935 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.6304, allocations: 0 / 0.5935 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.647e-05/0.6305, allocations: 19.44 kB / 0.5935 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.6306, allocations: 64.38 kB / 0.5935 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.6307, allocations: 4 kB / 0.5935 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.6307, allocations: 0 / 0.5935 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.6307, allocations: 4 kB / 0.5936 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.6311, allocations: 256.1 kB / 0.5938 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.6312, allocations: 64.25 kB / 0.5939 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.925e-05/0.6313, allocations: 30.55 kB / 0.5939 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.6314, allocations: 3.953 kB / 0.5939 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.6315, allocations: 77.95 kB / 0.594 GB, free: 15.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.804e-06/0.6315, allocations: 4 kB / 0.594 GB, free: 15.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003225/0.6319, allocations: 109.8 kB / 0.5941 GB, free: 15.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.6319, allocations: 59.34 kB / 0.5941 GB, free: 15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.632, allocations: 111.7 kB / 0.5942 GB, free: 14.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.6321, allocations: 29.14 kB / 0.5943 GB, free: 14.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.6322, allocations: 88.08 kB / 0.5943 GB, free: 14.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.6322, allocations: 19.02 kB / 0.5944 GB, free: 14.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.6322, allocations: 4 kB / 0.5944 GB, free: 14.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6324, allocations: 314.8 kB / 0.5947 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.5e-05/0.6324, allocations: 23.67 kB / 0.5947 GB, free: 14.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.773e-05/0.6325, allocations: 30.8 kB / 0.5947 GB, free: 14.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.6326, allocations: 28.2 kB / 0.5948 GB, free: 14.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6326, allocations: 4 kB / 0.5948 GB, free: 14.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002339/0.6328, allocations: 120.2 kB / 0.5949 GB, free: 14.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/0.6329, allocations: 41.47 kB / 0.5949 GB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.6329, allocations: 0 / 0.5949 GB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.6329, allocations: 7.984 kB / 0.5949 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-05/0.6329, allocations: 0 / 0.5949 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.633, allocations: 4 kB / 0.5949 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.633, allocations: 0 / 0.5949 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.633, allocations: 4 kB / 0.5949 GB, free: 14.2 MB / 410.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 8.217e-05/0.6331, allocations: 105 kB / 0.595 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.6331, allocations: 7.906 kB / 0.595 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/0.6332, allocations: 15.88 kB / 0.595 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.6332, allocations: 4 kB / 0.595 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6332, allocations: 4 kB / 0.5951 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6332, allocations: 0 / 0.5951 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.6334, allocations: 145.8 kB / 0.5952 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6334, allocations: 5.75 kB / 0.5952 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-06/0.6334, allocations: 3.938 kB / 0.5952 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.6334, allocations: 0 / 0.5952 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.6334, allocations: 3.688 kB / 0.5952 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.6335, allocations: 0 / 0.5952 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6335, allocations: 3.953 kB / 0.5952 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.6337, allocations: 146.3 kB / 0.5953 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.6338, allocations: 87.89 kB / 0.5954 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.6338, allocations: 4 kB / 0.5954 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.666e-05/0.6339, allocations: 256 / 0.5954 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.6339, allocations: 7.984 kB / 0.5954 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.6339, allocations: 15.94 kB / 0.5955 GB, free: 13.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.197e-05/0.634, allocations: 102.6 kB / 0.5956 GB, free: 13.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.634, allocations: 0 / 0.5956 GB, free: 13.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002414/0.6343, allocations: 28 kB / 0.5956 GB, free: 13.48 MB / 410.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.0002467/0.6345, allocations: 131.1 kB / 0.5957 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.6347, allocations: 116.5 kB / 0.5958 GB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6347, allocations: 0 / 0.5958 GB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.487e-05/0.6348, allocations: 31.84 kB / 0.5959 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001059/0.6349, allocations: 3.312 kB / 0.5959 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.6352, allocations: 114.5 kB / 0.596 GB, free: 13.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.6356, allocations: 0.6962 MB / 0.5966 GB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.765e-05/0.6357, allocations: 3.984 kB / 0.5966 GB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.6357, allocations: 14.81 kB / 0.5967 GB, free: 12.34 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.6357, allocations: 0 / 0.5967 GB, free: 12.34 MB / 410.7 MB Notification: Performance of Templates: time 0.003395/0.6391, allocations: 0.8296 MB / 0.5975 GB, free: 11.52 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)