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.001316/0.001316, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001325/0.001325, allocations: 158.6 kB / 23.01 MB, free: 4.949 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.328/1.328, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.002305/0.002305, allocations: 240.9 kB / 260 MB, free: 444 kB / 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 0.8866/0.8866, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.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.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: 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.002951/0.002951, allocations: 106.2 kB / 0.6474 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3695, allocations: 95.34 MB / 0.7405 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.002579/0.3721, allocations: 1.794 MB / 0.7422 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.3735, allocations: 1.116 MB / 0.7433 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.48e-05/0.3736, allocations: 1.969 kB / 0.7433 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.3742, allocations: 173 kB / 0.7435 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.3745, allocations: 160.2 kB / 0.7436 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.3748, allocations: 144 kB / 0.7438 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.375, allocations: 169.2 kB / 0.7439 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 8.798e-05/0.375, allocations: 18.41 kB / 0.7439 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 9.127e-05/0.3751, allocations: 80.56 kB / 0.744 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.3752, allocations: 72.16 kB / 0.7441 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.3753, allocations: 8.25 kB / 0.7441 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.3754, allocations: 74.7 kB / 0.7442 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.417e-05/0.3755, allocations: 40.08 kB / 0.7442 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.562e-05/0.3755, allocations: 55.45 kB / 0.7442 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.3758, allocations: 201.2 kB / 0.7444 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3758, allocations: 0.7969 kB / 0.7444 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3758, allocations: 0 / 0.7444 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.3758, allocations: 0 / 0.7444 GB, free: 15.02 MB / 0.5919 GB 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.000524/0.3763, allocations: 447.3 kB / 0.7449 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.3763, allocations: 10 kB / 0.7449 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.3764, allocations: 16.88 kB / 0.7449 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.3766, allocations: 192.5 kB / 0.7451 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3766, allocations: 8.047 kB / 0.7451 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.3766, allocations: 6.938 kB / 0.7451 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.3768, allocations: 73.83 kB / 0.7452 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3768, allocations: 5.219 kB / 0.7452 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.3768, allocations: 0.6562 kB / 0.7452 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.3768, allocations: 3.25 kB / 0.7452 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.862e-05/0.3769, allocations: 42.06 kB / 0.7452 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.3773, allocations: 297.1 kB / 0.7455 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.3775, allocations: 73.89 kB / 0.7456 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.454e-05/0.3775, allocations: 33.17 kB / 0.7456 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-06/0.3775, allocations: 0.6562 kB / 0.7456 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.3777, allocations: 82.12 kB / 0.7457 GB, free: 14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.512e-06/0.3777, allocations: 0 / 0.7457 GB, free: 14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0003075/0.378, allocations: 156.1 kB / 0.7458 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.744e-05/0.378, allocations: 52.5 kB / 0.7459 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.3782, allocations: 273.3 kB / 0.7461 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.3782, allocations: 27.08 kB / 0.7462 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.3783, allocations: 125 kB / 0.7463 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.3783, allocations: 21.98 kB / 0.7463 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.3783, allocations: 30.02 kB / 0.7463 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.743e-05/0.3784, allocations: 334.4 kB / 0.7466 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.102e-05/0.3785, allocations: 30.25 kB / 0.7467 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.3785, allocations: 81.66 kB / 0.7468 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.3786, allocations: 80.14 kB / 0.7468 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3787, allocations: 0 / 0.7468 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001872/0.3788, allocations: 117.1 kB / 0.7469 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.3788, allocations: 4.812 kB / 0.7469 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3789, allocations: 2.047 kB / 0.7469 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3789, allocations: 1.312 kB / 0.747 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.064e-05/0.3789, allocations: 14.8 kB / 0.747 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3789, allocations: 5.266 kB / 0.747 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.823e-05/0.379, allocations: 15.84 kB / 0.747 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.379, allocations: 14.53 kB / 0.747 GB, free: 12.98 MB / 0.5919 GB 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 8.261e-05/0.3791, allocations: 140.1 kB / 0.7471 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.3791, allocations: 17.48 kB / 0.7471 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.3793, allocations: 135.3 kB / 0.7473 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.3793, allocations: 2.781 kB / 0.7473 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3794, allocations: 1.906 kB / 0.7473 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3794, allocations: 0 / 0.7473 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.3795, allocations: 167 kB / 0.7474 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3795, allocations: 1.375 kB / 0.7474 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.715e-05/0.3795, allocations: 8.328 kB / 0.7475 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3795, allocations: 2.141 kB / 0.7475 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.3795, allocations: 2.062 kB / 0.7475 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3795, allocations: 0 / 0.7475 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3795, allocations: 1.156 kB / 0.7475 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.3797, allocations: 162.2 kB / 0.7476 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.3798, allocations: 22.62 kB / 0.7476 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.3798, allocations: 2.844 kB / 0.7476 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.947e-05/0.3798, allocations: 4.391 kB / 0.7476 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.3799, allocations: 4.578 kB / 0.7476 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.3799, allocations: 12.2 kB / 0.7477 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001584/0.38, allocations: 198.8 kB / 0.7478 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.38, allocations: 0 / 0.7478 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002335/0.3803, allocations: 35.92 kB / 0.7479 GB, free: 12.37 MB / 0.5919 GB 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.00151/0.3818, allocations: 445 kB / 0.7483 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.382, allocations: 83.09 kB / 0.7484 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.382, allocations: 1.188 kB / 0.7484 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.091e-05/0.382, allocations: 37.62 kB / 0.7484 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.3823, allocations: 36.88 kB / 0.7485 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/0.3828, allocations: 312.4 kB / 0.7488 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.513e-05/0.3828, allocations: 114.1 kB / 0.7489 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.31e-05/0.3829, allocations: 28.25 kB / 0.7489 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/0.3829, allocations: 18.66 kB / 0.7489 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.3829, allocations: 7.875 kB / 0.7489 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of Templates: time 0.00554/0.3885, allocations: 2.411 MB / 0.7513 GB, free: 11.52 MB / 0.5919 GB " [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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.42566516099032] Failed to read output from testmodel.py, exit status != 0: 0.3953736020484939 0.405325693 0.027290576 Calling exit ...