Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.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.001424/0.001424, allocations: 84.73 kB / 19.44 MB, free: 348 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.001567/0.001567, allocations: 157.7 kB / 22.75 MB, free: 1.676 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.455/1.455, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.002638/0.002638, allocations: 235 kB / 259.8 MB, free: 12.84 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 1.099/1.099, allocations: 138.4 MB / 454.7 MB, free: 1.418 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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.5543 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/2.967e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.793 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003757/0.003787, allocations: 1.792 MB / 0.5561 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.006083, allocations: 1.119 MB / 0.5572 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.006191, allocations: 0 / 0.5572 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000713/0.006904, allocations: 175.4 kB / 0.5573 GB, free: 13.69 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005002/0.007404, allocations: 159.3 kB / 0.5575 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.007851, allocations: 143.5 kB / 0.5576 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.008149, allocations: 179.4 kB / 0.5578 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.642e-05/0.008246, allocations: 13.31 kB / 0.5578 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.008432, allocations: 99.66 kB / 0.5579 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.008571, allocations: 63.86 kB / 0.558 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.008598, allocations: 12 kB / 0.558 GB, free: 13.03 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.008792, allocations: 71.88 kB / 0.558 GB, free: 12.96 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.86e-05/0.008881, allocations: 43.84 kB / 0.5581 GB, free: 12.92 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.107e-05/0.008952, allocations: 35.86 kB / 0.5581 GB, free: 12.88 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.009329, allocations: 203.3 kB / 0.5583 GB, free: 12.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.009332, allocations: 0 / 0.5583 GB, free: 12.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.496e-06/0.009336, allocations: 3.984 kB / 0.5583 GB, free: 12.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.009341, allocations: 0 / 0.5583 GB, free: 12.68 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009133/0.01025, allocations: 434.8 kB / 0.5587 GB, free: 12.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.01029, allocations: 8.75 kB / 0.5587 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.58e-05/0.01038, allocations: 28.8 kB / 0.5588 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.01074, allocations: 198.4 kB / 0.559 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.01076, allocations: 4.375 kB / 0.559 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.01077, allocations: 4.375 kB / 0.559 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.01097, allocations: 74.22 kB / 0.559 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.01099, allocations: 3.938 kB / 0.559 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.011, allocations: 0 / 0.559 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.01102, allocations: 4 kB / 0.559 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.01114, allocations: 39.92 kB / 0.5591 GB, free: 11.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.01172, allocations: 288.4 kB / 0.5594 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.01196, allocations: 82.55 kB / 0.5594 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.472e-05/0.01204, allocations: 32.84 kB / 0.5595 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.01206, allocations: 0 / 0.5595 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.01225, allocations: 87.36 kB / 0.5596 GB, free: 11.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.01225, allocations: 0 / 0.5596 GB, free: 11.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004287/0.01268, allocations: 165.4 kB / 0.5597 GB, free: 11.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.01273, allocations: 51.41 kB / 0.5598 GB, free: 11.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.01308, allocations: 279.2 kB / 0.56 GB, free: 10.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.01311, allocations: 29.7 kB / 0.5601 GB, free: 10.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.01321, allocations: 120.1 kB / 0.5602 GB, free: 10.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.01325, allocations: 23.8 kB / 0.5602 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.01331, allocations: 33.7 kB / 0.5602 GB, free: 10.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.0135, allocations: 326.8 kB / 0.5605 GB, free: 10.24 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.752e-05/0.01359, allocations: 27.98 kB / 0.5606 GB, free: 10.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.01372, allocations: 88.12 kB / 0.5606 GB, free: 10.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.01388, allocations: 73.64 kB / 0.5607 GB, free: 10.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01388, allocations: 0 / 0.5607 GB, free: 10.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002495/0.01413, allocations: 125.5 kB / 0.5608 GB, free: 9.902 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.01414, allocations: 4 kB / 0.5608 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01415, allocations: 0 / 0.5608 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.01417, allocations: 0 / 0.5608 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.473e-05/0.01425, allocations: 19.92 kB / 0.5609 GB, free: 9.879 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.01426, allocations: 0 / 0.5609 GB, free: 9.879 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.132e-05/0.01433, allocations: 11.95 kB / 0.5609 GB, free: 9.867 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.01434, allocations: 7.984 kB / 0.5609 GB, free: 9.859 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: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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.0001635/0.01451, allocations: 145.8 kB / 0.561 GB, free: 9.707 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.01455, allocations: 23.89 kB / 0.561 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.01484, allocations: 131.2 kB / 0.5612 GB, free: 9.547 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.01485, allocations: 4 kB / 0.5612 GB, free: 9.543 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01485, allocations: 0 / 0.5612 GB, free: 9.543 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.01486, allocations: 7.922 kB / 0.5612 GB, free: 9.535 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.01507, allocations: 165.1 kB / 0.5613 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01507, allocations: 0 / 0.5613 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/0.0151, allocations: 4 kB / 0.5613 GB, free: 9.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.01511, allocations: 3.984 kB / 0.5613 GB, free: 9.336 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.01512, allocations: 0 / 0.5613 GB, free: 9.336 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.01512, allocations: 8 kB / 0.5614 GB, free: 9.328 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01512, allocations: 0 / 0.5614 GB, free: 9.328 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.01542, allocations: 164.8 kB / 0.5615 GB, free: 9.148 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.558e-05/0.01546, allocations: 15.91 kB / 0.5615 GB, free: 9.133 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.01549, allocations: 4 kB / 0.5615 GB, free: 9.129 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.492e-05/0.01554, allocations: 3.984 kB / 0.5615 GB, free: 9.125 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.01558, allocations: 8 kB / 0.5615 GB, free: 9.117 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.0156, allocations: 4 kB / 0.5615 GB, free: 9.113 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002368/0.01583, allocations: 203.1 kB / 0.5617 GB, free: 8.914 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01583, allocations: 0 / 0.5617 GB, free: 8.914 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002641/0.0161, allocations: 35.94 kB / 0.5618 GB, free: 8.879 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.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.002053/0.01815, allocations: 451.9 kB / 0.5622 GB, free: 8.617 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.01841, allocations: 71.91 kB / 0.5623 GB, free: 8.547 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01841, allocations: 0 / 0.5623 GB, free: 8.547 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.736e-05/0.01851, allocations: 35.92 kB / 0.5623 GB, free: 8.512 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.01884, allocations: 41.66 kB / 0.5623 GB, free: 8.473 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000661/0.0195, allocations: 324.2 kB / 0.5627 GB, free: 8.129 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.01964, allocations: 118.7 kB / 0.5628 GB, free: 7.996 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.78e-05/0.01972, allocations: 21.78 kB / 0.5628 GB, free: 7.973 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.584e-05/0.01977, allocations: 20.5 kB / 0.5628 GB, free: 7.953 MB / 490.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01977, allocations: 0 / 0.5628 GB, free: 7.953 MB / 490.7 MB Notification: Performance of Templates: time 0.006825/0.0266, allocations: 2.437 MB / 0.5652 GB, free: 5.551 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5416968310019]