Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.788/3.788, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002112/0.002112, allocations: 171.6 kB / 326.2 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.023/4.023, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001519/0.001518, allocations: 93.84 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008376/0.0008379, allocations: 13.12 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3953, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3953/0.7907, allocations: 135.5 MB / 1.032 GB, free: 9.848 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000462/0.7912, allocations: 83.95 kB / 1.032 GB, free: 9.766 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.03738/0.8286, allocations: 5.44 MB / 1.037 GB, free: 4.32 MB / 0.6824 GB Notification: Performance of FrontEnd: time 3.206e-06/0.8287, allocations: 4 kB / 1.037 GB, free: 4.316 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 3.382e-05/0.8288, allocations: 4 kB / 1.037 GB, free: 4.312 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001276/0.83, allocations: 0.4963 MB / 1.038 GB, free: 3.758 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.8301, allocations: 8.031 kB / 1.038 GB, free: 3.75 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.8303, allocations: 16.75 kB / 1.038 GB, free: 3.734 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007357/0.831, allocations: 257 kB / 1.038 GB, free: 3.441 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.8311, allocations: 8.375 kB / 1.038 GB, free: 3.434 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.8311, allocations: 4.375 kB / 1.038 GB, free: 3.43 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.8315, allocations: 92.73 kB / 1.038 GB, free: 3.324 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.8316, allocations: 192 / 1.038 GB, free: 3.324 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.586e-05/0.8316, allocations: 11.94 kB / 1.038 GB, free: 3.312 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.8317, allocations: 0 / 1.038 GB, free: 3.312 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.8319, allocations: 35.97 kB / 1.038 GB, free: 3.277 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.8331, allocations: 376.6 kB / 1.038 GB, free: 2.859 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000521/0.8336, allocations: 90.66 kB / 1.039 GB, free: 2.762 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.8338, allocations: 28.84 kB / 1.039 GB, free: 2.73 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.8339, allocations: 4 kB / 1.039 GB, free: 2.727 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003737/0.8343, allocations: 91.39 kB / 1.039 GB, free: 2.625 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=8): time 3.767e-06/0.8343, allocations: 0 / 1.039 GB, free: 2.625 MB / 0.6824 GB Notification: Performance of matching and sorting (n=8): time 0.000841/0.8351, allocations: 141.5 kB / 1.039 GB, free: 2.48 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.463e-05/0.8353, allocations: 102.8 kB / 1.039 GB, free: 2.355 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006632/0.8359, allocations: 270.8 kB / 1.039 GB, free: 2.082 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 4.846e-05/0.836, allocations: 29.7 kB / 1.039 GB, free: 2.047 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.8362, allocations: 116.1 kB / 1.039 GB, free: 1.93 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 5.837e-05/0.8362, allocations: 15.8 kB / 1.039 GB, free: 1.914 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.8363, allocations: 8 kB / 1.039 GB, free: 1.906 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.8365, allocations: 334.7 kB / 1.04 GB, free: 1.57 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.8367, allocations: 27.98 kB / 1.04 GB, free: 1.543 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.837, allocations: 80.2 kB / 1.04 GB, free: 1.449 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.8372, allocations: 32.02 kB / 1.04 GB, free: 1.418 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.8372, allocations: 4 kB / 1.04 GB, free: 1.414 MB / 0.6824 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005806/0.8378, allocations: 117.4 kB / 1.04 GB, free: 1.293 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.8379, allocations: 4 kB / 1.04 GB, free: 1.289 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.8379, allocations: 4 kB / 1.04 GB, free: 1.285 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.8379, allocations: 0 / 1.04 GB, free: 1.285 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.8382, allocations: 11.98 kB / 1.04 GB, free: 1.273 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.8382, allocations: 4.391 kB / 1.04 GB, free: 1.27 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.8384, allocations: 7.906 kB / 1.04 GB, free: 1.262 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.8384, allocations: 0 / 1.04 GB, free: 1.262 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0003015/0.8388, allocations: 157.7 kB / 1.04 GB, free: 1.098 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/0.8388, allocations: 15.81 kB / 1.04 GB, free: 1.082 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006148/0.8395, allocations: 127 kB / 1.04 GB, free: 0.9492 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-05/0.8395, allocations: 8 kB / 1.04 GB, free: 0.9414 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.8395, allocations: 3.938 kB / 1.04 GB, free: 0.9375 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.8396, allocations: 7.922 kB / 1.04 GB, free: 0.9297 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.84, allocations: 237.4 kB / 1.04 GB, free: 0.6484 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.84, allocations: 0 / 1.04 GB, free: 0.6484 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.8402, allocations: 8 kB / 1.04 GB, free: 0.6406 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.8402, allocations: 4.031 kB / 1.04 GB, free: 0.6367 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.8402, allocations: 4 kB / 1.04 GB, free: 0.6328 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.8403, allocations: 0 / 1.04 GB, free: 0.6328 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.8403, allocations: 3.984 kB / 1.04 GB, free: 0.6289 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005778/0.8409, allocations: 148.8 kB / 1.041 GB, free: 476 kB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.841, allocations: 100.9 kB / 1.041 GB, free: 356 kB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.587e-05/0.8411, allocations: 0 / 1.041 GB, free: 356 kB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.8414, allocations: 15.98 kB / 1.041 GB, free: 340 kB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.898e-05/0.8415, allocations: 7.984 kB / 1.041 GB, free: 332 kB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.8415, allocations: 4 kB / 1.041 GB, free: 328 kB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.0004682/0.842, allocations: 204.3 kB / 1.041 GB, free: 124 kB / 0.6824 GB Notification: Performance of sort global known variables: time 5.21e-07/0.842, allocations: 0 / 1.041 GB, free: 124 kB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0007221/0.8428, allocations: 51.88 kB / 1.041 GB, free: 72 kB / 0.6824 GB 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.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002185/0.845, allocations: 438.8 kB / 1.041 GB, free: 15.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006469/0.8456, allocations: 83.88 kB / 1.042 GB, free: 15.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.8457, allocations: 0 / 1.042 GB, free: 15.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.8459, allocations: 43.97 kB / 1.042 GB, free: 15.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007516/0.8467, allocations: 43.12 kB / 1.042 GB, free: 15.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.8479, allocations: 326 kB / 1.042 GB, free: 15.28 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.8484, allocations: 0.7281 MB / 1.043 GB, free: 14.53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000218/0.8487, allocations: 25.38 kB / 1.043 GB, free: 14.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.8488, allocations: 27.42 kB / 1.043 GB, free: 14.47 MB / 0.698 GB Notification: Performance of SimCode: time 1.754e-06/0.8488, allocations: 0 / 1.043 GB, free: 14.47 MB / 0.698 GB Notification: Performance of Templates: time 0.01312/0.862, allocations: 2.478 MB / 1.045 GB, free: 12.01 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)