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.598/0.598, allocations: 94.69 MB / 107.3 MB, free: 5.188 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.001046/0.001046, allocations: 179 kB / 130.7 MB, free: 7.539 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.536/1.536, allocations: 170.5 MB / 324.5 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001726/0.001726, allocations: 106.9 kB / 386.6 MB, free: 16.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.658e-05/4.661e-05, allocations: 4 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.4845, allocations: 61.5 MB / 0.5054 GB, free: 49.46 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1443/0.6289, allocations: 94.47 MB / 0.5976 GB, free: 1.109 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.6292, allocations: 67.97 kB / 0.5977 GB, free: 1.043 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007189/0.6364, allocations: 2.279 MB / 0.5999 GB, free: 14.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6365, allocations: 0 / 0.5999 GB, free: 14.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.6365, allocations: 4 kB / 0.5999 GB, free: 14.81 MB / 426.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.0006002/0.6371, allocations: 386.2 kB / 0.6003 GB, free: 14.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.645e-05/0.6372, allocations: 8.031 kB / 0.6003 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.6373, allocations: 4.688 kB / 0.6003 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.6376, allocations: 179 kB / 0.6005 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/0.6376, allocations: 8.469 kB / 0.6005 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.6377, allocations: 5.078 kB / 0.6005 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.6379, allocations: 65.62 kB / 0.6005 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.6379, allocations: 4 kB / 0.6006 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.6379, allocations: 3.984 kB / 0.6006 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.6379, allocations: 0.6875 kB / 0.6006 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.048e-05/0.638, allocations: 20 kB / 0.6006 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.6386, allocations: 287.5 kB / 0.6008 GB, free: 13.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.6387, allocations: 67.08 kB / 0.6009 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.6388, allocations: 30.08 kB / 0.6009 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.6388, allocations: 0 / 0.6009 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.639, allocations: 79.42 kB / 0.601 GB, free: 13.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.639, allocations: 0 / 0.601 GB, free: 13.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002754/0.6393, allocations: 123.8 kB / 0.6011 GB, free: 13.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.6394, allocations: 56.62 kB / 0.6012 GB, free: 13.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.6395, allocations: 113.2 kB / 0.6013 GB, free: 13.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.6395, allocations: 25.7 kB / 0.6013 GB, free: 13.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.545e-05/0.6396, allocations: 89.7 kB / 0.6014 GB, free: 13.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.6396, allocations: 18.14 kB / 0.6014 GB, free: 13.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.6397, allocations: 0 / 0.6014 GB, free: 13.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.6398, allocations: 315.7 kB / 0.6017 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.314e-05/0.6399, allocations: 27.98 kB / 0.6018 GB, free: 12.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.993e-05/0.6399, allocations: 33.58 kB / 0.6018 GB, free: 12.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.922e-05/0.64, allocations: 53.69 kB / 0.6018 GB, free: 12.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.64, allocations: 0 / 0.6018 GB, free: 12.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002082/0.6402, allocations: 155.2 kB / 0.602 GB, free: 12.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.6403, allocations: 39.8 kB / 0.602 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.6403, allocations: 4 kB / 0.602 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.6403, allocations: 0 / 0.602 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.653e-05/0.6403, allocations: 0 / 0.602 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.6403, allocations: 3.984 kB / 0.602 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.84e-05/0.6404, allocations: 11.84 kB / 0.602 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.6404, allocations: 4 kB / 0.602 GB, free: 12.42 MB / 426.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.000101/0.6405, allocations: 115.7 kB / 0.6022 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.6405, allocations: 3.953 kB / 0.6022 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.6406, allocations: 11.25 kB / 0.6022 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.6406, allocations: 4.812 kB / 0.6022 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6406, allocations: 0 / 0.6022 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.6406, allocations: 7.984 kB / 0.6022 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.6408, allocations: 170.6 kB / 0.6023 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6408, allocations: 4 kB / 0.6023 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-06/0.6408, allocations: 2.406 kB / 0.6024 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.6408, allocations: 0 / 0.6024 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.6408, allocations: 3.953 kB / 0.6024 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.6409, allocations: 1.375 kB / 0.6024 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6409, allocations: 3.984 kB / 0.6024 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.6411, allocations: 143.2 kB / 0.6025 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.6411, allocations: 84.95 kB / 0.6026 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.6412, allocations: 4 kB / 0.6026 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.703e-05/0.6412, allocations: 3.953 kB / 0.6026 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.6412, allocations: 12.58 kB / 0.6026 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.6413, allocations: 5.562 kB / 0.6026 GB, free: 11.78 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.306e-05/0.6413, allocations: 102 kB / 0.6027 GB, free: 11.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.973e-06/0.6414, allocations: 0 / 0.6027 GB, free: 11.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002483/0.6416, allocations: 31.94 kB / 0.6027 GB, free: 11.65 MB / 426.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.0002599/0.6419, allocations: 130.8 kB / 0.6029 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.6421, allocations: 119.4 kB / 0.603 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6421, allocations: 1.125 kB / 0.603 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.369e-05/0.6422, allocations: 35.92 kB / 0.603 GB, free: 11.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.6423, allocations: 3.984 kB / 0.603 GB, free: 11.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/0.6426, allocations: 117.7 kB / 0.6031 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.643, allocations: 0.6932 MB / 0.6038 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.168e-05/0.643, allocations: 15.92 kB / 0.6038 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.69e-05/0.643, allocations: 7.438 kB / 0.6038 GB, free: 10.48 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.643, allocations: 0 / 0.6038 GB, free: 10.48 MB / 426.7 MB Notification: Performance of Templates: time 0.003412/0.6464, allocations: 0.8487 MB / 0.6046 GB, free: 9.676 MB / 426.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)