Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008574/0.0008574, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009527/0.0009527, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.038/1.038, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001751/0.001751, allocations: 241.7 kB / 260.5 MB, free: 12.71 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7526/0.7526, allocations: 138.4 MB / 402.2 MB, free: 0.5469 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 462.4 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.611e-05, allocations: 3.734 kB / 462.4 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.002501/0.002517, allocations: 1.882 MB / 464.2 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.004206, allocations: 1.235 MB / 465.5 MB, free: 14.91 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.745e-05/0.004303, allocations: 1.156 kB / 465.5 MB, free: 14.91 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.00461, allocations: 61.66 kB / 465.5 MB, free: 14.88 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.004987, allocations: 124 kB / 465.7 MB, free: 14.82 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.005531, allocations: 190.2 kB / 465.9 MB, free: 14.72 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.005759, allocations: 154.2 kB / 466 MB, free: 14.65 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.005861, allocations: 23.27 kB / 466 MB, free: 14.63 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.005998, allocations: 92.8 kB / 466.1 MB, free: 14.59 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.806e-05/0.006096, allocations: 52.58 kB / 466.2 MB, free: 14.58 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.006113, allocations: 8.125 kB / 466.2 MB, free: 14.58 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.006319, allocations: 84.97 kB / 466.3 MB, free: 14.55 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.006387, allocations: 37.33 kB / 466.3 MB, free: 14.54 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.006434, allocations: 33.75 kB / 466.3 MB, free: 14.52 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.006679, allocations: 170.2 kB / 466.5 MB, free: 14.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.006682, allocations: 0.5 kB / 466.5 MB, free: 14.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006682, allocations: 0.75 kB / 466.5 MB, free: 14.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.006687, allocations: 0 / 466.5 MB, free: 14.45 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000471/0.007158, allocations: 411.8 kB / 466.9 MB, free: 14.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.00719, allocations: 12.75 kB / 466.9 MB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.007231, allocations: 12.92 kB / 466.9 MB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.007425, allocations: 170.5 kB / 467.1 MB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.007442, allocations: 384 / 467.1 MB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.007455, allocations: 8.359 kB / 467.1 MB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.007584, allocations: 75.12 kB / 467.2 MB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.007594, allocations: 3.938 kB / 467.2 MB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.007604, allocations: 4.5 kB / 467.2 MB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.007623, allocations: 1 kB / 467.2 MB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.044e-05/0.007653, allocations: 11.98 kB / 467.2 MB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.007929, allocations: 195.7 kB / 467.4 MB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.973e-05/0.008029, allocations: 107.5 kB / 467.5 MB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.008051, allocations: 16.84 kB / 467.5 MB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.008061, allocations: 3.938 kB / 467.5 MB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.032e-05/0.008151, allocations: 70.19 kB / 467.6 MB, free: 13.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.008153, allocations: 7.938 kB / 467.6 MB, free: 13.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001333/0.008286, allocations: 74.97 kB / 467.7 MB, free: 13.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.008308, allocations: 51.41 kB / 467.7 MB, free: 13.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.008441, allocations: 220.1 kB / 467.9 MB, free: 12.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.008459, allocations: 29.7 kB / 468 MB, free: 12.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.008496, allocations: 102.1 kB / 468.1 MB, free: 12.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.00852, allocations: 23.81 kB / 468.1 MB, free: 12.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.008552, allocations: 25.7 kB / 468.1 MB, free: 12.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.007e-05/0.008632, allocations: 330.8 kB / 468.4 MB, free: 12.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.008648, allocations: 7.453 kB / 468.4 MB, free: 12.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.742e-05/0.008695, allocations: 59.39 kB / 468.5 MB, free: 12.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.617e-05/0.008752, allocations: 47.28 kB / 468.5 MB, free: 12.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.008754, allocations: 0 / 468.5 MB, free: 12.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.495e-05/0.008839, allocations: 77.88 kB / 468.6 MB, free: 12.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.008852, allocations: 7.984 kB / 468.6 MB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.008857, allocations: 0 / 468.6 MB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.00887, allocations: 6.062 kB / 468.6 MB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.893e-05/0.008929, allocations: 9.281 kB / 468.6 MB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.008933, allocations: 4 kB / 468.6 MB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.493e-05/0.008968, allocations: 8.438 kB / 468.6 MB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.008974, allocations: 4 kB / 468.6 MB, free: 12.15 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.558e-05/0.00905, allocations: 118.6 kB / 468.8 MB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.009066, allocations: 15.92 kB / 468.8 MB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.009168, allocations: 80.59 kB / 468.9 MB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.009178, allocations: 7.984 kB / 468.9 MB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.00918, allocations: 2.906 kB / 468.9 MB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.009184, allocations: 0 / 468.9 MB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.26e-05/0.009276, allocations: 97.84 kB / 469 MB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.009278, allocations: 4 kB / 469 MB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.388e-05/0.009302, allocations: 8.484 kB / 469 MB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.009303, allocations: 0 / 469 MB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.00931, allocations: 9.062 kB / 469 MB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.009311, allocations: 3.938 kB / 469 MB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.009312, allocations: 1.438 kB / 469 MB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.734e-05/0.00939, allocations: 96.53 kB / 469.1 MB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.997e-05/0.00941, allocations: 25.98 kB / 469.1 MB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.009427, allocations: 9.344 kB / 469.1 MB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.177e-05/0.009449, allocations: 0 / 469.1 MB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.009482, allocations: 11.98 kB / 469.1 MB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.009489, allocations: 4 kB / 469.1 MB, free: 11.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.84e-05/0.009547, allocations: 72.95 kB / 469.2 MB, free: 11.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009548, allocations: 0 / 469.2 MB, free: 11.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001566/0.009704, allocations: 41.5 kB / 469.2 MB, free: 11.52 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.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001176/0.01088, allocations: 0.5279 MB / 469.8 MB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.01099, allocations: 32.84 kB / 469.8 MB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.01099, allocations: 0.6562 kB / 469.8 MB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.754e-05/0.01103, allocations: 32.77 kB / 469.8 MB, free: 11.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.01118, allocations: 45.31 kB / 469.9 MB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.01155, allocations: 265.2 kB / 470.1 MB, free: 10.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.248e-05/0.0116, allocations: 76.58 kB / 470.2 MB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.007e-05/0.01165, allocations: 19.42 kB / 470.2 MB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.859e-05/0.01173, allocations: 75.3 kB / 470.3 MB, free: 10.73 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01173, allocations: 0 / 470.3 MB, free: 10.73 MB / 426.7 MB Notification: Performance of Templates: time 0.004395/0.01612, allocations: 2.843 MB / 473.2 MB, free: 8.148 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7154211490415037]