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.0008131/0.0008131, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009322/0.0009322, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 0.9647/0.9647, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.00176/0.00176, allocations: 245 kB / 260.5 MB, free: 12.7 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.6721/0.6721, allocations: 138.4 MB / 402.2 MB, free: 0.5703 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.633e-06/1.633e-06, allocations: 3.938 kB / 462.3 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019e-05/1.182e-05, allocations: 2.312 kB / 462.3 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.002504/0.002515, allocations: 1.835 MB / 464.2 MB, free: 15.66 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.004143, allocations: 1.238 MB / 465.4 MB, free: 14.89 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.991e-05/0.004233, allocations: 2.656 kB / 465.4 MB, free: 14.89 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.004522, allocations: 58.83 kB / 465.5 MB, free: 14.86 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000331/0.004853, allocations: 124.1 kB / 465.6 MB, free: 14.81 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.005377, allocations: 196.8 kB / 465.8 MB, free: 14.71 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.005606, allocations: 163 kB / 465.9 MB, free: 14.63 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.104e-05/0.005697, allocations: 19.41 kB / 465.9 MB, free: 14.62 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.00584, allocations: 88.44 kB / 466 MB, free: 14.58 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.005955, allocations: 51.83 kB / 466.1 MB, free: 14.57 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.005975, allocations: 11.8 kB / 466.1 MB, free: 14.57 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.006158, allocations: 83.44 kB / 466.2 MB, free: 14.54 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.912e-05/0.006227, allocations: 40.34 kB / 466.2 MB, free: 14.52 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.832e-05/0.006275, allocations: 34.02 kB / 466.3 MB, free: 14.5 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.006542, allocations: 171.6 kB / 466.4 MB, free: 14.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.582e-06/0.006543, allocations: 0 / 466.4 MB, free: 14.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.006544, allocations: 0 / 466.4 MB, free: 14.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.006548, allocations: 1.312 kB / 466.4 MB, free: 14.43 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.0004145/0.006962, allocations: 399.7 kB / 466.8 MB, free: 14.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.00699, allocations: 10.69 kB / 466.8 MB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.007025, allocations: 12.2 kB / 466.8 MB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.007239, allocations: 176 kB / 467 MB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.007253, allocations: 12.25 kB / 467 MB, free: 13.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.007263, allocations: 4.375 kB / 467 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.007368, allocations: 72.34 kB / 467.1 MB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.007374, allocations: 7.938 kB / 467.1 MB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.007381, allocations: 2.875 kB / 467.1 MB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.007395, allocations: 0 / 467.1 MB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.832e-05/0.007423, allocations: 14.05 kB / 467.1 MB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.007662, allocations: 197.8 kB / 467.3 MB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.386e-05/0.007755, allocations: 104.7 kB / 467.4 MB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.007774, allocations: 13.42 kB / 467.4 MB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.007784, allocations: 4.5 kB / 467.4 MB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.755e-05/0.007872, allocations: 74.8 kB / 467.5 MB, free: 13.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.007873, allocations: 0 / 467.5 MB, free: 13.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001154/0.007988, allocations: 74.2 kB / 467.6 MB, free: 13.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.008013, allocations: 52.44 kB / 467.6 MB, free: 13.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.008138, allocations: 220.1 kB / 467.8 MB, free: 13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.008156, allocations: 26.83 kB / 467.9 MB, free: 12.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.008195, allocations: 100.6 kB / 468 MB, free: 12.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.008219, allocations: 27.81 kB / 468 MB, free: 12.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.008254, allocations: 30.44 kB / 468 MB, free: 12.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.679e-05/0.008331, allocations: 326.8 kB / 468.3 MB, free: 12.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.008347, allocations: 12.23 kB / 468.4 MB, free: 12.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.823e-05/0.008386, allocations: 56.2 kB / 468.4 MB, free: 12.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.03e-05/0.008436, allocations: 44.62 kB / 468.5 MB, free: 12.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.008438, allocations: 0 / 468.5 MB, free: 12.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.878e-05/0.008517, allocations: 80.36 kB / 468.5 MB, free: 12.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.008529, allocations: 4.906 kB / 468.5 MB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.008535, allocations: 4 kB / 468.5 MB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.008544, allocations: 0.7188 kB / 468.5 MB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.597e-05/0.008599, allocations: 9.125 kB / 468.5 MB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.008603, allocations: 4.969 kB / 468.6 MB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.485e-05/0.008638, allocations: 7.938 kB / 468.6 MB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.008645, allocations: 7.938 kB / 468.6 MB, free: 12.22 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.182e-05/0.008717, allocations: 121.9 kB / 468.7 MB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.008735, allocations: 17.05 kB / 468.7 MB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.991e-05/0.008835, allocations: 76.78 kB / 468.8 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.008846, allocations: 9.859 kB / 468.8 MB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.008848, allocations: 1.719 kB / 468.8 MB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.008851, allocations: 0 / 468.8 MB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.702e-05/0.008948, allocations: 93.84 kB / 468.9 MB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.008948, allocations: 3.938 kB / 468.9 MB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.231e-05/0.008971, allocations: 11.98 kB / 468.9 MB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.008973, allocations: 1 kB / 468.9 MB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.008981, allocations: 7.938 kB / 468.9 MB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.008983, allocations: 0.6562 kB / 468.9 MB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008984, allocations: 4 kB / 468.9 MB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.751e-05/0.009061, allocations: 93.19 kB / 469 MB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.00908, allocations: 24.39 kB / 469 MB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.009099, allocations: 13.16 kB / 469 MB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.212e-05/0.009121, allocations: 0.8125 kB / 469 MB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.009153, allocations: 9.391 kB / 469 MB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.00916, allocations: 4 kB / 469.1 MB, free: 11.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.707e-05/0.009217, allocations: 76.33 kB / 469.1 MB, free: 11.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009217, allocations: 0.9375 kB / 469.1 MB, free: 11.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001447/0.009362, allocations: 39.88 kB / 469.2 MB, free: 11.58 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.001147/0.01051, allocations: 0.5142 MB / 469.7 MB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.967e-05/0.01061, allocations: 45.5 kB / 469.7 MB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.01061, allocations: 2.281 kB / 469.7 MB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.405e-05/0.01065, allocations: 28.83 kB / 469.8 MB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.01079, allocations: 39.33 kB / 469.8 MB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.01109, allocations: 272.7 kB / 470.1 MB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.589e-05/0.01113, allocations: 76.55 kB / 470.1 MB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.471e-05/0.01117, allocations: 18.08 kB / 470.2 MB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.01125, allocations: 80.83 kB / 470.2 MB, free: 10.8 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01125, allocations: 0 / 470.2 MB, free: 10.8 MB / 426.7 MB Notification: Performance of Templates: time 0.00411/0.01536, allocations: 2.842 MB / 473.1 MB, free: 8.215 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.546442769933492]