Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001481/0.001481, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001912/0.001912, allocations: 210.4 kB / 22.99 MB, free: 4.977 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.027/1.027, allocations: 149.9 MB / 463 MB, free: 10.41 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: IBPSA 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.00211/0.00211, allocations: 66.09 kB / 0.6415 GB, free: 9.664 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2098, allocations: 89.17 MB / 0.7286 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003435/0.2132, allocations: 1.787 MB / 0.7304 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.2153, allocations: 1.111 MB / 0.7315 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.235e-05/0.2154, allocations: 7.938 kB / 0.7315 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007276/0.2161, allocations: 174.3 kB / 0.7316 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.2165, allocations: 151.5 kB / 0.7318 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.2169, allocations: 143.6 kB / 0.7319 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.2171, allocations: 175.5 kB / 0.7321 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.2172, allocations: 13.3 kB / 0.7321 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.2174, allocations: 75.69 kB / 0.7322 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.2175, allocations: 75.67 kB / 0.7322 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.2175, allocations: 12 kB / 0.7322 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.2177, allocations: 71.88 kB / 0.7323 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.197e-05/0.2177, allocations: 39.91 kB / 0.7324 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.227e-05/0.2178, allocations: 47.67 kB / 0.7324 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.2181, allocations: 211.1 kB / 0.7326 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2181, allocations: 0 / 0.7326 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2181, allocations: 0 / 0.7326 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.391e-06/0.2181, allocations: 0 / 0.7326 GB, free: 12.47 MB / 0.5606 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.0007329/0.2189, allocations: 438.8 kB / 0.733 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.2189, allocations: 8.031 kB / 0.733 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.504e-05/0.2189, allocations: 20.8 kB / 0.733 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.2193, allocations: 186.2 kB / 0.7332 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.2193, allocations: 8.375 kB / 0.7332 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.2193, allocations: 8.125 kB / 0.7332 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.2195, allocations: 69.67 kB / 0.7333 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2195, allocations: 4 kB / 0.7333 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.2195, allocations: 0 / 0.7333 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.2195, allocations: 7.984 kB / 0.7333 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.747e-05/0.2196, allocations: 39.92 kB / 0.7334 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.2202, allocations: 304.2 kB / 0.7336 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.2204, allocations: 70.67 kB / 0.7337 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.804e-05/0.2204, allocations: 28.84 kB / 0.7337 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.2204, allocations: 8 kB / 0.7337 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.2206, allocations: 83.31 kB / 0.7338 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.2206, allocations: 0 / 0.7338 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0003654/0.221, allocations: 153.5 kB / 0.734 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.221, allocations: 51.41 kB / 0.734 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.2213, allocations: 275.1 kB / 0.7343 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.2213, allocations: 25.7 kB / 0.7343 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.104e-05/0.2214, allocations: 116.1 kB / 0.7344 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.2215, allocations: 31.77 kB / 0.7345 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.2215, allocations: 33.72 kB / 0.7345 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2217, allocations: 334.8 kB / 0.7348 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/0.2217, allocations: 27.98 kB / 0.7348 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.2219, allocations: 77.91 kB / 0.7349 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.222, allocations: 77.62 kB / 0.735 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.222, allocations: 4 kB / 0.735 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002124/0.2222, allocations: 121.8 kB / 0.7351 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2222, allocations: 8 kB / 0.7351 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2222, allocations: 64 / 0.7351 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2222, allocations: 4 kB / 0.7351 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/0.2223, allocations: 8 kB / 0.7351 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.2223, allocations: 8.141 kB / 0.7351 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.708e-05/0.2224, allocations: 4 kB / 0.7351 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.2224, allocations: 8.078 kB / 0.7351 GB, free: 9.672 MB / 0.5606 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 0.0001402/0.2225, allocations: 157.6 kB / 0.7353 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.2226, allocations: 15.86 kB / 0.7353 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.2228, allocations: 131 kB / 0.7354 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.2228, allocations: 8 kB / 0.7354 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2228, allocations: 0 / 0.7354 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.2228, allocations: 0 / 0.7354 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.223, allocations: 173.1 kB / 0.7356 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.223, allocations: 0 / 0.7356 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.799e-05/0.2231, allocations: 4 kB / 0.7356 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2231, allocations: 3.938 kB / 0.7356 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.2231, allocations: 0 / 0.7356 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.2231, allocations: 8 kB / 0.7356 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2231, allocations: 0 / 0.7356 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.2234, allocations: 156.8 kB / 0.7358 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.2234, allocations: 19.91 kB / 0.7358 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.2235, allocations: 7.984 kB / 0.7358 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.869e-05/0.2235, allocations: 4 kB / 0.7358 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.2236, allocations: 3.984 kB / 0.7358 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.2236, allocations: 4 kB / 0.7358 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002899/0.2239, allocations: 212.5 kB / 0.736 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2239, allocations: 0 / 0.736 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002394/0.2241, allocations: 31.94 kB / 0.736 GB, free: 8.688 MB / 0.5606 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.001703/0.2258, allocations: 454.2 kB / 0.7365 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002412/0.226, allocations: 79.84 kB / 0.7365 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.226, allocations: 0 / 0.7365 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.878e-05/0.2261, allocations: 35.92 kB / 0.7366 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.2264, allocations: 42.38 kB / 0.7366 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006274/0.2271, allocations: 314.6 kB / 0.7369 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.2272, allocations: 114.6 kB / 0.737 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.987e-05/0.2273, allocations: 25.72 kB / 0.7371 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.2273, allocations: 23.42 kB / 0.7371 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.2273, allocations: 0 / 0.7371 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of Templates: time 0.006818/0.2342, allocations: 2.499 MB / 0.7395 GB, free: 5.332 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0992860570549965] Failed to read output from testmodel.py, exit status != 0: 0.24343550577759743 0.25932009199999995 0.037868588 Calling exit ...