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.00095/0.00095, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.00198/0.00198, allocations: 177 kB / 23.36 MB, free: 1.133 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.101/1.101, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.001678/0.001678, allocations: 241.6 kB / 260.5 MB, free: 12.7 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.733/0.733, allocations: 138.4 MB / 402.2 MB, free: 0.5508 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 3.266e-06/3.266e-06, allocations: 0.7656 kB / 462.3 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.376e-05/4.703e-05, allocations: 2.969 kB / 462.3 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.004197/0.004244, allocations: 1.842 MB / 464.2 MB, free: 15.73 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.00641, allocations: 1.161 MB / 465.3 MB, free: 15 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.006535, allocations: 1.281 kB / 465.3 MB, free: 15 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007531/0.007288, allocations: 165.5 kB / 465.5 MB, free: 14.96 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005134/0.007802, allocations: 166.7 kB / 465.6 MB, free: 14.88 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005059/0.008308, allocations: 138 kB / 465.8 MB, free: 14.81 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.008611, allocations: 178.9 kB / 466 MB, free: 14.73 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.008729, allocations: 17.81 kB / 466 MB, free: 14.72 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.008931, allocations: 97.09 kB / 466.1 MB, free: 14.68 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.009079, allocations: 68.45 kB / 466.1 MB, free: 14.66 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.009107, allocations: 8.25 kB / 466.1 MB, free: 14.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.009274, allocations: 72.7 kB / 466.2 MB, free: 14.64 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.944e-05/0.009343, allocations: 41.28 kB / 466.3 MB, free: 14.62 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.803e-05/0.009401, allocations: 40.38 kB / 466.3 MB, free: 14.6 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.009719, allocations: 165.4 kB / 466.5 MB, free: 14.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.009722, allocations: 0 / 466.5 MB, free: 14.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.009723, allocations: 2.031 kB / 466.5 MB, free: 14.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.009728, allocations: 0 / 466.5 MB, free: 14.52 MB / 426.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.0006287/0.01036, allocations: 400.6 kB / 466.8 MB, free: 14.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.0104, allocations: 12.75 kB / 466.9 MB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.01045, allocations: 14.95 kB / 466.9 MB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.0107, allocations: 198 kB / 467.1 MB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.01072, allocations: 0.9375 kB / 467.1 MB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.01073, allocations: 4.375 kB / 467.1 MB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.01087, allocations: 57.5 kB / 467.1 MB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.01088, allocations: 7.938 kB / 467.1 MB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.01089, allocations: 0 / 467.1 MB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.01091, allocations: 0 / 467.1 MB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.11e-05/0.01095, allocations: 20.86 kB / 467.2 MB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.01132, allocations: 193.9 kB / 467.3 MB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.01145, allocations: 91.64 kB / 467.4 MB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.01147, allocations: 12.86 kB / 467.5 MB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.01148, allocations: 5.469 kB / 467.5 MB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.756e-05/0.01158, allocations: 78.88 kB / 467.5 MB, free: 13.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.365e-06/0.01158, allocations: 1.125 kB / 467.5 MB, free: 13.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001458/0.01173, allocations: 74.36 kB / 467.6 MB, free: 13.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.01175, allocations: 52.75 kB / 467.7 MB, free: 13.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.01194, allocations: 224.1 kB / 467.9 MB, free: 12.99 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.01197, allocations: 25.7 kB / 467.9 MB, free: 12.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.01203, allocations: 102.4 kB / 468 MB, free: 12.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.01206, allocations: 27.78 kB / 468 MB, free: 12.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.0121, allocations: 21.81 kB / 468.1 MB, free: 12.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.01222, allocations: 346.7 kB / 468.4 MB, free: 12.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.478e-05/0.01224, allocations: 6.828 kB / 468.4 MB, free: 12.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.469e-05/0.01229, allocations: 57.39 kB / 468.5 MB, free: 12.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.997e-05/0.01236, allocations: 48.22 kB / 468.5 MB, free: 12.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.01237, allocations: 1.844 kB / 468.5 MB, free: 12.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000126/0.01249, allocations: 72.97 kB / 468.6 MB, free: 12.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.01251, allocations: 8 kB / 468.6 MB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.01252, allocations: 1.781 kB / 468.6 MB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.01253, allocations: 0 / 468.6 MB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.36e-05/0.01261, allocations: 15.98 kB / 468.6 MB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.01261, allocations: 4.156 kB / 468.6 MB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.615e-05/0.01266, allocations: 9.234 kB / 468.6 MB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.01267, allocations: 0 / 468.6 MB, free: 12.21 MB / 426.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 9.042e-05/0.01276, allocations: 130.3 kB / 468.7 MB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.01278, allocations: 15.92 kB / 468.8 MB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.01294, allocations: 80.2 kB / 468.8 MB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.01296, allocations: 5 kB / 468.8 MB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.01296, allocations: 0.7969 kB / 468.8 MB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01297, allocations: 0.5 kB / 468.8 MB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.01311, allocations: 111.7 kB / 468.9 MB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.01312, allocations: 0.75 kB / 468.9 MB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.148e-05/0.01315, allocations: 7.984 kB / 469 MB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.01315, allocations: 1.312 kB / 469 MB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.01316, allocations: 7.938 kB / 469 MB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.01316, allocations: 4 kB / 469 MB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01316, allocations: 0.6562 kB / 469 MB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.01329, allocations: 94.7 kB / 469.1 MB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.01332, allocations: 20.88 kB / 469.1 MB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.01334, allocations: 6.844 kB / 469.1 MB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.066e-05/0.01338, allocations: 10.03 kB / 469.1 MB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.01341, allocations: 7.984 kB / 469.1 MB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.01342, allocations: 0 / 469.1 MB, free: 11.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.014e-05/0.01351, allocations: 68.34 kB / 469.2 MB, free: 11.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01351, allocations: 0 / 469.2 MB, free: 11.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002417/0.01375, allocations: 39.88 kB / 469.2 MB, free: 11.57 MB / 426.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.001666/0.01542, allocations: 0.5153 MB / 469.7 MB, free: 11.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.01557, allocations: 49.45 kB / 469.8 MB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.01557, allocations: 0 / 469.8 MB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.026e-05/0.01562, allocations: 30.41 kB / 469.8 MB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.01585, allocations: 42.47 kB / 469.8 MB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005495/0.0164, allocations: 270.1 kB / 470.1 MB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.185e-05/0.01646, allocations: 75.83 kB / 470.2 MB, free: 10.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.754e-05/0.01653, allocations: 23.31 kB / 470.2 MB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.01664, allocations: 71.36 kB / 470.3 MB, free: 10.78 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01664, allocations: 0.75 kB / 470.3 MB, free: 10.78 MB / 426.7 MB Notification: Performance of Templates: time 0.006388/0.02303, allocations: 2.643 MB / 472.9 MB, free: 8.395 MB / 426.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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.747387790121138]