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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 114.6 kB / 16.42 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 185.7 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 285.7 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8907/0.8907, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 99.84 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3589, allocations: 86.99 MB / 0.7671 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.002725/0.3616, allocations: 1.755 MB / 0.7688 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.3633, allocations: 1.105 MB / 0.7699 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.874e-05/0.3633, allocations: 3.938 kB / 0.7699 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.3637, allocations: 59.73 kB / 0.7699 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.3639, allocations: 71.67 kB / 0.77 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005502/0.3644, allocations: 232.2 kB / 0.7702 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.3647, allocations: 147.6 kB / 0.7704 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3648, allocations: 21.11 kB / 0.7704 GB, free: 484 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.3649, allocations: 67.7 kB / 0.7704 GB, free: 416 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.365, allocations: 67.69 kB / 0.7705 GB, free: 348 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.365, allocations: 8 kB / 0.7705 GB, free: 340 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.3652, allocations: 75.94 kB / 0.7706 GB, free: 264 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.726e-05/0.3653, allocations: 35.91 kB / 0.7706 GB, free: 228 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.3654, allocations: 59.61 kB / 0.7707 GB, free: 168 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.3656, allocations: 199.1 kB / 0.7709 GB, free: 15.97 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3656, allocations: 3.938 kB / 0.7709 GB, free: 15.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3656, allocations: 0 / 0.7709 GB, free: 15.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3657, allocations: 0 / 0.7709 GB, free: 15.96 MB / 0.545 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.000593/0.3663, allocations: 498.8 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.3663, allocations: 12.03 kB / 0.7714 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.178e-05/0.3664, allocations: 16.75 kB / 0.7714 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.3666, allocations: 252.8 kB / 0.7716 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.3667, allocations: 4.375 kB / 0.7716 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.3667, allocations: 8.125 kB / 0.7716 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.3669, allocations: 100.2 kB / 0.7717 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.3669, allocations: 0 / 0.7717 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.3669, allocations: 8 kB / 0.7717 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.3669, allocations: 0 / 0.7717 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.3671, allocations: 39.92 kB / 0.7718 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.3675, allocations: 348.7 kB / 0.7721 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.3677, allocations: 90.69 kB / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.958e-05/0.3678, allocations: 36.84 kB / 0.7722 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.3679, allocations: 0 / 0.7722 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.368, allocations: 83.38 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/0.368, allocations: 0 / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.000345/0.3684, allocations: 145.6 kB / 0.7724 GB, free: 14.17 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.3685, allocations: 106.8 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.3687, allocations: 263.7 kB / 0.7728 GB, free: 13.78 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.3687, allocations: 33.7 kB / 0.7728 GB, free: 13.74 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/0.3688, allocations: 116 kB / 0.7729 GB, free: 13.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.3688, allocations: 19.75 kB / 0.773 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.3689, allocations: 25.7 kB / 0.773 GB, free: 13.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.369, allocations: 330.8 kB / 0.7733 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.988e-05/0.3691, allocations: 27.98 kB / 0.7733 GB, free: 13.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.407e-05/0.3692, allocations: 76.2 kB / 0.7734 GB, free: 13.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.3693, allocations: 73.62 kB / 0.7735 GB, free: 13.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3693, allocations: 0 / 0.7735 GB, free: 13.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002059/0.3696, allocations: 113.5 kB / 0.7736 GB, free: 12.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3696, allocations: 4 kB / 0.7736 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3696, allocations: 3.938 kB / 0.7736 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.3696, allocations: 32 / 0.7736 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.308e-05/0.3697, allocations: 16 kB / 0.7736 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3697, allocations: 0 / 0.7736 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.182e-05/0.3698, allocations: 11.92 kB / 0.7736 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.3698, allocations: 7.938 kB / 0.7736 GB, free: 12.88 MB / 0.545 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 0.0001062/0.3699, allocations: 137.8 kB / 0.7737 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.3699, allocations: 15.81 kB / 0.7738 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.37, allocations: 21.39 kB / 0.7738 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.37, allocations: 0 / 0.7738 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.37, allocations: 8 kB / 0.7738 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.3701, allocations: 96.86 kB / 0.7739 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.3701, allocations: 7.938 kB / 0.7739 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.748e-05/0.3702, allocations: 7.984 kB / 0.7739 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.3702, allocations: 8 kB / 0.7739 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002427/0.3705, allocations: 184.9 kB / 0.7741 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002673/0.3707, allocations: 290.5 kB / 0.7744 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.849e-05/0.3708, allocations: 39.95 kB / 0.7744 GB, free: 12.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001611/0.371, allocations: 192.6 kB / 0.7746 GB, free: 11.84 MB / 0.545 GB Notification: Performance of Backend: time 2.4e-07/0.371, allocations: 3.938 kB / 0.7746 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.3722, allocations: 451.5 kB / 0.775 GB, free: 11.55 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006426/0.3729, allocations: 0.7392 MB / 0.7757 GB, free: 10.77 MB / 0.545 GB Notification: Performance of Templates: time 0.005161/0.3781, allocations: 2.595 MB / 0.7783 GB, free: 8.207 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.makefile (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)