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.001311/0.001311, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001441/0.001441, allocations: 159.1 kB / 22.45 MB, free: 5.375 MB / 14.72 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.451/1.451, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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.002506/0.002506, allocations: 244.8 kB / 259.4 MB, free: 456 kB / 238.1 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 1.072/1.072, allocations: 138.4 MB / 454.3 MB, free: 1.992 MB / 366.1 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.302e-06/1.302e-06, allocations: 0 / 0.6468 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.453e-05, allocations: 2.281 kB / 0.6468 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.003259/0.003283, allocations: 1.789 MB / 0.6485 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002222/0.005505, allocations: 1.197 MB / 0.6497 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.005621, allocations: 4 kB / 0.6497 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.005956, allocations: 51.73 kB / 0.6498 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003893/0.006345, allocations: 127.3 kB / 0.6499 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000637/0.006983, allocations: 198.6 kB / 0.6501 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000277/0.00726, allocations: 167.5 kB / 0.6502 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.007359, allocations: 13.58 kB / 0.6503 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.007526, allocations: 87.8 kB / 0.6503 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.007656, allocations: 63.8 kB / 0.6504 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.007682, allocations: 8 kB / 0.6504 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.007873, allocations: 79.86 kB / 0.6505 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.331e-05/0.007946, allocations: 39.86 kB / 0.6505 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.008011, allocations: 35.84 kB / 0.6506 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.008377, allocations: 219.3 kB / 0.6508 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.00838, allocations: 0 / 0.6508 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.12e-07/0.008381, allocations: 0 / 0.6508 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.008386, allocations: 0 / 0.6508 GB, free: 0.9023 MB / 0.5606 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.000707/0.009093, allocations: 426.9 kB / 0.6512 GB, free: 460 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.009126, allocations: 9.344 kB / 0.6512 GB, free: 452 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.073e-05/0.009187, allocations: 16.84 kB / 0.6512 GB, free: 436 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.009531, allocations: 193.4 kB / 0.6514 GB, free: 216 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.009549, allocations: 12.36 kB / 0.6514 GB, free: 204 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.009562, allocations: 4.312 kB / 0.6514 GB, free: 200 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.009795, allocations: 117.6 kB / 0.6515 GB, free: 64 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.009806, allocations: 3.938 kB / 0.6515 GB, free: 60 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.009818, allocations: 7.938 kB / 0.6515 GB, free: 52 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.009829, allocations: 0 / 0.6515 GB, free: 52 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.009945, allocations: 43.91 kB / 0.6516 GB, free: 8 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2537/0.2637, allocations: 281.6 kB / 0.6518 GB, free: 56.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.2639, allocations: 91.5 kB / 0.6519 GB, free: 56.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.271e-05/0.264, allocations: 31.14 kB / 0.6519 GB, free: 56.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.264, allocations: 0.5312 kB / 0.6519 GB, free: 56.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.2642, allocations: 86.2 kB / 0.652 GB, free: 56.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 2.374e-06/0.2642, allocations: 0 / 0.652 GB, free: 56.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003439/0.2645, allocations: 148.8 kB / 0.6522 GB, free: 56.69 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.2645, allocations: 78.3 kB / 0.6522 GB, free: 56.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.2648, allocations: 274 kB / 0.6525 GB, free: 56.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.2648, allocations: 29.25 kB / 0.6525 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.2648, allocations: 120.5 kB / 0.6526 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.2649, allocations: 28.42 kB / 0.6527 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.2649, allocations: 29.69 kB / 0.6527 GB, free: 56.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.2649, allocations: 326 kB / 0.653 GB, free: 56.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.74e-05/0.265, allocations: 27.98 kB / 0.653 GB, free: 56.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.843e-05/0.2651, allocations: 119.2 kB / 0.6532 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.2652, allocations: 72.38 kB / 0.6532 GB, free: 55.94 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2652, allocations: 0 / 0.6532 GB, free: 55.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001891/0.2654, allocations: 124.1 kB / 0.6533 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.2654, allocations: 3.594 kB / 0.6533 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2654, allocations: 3.281 kB / 0.6533 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2655, allocations: 0 / 0.6533 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.185e-05/0.2655, allocations: 11.66 kB / 0.6534 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2656, allocations: 3.625 kB / 0.6534 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.2656, allocations: 16.67 kB / 0.6534 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.2656, allocations: 2.969 kB / 0.6534 GB, free: 55.89 MB / 0.5606 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 ($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 8.695e-05/0.2657, allocations: 140.9 kB / 0.6535 GB, free: 55.78 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.2657, allocations: 22.5 kB / 0.6535 GB, free: 55.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.266, allocations: 128.6 kB / 0.6537 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.266, allocations: 5.125 kB / 0.6537 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.266, allocations: 0.6875 kB / 0.6537 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.266, allocations: 4.047 kB / 0.6537 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.2661, allocations: 165.7 kB / 0.6538 GB, free: 55.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2661, allocations: 1.031 kB / 0.6538 GB, free: 55.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.2662, allocations: 3.656 kB / 0.6538 GB, free: 55.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2662, allocations: 9.406 kB / 0.6538 GB, free: 55.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.2662, allocations: 4.5 kB / 0.6538 GB, free: 55.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2662, allocations: 0.6562 kB / 0.6538 GB, free: 55.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2662, allocations: 0 / 0.6538 GB, free: 55.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.2664, allocations: 160.3 kB / 0.654 GB, free: 55.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.742e-05/0.2664, allocations: 14.2 kB / 0.654 GB, free: 55.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.2665, allocations: 11 kB / 0.654 GB, free: 55.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.732e-05/0.2665, allocations: 6.938 kB / 0.654 GB, free: 55.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.2666, allocations: 10.22 kB / 0.654 GB, free: 55.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.2666, allocations: 0.6875 kB / 0.654 GB, free: 55.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001393/0.2667, allocations: 213 kB / 0.6542 GB, free: 55.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2667, allocations: 1.312 kB / 0.6542 GB, free: 55.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002497/0.267, allocations: 32.7 kB / 0.6543 GB, free: 55.44 MB / 0.5606 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.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.001625/0.2686, allocations: 467.7 kB / 0.6547 GB, free: 55.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.2688, allocations: 68.02 kB / 0.6548 GB, free: 55.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2688, allocations: 0 / 0.6548 GB, free: 55.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/0.2689, allocations: 40.95 kB / 0.6548 GB, free: 55.31 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.2692, allocations: 44.14 kB / 0.6549 GB, free: 55.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004461/0.2696, allocations: 306.7 kB / 0.6552 GB, free: 55.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.806e-05/0.2697, allocations: 114.2 kB / 0.6553 GB, free: 55.03 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.225e-05/0.2697, allocations: 37.19 kB / 0.6553 GB, free: 55.03 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.2698, allocations: 23.16 kB / 0.6553 GB, free: 55.02 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.2698, allocations: 3.938 kB / 0.6553 GB, free: 55.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.005493/0.2753, allocations: 2.671 MB / 0.6579 GB, free: 54.75 MB / 0.5606 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.748438697308302] Failed to read output from testmodel.py, exit status != 0: 0.2831612154841423 0.29243881 0.281857474 Calling exit ...