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.001242/0.001242, allocations: 78.27 kB / 19.02 MB, free: 2.723 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.001307/0.001307, allocations: 163 kB / 22.26 MB, free: 4.711 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.334/1.334, allocations: 177.2 MB / 202.6 MB, free: 9.277 MB / 190.1 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.002314/0.002314, allocations: 232.7 kB / 259.2 MB, free: 0.5938 MB / 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.004/1.004, allocations: 138.5 MB / 454.2 MB, free: 2.047 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003012/0.003012, allocations: 107.8 kB / 0.6466 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3538, allocations: 95.34 MB / 0.7397 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.00309/0.3569, allocations: 1.786 MB / 0.7415 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001968/0.3589, allocations: 1.182 MB / 0.7426 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.745e-05/0.359, allocations: 3.938 kB / 0.7426 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.3593, allocations: 59.73 kB / 0.7427 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003187/0.3596, allocations: 123.5 kB / 0.7428 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.3601, allocations: 203.2 kB / 0.743 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.3603, allocations: 151.6 kB / 0.7431 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.905e-05/0.3604, allocations: 17.61 kB / 0.7431 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.3605, allocations: 91.69 kB / 0.7432 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.3607, allocations: 71.69 kB / 0.7433 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.3607, allocations: 8 kB / 0.7433 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.3608, allocations: 79.92 kB / 0.7434 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.141e-05/0.3609, allocations: 47.83 kB / 0.7434 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.861e-05/0.361, allocations: 43.67 kB / 0.7435 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.3613, allocations: 212.6 kB / 0.7437 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3613, allocations: 0 / 0.7437 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3613, allocations: 0 / 0.7437 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3613, allocations: 0 / 0.7437 GB, free: 10.97 MB / 0.5762 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.0006554/0.362, allocations: 426.9 kB / 0.7441 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.362, allocations: 13.34 kB / 0.7441 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.3621, allocations: 16.84 kB / 0.7441 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.3624, allocations: 214 kB / 0.7443 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3625, allocations: 384 / 0.7443 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.3625, allocations: 8.125 kB / 0.7443 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.3627, allocations: 121 kB / 0.7444 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3627, allocations: 0 / 0.7444 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3627, allocations: 0 / 0.7444 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.3627, allocations: 7.938 kB / 0.7444 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.3628, allocations: 27.98 kB / 0.7445 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.3633, allocations: 304.4 kB / 0.7448 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.3635, allocations: 90.69 kB / 0.7448 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.801e-05/0.3636, allocations: 32.84 kB / 0.7449 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.3636, allocations: 3.984 kB / 0.7449 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.3638, allocations: 83.36 kB / 0.745 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.3638, allocations: 4 kB / 0.745 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.00036/0.3642, allocations: 145.4 kB / 0.7451 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.3642, allocations: 93.03 kB / 0.7452 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.3645, allocations: 271.2 kB / 0.7455 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3646, allocations: 25.7 kB / 0.7455 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.405e-05/0.3646, allocations: 120.1 kB / 0.7456 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.3647, allocations: 19.86 kB / 0.7456 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.3647, allocations: 25.7 kB / 0.7456 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.3649, allocations: 334.8 kB / 0.746 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.3649, allocations: 23.98 kB / 0.746 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.3651, allocations: 118.8 kB / 0.7461 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.3652, allocations: 73.67 kB / 0.7462 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3652, allocations: 0 / 0.7462 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002377/0.3655, allocations: 121.5 kB / 0.7463 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3655, allocations: 8 kB / 0.7463 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3655, allocations: 0 / 0.7463 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3655, allocations: 0 / 0.7463 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.557e-05/0.3656, allocations: 15.98 kB / 0.7463 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3656, allocations: 0 / 0.7463 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.788e-05/0.3657, allocations: 15.89 kB / 0.7463 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.3657, allocations: 192 / 0.7463 GB, free: 8.039 MB / 0.5762 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.0001432/0.3658, allocations: 152.1 kB / 0.7465 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.3659, allocations: 19.84 kB / 0.7465 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.3661, allocations: 127 kB / 0.7466 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.3661, allocations: 4 kB / 0.7466 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3661, allocations: 0 / 0.7466 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3661, allocations: 0 / 0.7466 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.3663, allocations: 165.2 kB / 0.7468 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3663, allocations: 4 kB / 0.7468 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.954e-05/0.3664, allocations: 11.98 kB / 0.7468 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3664, allocations: 4 kB / 0.7468 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3664, allocations: 4 kB / 0.7468 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3664, allocations: 0 / 0.7468 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3664, allocations: 3.938 kB / 0.7468 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.3667, allocations: 160.8 kB / 0.7469 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/0.3667, allocations: 15.91 kB / 0.747 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.3667, allocations: 7.984 kB / 0.747 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.191e-05/0.3668, allocations: 0 / 0.747 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.3668, allocations: 11.98 kB / 0.747 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.3668, allocations: 4 kB / 0.747 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001943/0.367, allocations: 203.2 kB / 0.7472 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.367, allocations: 7.938 kB / 0.7472 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002386/0.3673, allocations: 31.94 kB / 0.7472 GB, free: 7.055 MB / 0.5762 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.001551/0.3688, allocations: 452.8 kB / 0.7476 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.369, allocations: 79.83 kB / 0.7477 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3691, allocations: 0 / 0.7477 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.483e-05/0.3691, allocations: 35.98 kB / 0.7478 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.3695, allocations: 40.64 kB / 0.7478 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005687/0.37, allocations: 306.8 kB / 0.7481 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.3701, allocations: 118.7 kB / 0.7482 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.922e-05/0.3702, allocations: 21.42 kB / 0.7482 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.3703, allocations: 28.48 kB / 0.7482 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of SimCode: time 3.9e-07/0.3703, allocations: 4 kB / 0.7483 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of Templates: time 0.008093/0.3784, allocations: 2.675 MB / 0.7509 GB, free: 3.504 MB / 0.5762 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.578504364937544] Failed to read output from testmodel.py, exit status != 0: 0.38761227019131184 0.40358860799999996 0.038723061 Calling exit ...