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.001193/0.001193, allocations: 108.5 kB / 16.41 MB, free: 6.465 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.001173/0.001173, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.00209, allocations: 291.1 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8963/0.8963, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 92.08 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3496, allocations: 86.97 MB / 0.7671 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.002714/0.3523, allocations: 1.774 MB / 0.7688 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001506/0.3538, allocations: 1.098 MB / 0.7699 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.387e-05/0.3539, allocations: 7.938 kB / 0.7699 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.3542, allocations: 59.67 kB / 0.7699 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.3544, allocations: 79.67 kB / 0.77 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.355, allocations: 226.4 kB / 0.7702 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.3552, allocations: 139.6 kB / 0.7703 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.3553, allocations: 29.11 kB / 0.7704 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.161e-05/0.3554, allocations: 59.77 kB / 0.7704 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.3555, allocations: 71.69 kB / 0.7705 GB, free: 436 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.3555, allocations: 8 kB / 0.7705 GB, free: 428 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.3557, allocations: 71.94 kB / 0.7706 GB, free: 356 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.553e-05/0.3557, allocations: 39.84 kB / 0.7706 GB, free: 316 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.623e-05/0.3558, allocations: 59.66 kB / 0.7707 GB, free: 256 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.3561, allocations: 199.1 kB / 0.7709 GB, free: 60 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3561, allocations: 4 kB / 0.7709 GB, free: 56 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3561, allocations: 0 / 0.7709 GB, free: 56 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.3561, allocations: 0 / 0.7709 GB, free: 56 kB / 0.5294 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.0005976/0.3567, allocations: 494.8 kB / 0.7713 GB, free: 15.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.3567, allocations: 8.031 kB / 0.7713 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.479e-05/0.3568, allocations: 20.73 kB / 0.7714 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.3571, allocations: 248.8 kB / 0.7716 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3571, allocations: 4.375 kB / 0.7716 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.3571, allocations: 12.12 kB / 0.7716 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.3573, allocations: 92.22 kB / 0.7717 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.3574, allocations: 3.984 kB / 0.7717 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.3574, allocations: 4 kB / 0.7717 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.3574, allocations: 7.938 kB / 0.7717 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.3575, allocations: 31.92 kB / 0.7718 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.358, allocations: 356.7 kB / 0.7721 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.3582, allocations: 94.67 kB / 0.7722 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.258e-05/0.3583, allocations: 32.84 kB / 0.7722 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.3583, allocations: 0 / 0.7722 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.3585, allocations: 87.38 kB / 0.7723 GB, free: 14.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.834e-06/0.3585, allocations: 0 / 0.7723 GB, free: 14.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003472/0.3588, allocations: 141.4 kB / 0.7724 GB, free: 14.26 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.3589, allocations: 106.8 kB / 0.7725 GB, free: 14.13 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.3591, allocations: 259.7 kB / 0.7728 GB, free: 13.87 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.3592, allocations: 33.7 kB / 0.7728 GB, free: 13.83 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.3593, allocations: 116 kB / 0.7729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.3593, allocations: 15.75 kB / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.3593, allocations: 33.7 kB / 0.773 GB, free: 13.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3594, allocations: 334.7 kB / 0.7733 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.139e-05/0.3595, allocations: 23.98 kB / 0.7733 GB, free: 13.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.86e-05/0.3596, allocations: 72.27 kB / 0.7734 GB, free: 13.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.3598, allocations: 73.62 kB / 0.7735 GB, free: 13.14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3598, allocations: 4 kB / 0.7735 GB, free: 13.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002138/0.36, allocations: 109.4 kB / 0.7736 GB, free: 13.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.36, allocations: 11.98 kB / 0.7736 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.36, allocations: 0 / 0.7736 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.3601, allocations: 0 / 0.7736 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.3e-05/0.3602, allocations: 12 kB / 0.7736 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3602, allocations: 400 / 0.7736 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.954e-05/0.3603, allocations: 7.984 kB / 0.7736 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3603, allocations: 7.938 kB / 0.7736 GB, free: 12.98 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.0001181/0.3604, allocations: 143.7 kB / 0.7737 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.3604, allocations: 19.81 kB / 0.7738 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.15e-05/0.3605, allocations: 17.41 kB / 0.7738 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3605, allocations: 3.984 kB / 0.7738 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3605, allocations: 0 / 0.7738 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.3606, allocations: 96.86 kB / 0.7739 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.3606, allocations: 7.938 kB / 0.7739 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.555e-05/0.3607, allocations: 0 / 0.7739 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.3607, allocations: 16.11 kB / 0.7739 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002403/0.361, allocations: 188.9 kB / 0.7741 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002671/0.3612, allocations: 294.5 kB / 0.7744 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.142e-05/0.3613, allocations: 43.89 kB / 0.7744 GB, free: 12.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001564/0.3615, allocations: 192.6 kB / 0.7746 GB, free: 11.93 MB / 0.545 GB Notification: Performance of Backend: time 3.6e-07/0.3615, allocations: 0 / 0.7746 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001246/0.3628, allocations: 451.9 kB / 0.775 GB, free: 11.64 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006737/0.3634, allocations: 0.7428 MB / 0.7757 GB, free: 10.86 MB / 0.545 GB Notification: Performance of Templates: time 0.005297/0.3687, allocations: 2.597 MB / 0.7783 GB, free: 8.301 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)