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.0007179/0.0007179, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0007641/0.0007641, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8743/0.8743, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.001479/0.001479, allocations: 230.4 kB / 260.2 MB, free: 13.04 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.6508/0.6508, allocations: 138.4 MB / 455.1 MB, free: 30 MB / 410.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 2.134e-06/2.134e-06, allocations: 0 / 0.6475 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.135e-05/3.348e-05, allocations: 5.375 kB / 0.6475 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.2498/0.2498, allocations: 1.789 MB / 0.6493 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.2512, allocations: 1.113 MB / 0.6504 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.049e-05/0.2513, allocations: 7.969 kB / 0.6504 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006243/0.2519, allocations: 170.5 kB / 0.6505 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.2522, allocations: 158.9 kB / 0.6507 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.2525, allocations: 146.2 kB / 0.6508 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.2527, allocations: 174.9 kB / 0.651 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2528, allocations: 15.23 kB / 0.651 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.2529, allocations: 97.69 kB / 0.6511 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.253, allocations: 66.06 kB / 0.6512 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.2531, allocations: 11.53 kB / 0.6512 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.2532, allocations: 70.08 kB / 0.6512 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.786e-05/0.2533, allocations: 44.94 kB / 0.6513 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.136e-05/0.2533, allocations: 37.67 kB / 0.6513 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.2536, allocations: 203.4 kB / 0.6515 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2536, allocations: 2.844 kB / 0.6515 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2536, allocations: 0 / 0.6515 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.2536, allocations: 0 / 0.6515 GB, free: 55.75 MB / 0.5573 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.0005599/0.2542, allocations: 437.6 kB / 0.6519 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.2542, allocations: 10.78 kB / 0.6519 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.2542, allocations: 16.28 kB / 0.652 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.2544, allocations: 194 kB / 0.6521 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.2545, allocations: 4.875 kB / 0.6521 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.2545, allocations: 2.688 kB / 0.6521 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.2546, allocations: 77.45 kB / 0.6522 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2546, allocations: 7.188 kB / 0.6522 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.2546, allocations: 0 / 0.6522 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.2546, allocations: 3.375 kB / 0.6522 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.784e-05/0.2547, allocations: 37.52 kB / 0.6523 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.2551, allocations: 291.9 kB / 0.6525 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.2552, allocations: 81.67 kB / 0.6526 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.134e-05/0.2552, allocations: 37.53 kB / 0.6527 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.2553, allocations: 0 / 0.6527 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.2554, allocations: 85.06 kB / 0.6527 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.2554, allocations: 2.188 kB / 0.6527 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.0002512/0.2556, allocations: 145.2 kB / 0.6529 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.2557, allocations: 54.39 kB / 0.6529 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.2559, allocations: 281.5 kB / 0.6532 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.118e-06/0.2559, allocations: 27.36 kB / 0.6532 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.2559, allocations: 124.4 kB / 0.6533 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.2559, allocations: 31.64 kB / 0.6534 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.256, allocations: 25.8 kB / 0.6534 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.372e-05/0.256, allocations: 328.8 kB / 0.6537 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.626e-05/0.2561, allocations: 28.88 kB / 0.6537 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.79e-05/0.2561, allocations: 84.42 kB / 0.6538 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.194e-05/0.2562, allocations: 80.08 kB / 0.6539 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2562, allocations: 0 / 0.6539 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001254/0.2563, allocations: 119.7 kB / 0.654 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.2563, allocations: 6.281 kB / 0.654 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2564, allocations: 3.938 kB / 0.654 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2564, allocations: 4.906 kB / 0.654 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.2564, allocations: 11.27 kB / 0.654 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.2564, allocations: 0 / 0.654 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.595e-05/0.2565, allocations: 12.94 kB / 0.654 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.2565, allocations: 6.656 kB / 0.6541 GB, free: 53.85 MB / 0.5573 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.293e-05/0.2566, allocations: 145.6 kB / 0.6542 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.2566, allocations: 15.03 kB / 0.6542 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.2568, allocations: 134.3 kB / 0.6543 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.2568, allocations: 4.625 kB / 0.6543 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2568, allocations: 1.812 kB / 0.6543 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2568, allocations: 0 / 0.6543 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.2569, allocations: 170.1 kB / 0.6545 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2569, allocations: 0.7188 kB / 0.6545 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.031e-05/0.2569, allocations: 6.453 kB / 0.6545 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2569, allocations: 3.219 kB / 0.6545 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.2569, allocations: 0.6562 kB / 0.6545 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2569, allocations: 2.969 kB / 0.6545 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2569, allocations: 0.75 kB / 0.6545 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.2571, allocations: 156.1 kB / 0.6547 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.2571, allocations: 26.98 kB / 0.6547 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.2571, allocations: 2.781 kB / 0.6547 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.65e-05/0.2571, allocations: 2.344 kB / 0.6547 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.2572, allocations: 8.016 kB / 0.6547 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.2572, allocations: 5.328 kB / 0.6547 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001224/0.2573, allocations: 203.1 kB / 0.6549 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2573, allocations: 0 / 0.6549 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001826/0.2575, allocations: 37.36 kB / 0.6549 GB, free: 53.25 MB / 0.5573 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.0007916/0.2583, allocations: 452.7 kB / 0.6554 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001708/0.2585, allocations: 76.36 kB / 0.6554 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2585, allocations: 8 kB / 0.6555 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.854e-05/0.2585, allocations: 38.72 kB / 0.6555 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.2587, allocations: 39.3 kB / 0.6555 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.2592, allocations: 343.7 kB / 0.6559 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.435e-05/0.2592, allocations: 117 kB / 0.656 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.2593, allocations: 19.98 kB / 0.656 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of SimCode: time 4.41e-07/0.2593, allocations: 7.938 kB / 0.656 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of Templates: time 0.003821/0.2631, allocations: 2.689 MB / 0.6586 GB, free: 52.49 MB / 0.5573 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.530878150835633] Failed to read output from testmodel.py, exit status != 0: 0.26970563270151615 0.27667981999999997 0.021656764000000002 Calling exit ...