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.001358/0.001358, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001577/0.001577, allocations: 173 kB / 23.02 MB, free: 1.547 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.9851/0.9851, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.001654/0.001654, allocations: 233.8 kB / 260.2 MB, free: 12.82 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.7241/0.7241, allocations: 138.4 MB / 455.2 MB, free: 1.52 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 2.144e-06/2.144e-06, allocations: 0 / 0.5551 GB, free: 492 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.527e-05/3.741e-05, allocations: 2.312 kB / 0.5551 GB, free: 488 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.003613/0.003651, allocations: 1.824 MB / 0.5569 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.005822, allocations: 1.232 MB / 0.5581 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.005929, allocations: 7.938 kB / 0.5581 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003597/0.006289, allocations: 63.61 kB / 0.5582 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004002/0.006689, allocations: 119.4 kB / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.007231, allocations: 199.3 kB / 0.5585 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.007478, allocations: 159.6 kB / 0.5586 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.0076, allocations: 13.62 kB / 0.5587 GB, free: 12.84 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.007748, allocations: 95.67 kB / 0.5587 GB, free: 12.75 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.007866, allocations: 63.86 kB / 0.5588 GB, free: 12.68 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.007887, allocations: 4 kB / 0.5588 GB, free: 12.68 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.008072, allocations: 79.86 kB / 0.5589 GB, free: 12.6 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.125e-05/0.008153, allocations: 43.84 kB / 0.5589 GB, free: 12.56 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.346e-05/0.008217, allocations: 35.86 kB / 0.559 GB, free: 12.52 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.008532, allocations: 163.4 kB / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.008534, allocations: 0 / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.008535, allocations: 4 kB / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.00854, allocations: 0 / 0.5591 GB, free: 12.36 MB / 490.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.0007157/0.009256, allocations: 0.5206 MB / 0.5596 GB, free: 11.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.009302, allocations: 8.75 kB / 0.5596 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.934e-05/0.009382, allocations: 24.83 kB / 0.5597 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.009663, allocations: 192.2 kB / 0.5598 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.00969, allocations: 8.375 kB / 0.5599 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.009705, allocations: 4.375 kB / 0.5599 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.009897, allocations: 74.86 kB / 0.5599 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.009908, allocations: 3.938 kB / 0.5599 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.009924, allocations: 4 kB / 0.5599 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/0.009951, allocations: 0 / 0.5599 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.437e-05/0.01002, allocations: 19.98 kB / 0.56 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.01053, allocations: 343.5 kB / 0.5603 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.0107, allocations: 67.11 kB / 0.5603 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.825e-05/0.01075, allocations: 23.67 kB / 0.5604 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.01076, allocations: 4 kB / 0.5604 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.0109, allocations: 69.08 kB / 0.5604 GB, free: 10.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.903e-06/0.0109, allocations: 4 kB / 0.5604 GB, free: 10.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002832/0.01118, allocations: 109.5 kB / 0.5605 GB, free: 10.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.01122, allocations: 51.41 kB / 0.5606 GB, free: 10.69 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.01148, allocations: 285.7 kB / 0.5609 GB, free: 10.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.0115, allocations: 29.7 kB / 0.5609 GB, free: 10.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.695e-05/0.0116, allocations: 166.9 kB / 0.5611 GB, free: 10.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.01163, allocations: 19.86 kB / 0.5611 GB, free: 10.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.01169, allocations: 39.3 kB / 0.5611 GB, free: 10.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.01186, allocations: 0.5001 MB / 0.5616 GB, free: 9.609 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.933e-05/0.0119, allocations: 11.98 kB / 0.5616 GB, free: 9.598 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.658e-05/0.01197, allocations: 72.69 kB / 0.5617 GB, free: 9.508 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.621e-05/0.01206, allocations: 51.3 kB / 0.5617 GB, free: 9.449 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01206, allocations: 0 / 0.5617 GB, free: 9.449 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001652/0.01223, allocations: 97.58 kB / 0.5618 GB, free: 9.348 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.01224, allocations: 4 kB / 0.5618 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.01225, allocations: 0 / 0.5618 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.01226, allocations: 0 / 0.5618 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.974e-05/0.01236, allocations: 19.98 kB / 0.5618 GB, free: 9.324 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.01237, allocations: 0 / 0.5618 GB, free: 9.324 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.366e-05/0.01242, allocations: 7.938 kB / 0.5619 GB, free: 9.316 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.01243, allocations: 4 kB / 0.5619 GB, free: 9.312 MB / 490.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 0.0001057/0.01254, allocations: 168.5 kB / 0.562 GB, free: 9.137 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.01257, allocations: 23.84 kB / 0.562 GB, free: 9.113 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.01277, allocations: 99.52 kB / 0.5621 GB, free: 9.012 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.01278, allocations: 4 kB / 0.5621 GB, free: 9.008 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.01279, allocations: 4 kB / 0.5621 GB, free: 9.004 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01279, allocations: 0 / 0.5621 GB, free: 9.004 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.01298, allocations: 176.5 kB / 0.5623 GB, free: 8.797 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01298, allocations: 0 / 0.5623 GB, free: 8.797 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.541e-05/0.01302, allocations: 15.98 kB / 0.5623 GB, free: 8.781 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.01303, allocations: 0 / 0.5623 GB, free: 8.781 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.01304, allocations: 0 / 0.5623 GB, free: 8.781 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.01304, allocations: 0 / 0.5623 GB, free: 8.781 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01304, allocations: 0 / 0.5623 GB, free: 8.781 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.01323, allocations: 148.3 kB / 0.5625 GB, free: 8.613 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.01327, allocations: 23.84 kB / 0.5625 GB, free: 8.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.01329, allocations: 4 kB / 0.5625 GB, free: 8.586 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.977e-05/0.01333, allocations: 0 / 0.5625 GB, free: 8.586 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.0134, allocations: 11.98 kB / 0.5625 GB, free: 8.574 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.01341, allocations: 4 kB / 0.5625 GB, free: 8.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000154/0.01356, allocations: 191.1 kB / 0.5627 GB, free: 8.383 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01356, allocations: 0 / 0.5627 GB, free: 8.383 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002759/0.01384, allocations: 31.94 kB / 0.5627 GB, free: 8.352 MB / 490.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.001212/0.01505, allocations: 410.9 kB / 0.5631 GB, free: 8.086 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.01524, allocations: 59.58 kB / 0.5632 GB, free: 8.023 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01524, allocations: 4.062 kB / 0.5632 GB, free: 8.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.095e-05/0.0153, allocations: 31.67 kB / 0.5632 GB, free: 7.984 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.01559, allocations: 43.3 kB / 0.5632 GB, free: 7.945 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/0.0161, allocations: 273.4 kB / 0.5635 GB, free: 7.656 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.03e-05/0.01616, allocations: 75.83 kB / 0.5636 GB, free: 7.562 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.951e-05/0.01623, allocations: 21.78 kB / 0.5636 GB, free: 7.539 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.01628, allocations: 20.48 kB / 0.5636 GB, free: 7.52 MB / 490.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01628, allocations: 8 kB / 0.5636 GB, free: 7.512 MB / 490.7 MB Notification: Performance of Templates: time 0.005083/0.02136, allocations: 2.814 MB / 0.5664 GB, free: 4.73 MB / 490.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.7617364660836756]