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.001381/0.001381, allocations: 93.06 kB / 19.65 MB, free: 280 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.001255/0.001255, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.023/1.023, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.005235/0.005235, allocations: 237.4 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.8423/0.8423, allocations: 138.4 MB / 455.2 MB, free: 30.1 MB / 410.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.703e-06/1.703e-06, allocations: 0 / 0.5551 GB, free: 136 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.883e-05, allocations: 6.312 kB / 0.5551 GB, free: 128 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.004028/0.004057, allocations: 1.832 MB / 0.5569 GB, free: 14.28 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.006375, allocations: 1.224 MB / 0.5581 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.006496, allocations: 3.938 kB / 0.5581 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003577/0.006854, allocations: 59.61 kB / 0.5581 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004344/0.007288, allocations: 131.4 kB / 0.5583 GB, free: 12.85 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006332/0.007922, allocations: 199.2 kB / 0.5585 GB, free: 12.66 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.008203, allocations: 163.6 kB / 0.5586 GB, free: 12.5 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.008325, allocations: 17.56 kB / 0.5586 GB, free: 12.48 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.008506, allocations: 91.72 kB / 0.5587 GB, free: 12.39 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.008637, allocations: 55.88 kB / 0.5588 GB, free: 12.33 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.008664, allocations: 8 kB / 0.5588 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.008861, allocations: 83.8 kB / 0.5589 GB, free: 12.24 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.886e-05/0.00895, allocations: 47.83 kB / 0.5589 GB, free: 12.2 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.136e-05/0.009011, allocations: 27.88 kB / 0.5589 GB, free: 12.17 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.009352, allocations: 167.5 kB / 0.5591 GB, free: 12 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.009356, allocations: 3.938 kB / 0.5591 GB, free: 12 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.302e-06/0.009362, allocations: 0 / 0.5591 GB, free: 12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.009369, allocations: 0 / 0.5591 GB, free: 12 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.0007267/0.0101, allocations: 0.5284 MB / 0.5596 GB, free: 11.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.01014, allocations: 9.938 kB / 0.5596 GB, free: 11.42 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.111e-05/0.01021, allocations: 20.84 kB / 0.5596 GB, free: 11.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.01051, allocations: 185 kB / 0.5598 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.01053, allocations: 4.375 kB / 0.5598 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.01056, allocations: 12.38 kB / 0.5598 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.01078, allocations: 123.9 kB / 0.56 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.0108, allocations: 3.938 kB / 0.56 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.01081, allocations: 7.984 kB / 0.56 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.01083, allocations: 0 / 0.56 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.141e-05/0.0109, allocations: 19.98 kB / 0.56 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005081/0.01141, allocations: 339.6 kB / 0.5603 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.01154, allocations: 67.09 kB / 0.5604 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.01157, allocations: 15.69 kB / 0.5604 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.01159, allocations: 11.98 kB / 0.5604 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/0.01169, allocations: 81.06 kB / 0.5605 GB, free: 10.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 2.745e-06/0.0117, allocations: 3.984 kB / 0.5605 GB, free: 10.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002072/0.0119, allocations: 97.58 kB / 0.5606 GB, free: 10.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.01194, allocations: 85.09 kB / 0.5607 GB, free: 10.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.01212, allocations: 277.8 kB / 0.5609 GB, free: 9.938 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.01213, allocations: 25.7 kB / 0.5609 GB, free: 9.906 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.01221, allocations: 178.8 kB / 0.5611 GB, free: 9.727 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.381e-05/0.01223, allocations: 15.84 kB / 0.5611 GB, free: 9.711 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.01228, allocations: 43.34 kB / 0.5612 GB, free: 9.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.01241, allocations: 0.5001 MB / 0.5617 GB, free: 9.148 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.01244, allocations: 11.98 kB / 0.5617 GB, free: 9.137 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-05/0.0125, allocations: 110.1 kB / 0.5618 GB, free: 9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.266e-05/0.01256, allocations: 47.31 kB / 0.5618 GB, free: 8.945 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01257, allocations: 0 / 0.5618 GB, free: 8.945 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001175/0.01268, allocations: 97.41 kB / 0.5619 GB, free: 8.844 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.0127, allocations: 10.66 kB / 0.5619 GB, free: 8.836 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.0127, allocations: 64 / 0.5619 GB, free: 8.836 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.01272, allocations: 4 kB / 0.5619 GB, free: 8.832 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.58e-05/0.01279, allocations: 15.94 kB / 0.5619 GB, free: 8.816 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.0128, allocations: 3.984 kB / 0.5619 GB, free: 8.812 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.51e-05/0.01283, allocations: 7.938 kB / 0.562 GB, free: 8.805 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.01284, allocations: 4 kB / 0.562 GB, free: 8.801 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 8.397e-05/0.01293, allocations: 166.4 kB / 0.5621 GB, free: 8.629 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.01295, allocations: 19.91 kB / 0.5621 GB, free: 8.609 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.01311, allocations: 103.4 kB / 0.5622 GB, free: 8.504 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.01312, allocations: 8 kB / 0.5622 GB, free: 8.496 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01312, allocations: 0 / 0.5622 GB, free: 8.496 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01313, allocations: 3.984 kB / 0.5622 GB, free: 8.492 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.0133, allocations: 176.5 kB / 0.5624 GB, free: 8.285 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.0133, allocations: 0 / 0.5624 GB, free: 8.285 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.471e-05/0.01333, allocations: 11.98 kB / 0.5624 GB, free: 8.273 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01334, allocations: 0 / 0.5624 GB, free: 8.273 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.01335, allocations: 4 kB / 0.5624 GB, free: 8.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.01335, allocations: 80 / 0.5624 GB, free: 8.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.01335, allocations: 3.984 kB / 0.5624 GB, free: 8.266 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.01355, allocations: 140.2 kB / 0.5626 GB, free: 8.105 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.364e-05/0.01358, allocations: 23.84 kB / 0.5626 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.0136, allocations: 7.969 kB / 0.5626 GB, free: 8.074 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.853e-05/0.01363, allocations: 8 kB / 0.5626 GB, free: 8.066 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.01367, allocations: 3.984 kB / 0.5626 GB, free: 8.062 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.01368, allocations: 4 kB / 0.5626 GB, free: 8.059 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.01378, allocations: 195.1 kB / 0.5628 GB, free: 7.867 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01378, allocations: 0 / 0.5628 GB, free: 7.867 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001774/0.01396, allocations: 32 kB / 0.5628 GB, free: 7.836 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.001045/0.015, allocations: 409 kB / 0.5632 GB, free: 7.586 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001526/0.01515, allocations: 51.59 kB / 0.5633 GB, free: 7.531 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01516, allocations: 0 / 0.5633 GB, free: 7.531 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.939e-05/0.01521, allocations: 39.61 kB / 0.5633 GB, free: 7.488 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.01542, allocations: 54.12 kB / 0.5634 GB, free: 7.438 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/0.01585, allocations: 261.8 kB / 0.5636 GB, free: 7.156 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.862e-05/0.0159, allocations: 79.83 kB / 0.5637 GB, free: 7.059 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.833e-05/0.01594, allocations: 21.78 kB / 0.5637 GB, free: 7.039 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.016, allocations: 20.48 kB / 0.5637 GB, free: 7.02 MB / 490.7 MB Notification: Performance of SimCode: time 8.62e-07/0.016, allocations: 0 / 0.5637 GB, free: 7.02 MB / 490.7 MB Notification: Performance of Templates: time 0.005109/0.02111, allocations: 2.705 MB / 0.5664 GB, free: 4.371 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: 4.031221447978169]