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.001802/0.001802, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.002183/0.002183, allocations: 204.6 kB / 23.74 MB, free: 4.543 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.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 7.789 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 0.9572/0.9572, allocations: 149.9 MB / 463.8 MB, free: 10.38 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.002174/0.002174, allocations: 67.41 kB / 0.6423 GB, free: 9.641 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1767, allocations: 89.17 MB / 0.7294 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003407/0.1801, allocations: 1.789 MB / 0.7311 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002105/0.1822, allocations: 1.111 MB / 0.7322 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.068e-05/0.1823, allocations: 3.938 kB / 0.7322 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006709/0.183, allocations: 167.5 kB / 0.7324 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004046/0.1834, allocations: 159.4 kB / 0.7325 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.1838, allocations: 140.4 kB / 0.7327 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.184, allocations: 175.5 kB / 0.7328 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1841, allocations: 13.31 kB / 0.7328 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.1843, allocations: 71.69 kB / 0.7329 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1844, allocations: 83.66 kB / 0.733 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.769e-05/0.1844, allocations: 8 kB / 0.733 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.1846, allocations: 79.88 kB / 0.7331 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.452e-05/0.1847, allocations: 39.91 kB / 0.7331 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.1848, allocations: 43.67 kB / 0.7331 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.1851, allocations: 211.1 kB / 0.7334 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1851, allocations: 0 / 0.7334 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1851, allocations: 0 / 0.7334 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.1851, allocations: 0 / 0.7334 GB, free: 12.43 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.0007738/0.1859, allocations: 438.8 kB / 0.7338 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1859, allocations: 12.03 kB / 0.7338 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.186, allocations: 20.8 kB / 0.7338 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.1863, allocations: 186.2 kB / 0.734 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1863, allocations: 384 / 0.734 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.1863, allocations: 8.125 kB / 0.734 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.1865, allocations: 73.66 kB / 0.7341 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1865, allocations: 0 / 0.7341 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.1865, allocations: 4 kB / 0.7341 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.1865, allocations: 4 kB / 0.7341 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.1866, allocations: 35.97 kB / 0.7341 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.1871, allocations: 300.2 kB / 0.7344 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.1873, allocations: 78.66 kB / 0.7345 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.5e-05/0.1874, allocations: 32.84 kB / 0.7345 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.1874, allocations: 0 / 0.7345 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.1876, allocations: 87.31 kB / 0.7346 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/0.1876, allocations: 0 / 0.7346 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0003721/0.188, allocations: 149.5 kB / 0.7347 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.188, allocations: 55.41 kB / 0.7348 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.1884, allocations: 275.1 kB / 0.735 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.1884, allocations: 25.7 kB / 0.7351 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.1885, allocations: 124.1 kB / 0.7352 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.1885, allocations: 31.77 kB / 0.7352 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.1886, allocations: 22 kB / 0.7352 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.1888, allocations: 338.8 kB / 0.7355 GB, free: 10 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.305e-05/0.1889, allocations: 27.98 kB / 0.7356 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.189, allocations: 80.97 kB / 0.7357 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.1891, allocations: 77.62 kB / 0.7357 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.1891, allocations: 4 kB / 0.7357 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002356/0.1894, allocations: 125.5 kB / 0.7359 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1894, allocations: 4 kB / 0.7359 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1894, allocations: 0 / 0.7359 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1894, allocations: 4 kB / 0.7359 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.837e-05/0.1895, allocations: 8 kB / 0.7359 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1895, allocations: 0 / 0.7359 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.4e-05/0.1895, allocations: 11.98 kB / 0.7359 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1896, allocations: 4 kB / 0.7359 GB, free: 9.637 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.0001518/0.1897, allocations: 149.7 kB / 0.736 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.1897, allocations: 24 kB / 0.736 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.19, allocations: 134 kB / 0.7362 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.19, allocations: 7.984 kB / 0.7362 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.19, allocations: 0 / 0.7362 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.19, allocations: 0 / 0.7362 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.1902, allocations: 165.1 kB / 0.7363 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1902, allocations: 0 / 0.7363 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.1902, allocations: 8 kB / 0.7363 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1903, allocations: 3.938 kB / 0.7364 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.1903, allocations: 0 / 0.7364 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1903, allocations: 0 / 0.7364 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1903, allocations: 4.078 kB / 0.7364 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.1905, allocations: 168.8 kB / 0.7365 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.1906, allocations: 12 kB / 0.7365 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.1906, allocations: 7.938 kB / 0.7365 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.003e-05/0.1906, allocations: 3.984 kB / 0.7365 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.1907, allocations: 11.98 kB / 0.7365 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.1907, allocations: 4 kB / 0.7366 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002195/0.1909, allocations: 204.6 kB / 0.7367 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1909, allocations: 0 / 0.7367 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002508/0.1912, allocations: 35.92 kB / 0.7368 GB, free: 8.652 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.001674/0.1928, allocations: 451.5 kB / 0.7372 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.1931, allocations: 75.83 kB / 0.7373 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1931, allocations: 0 / 0.7373 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.066e-05/0.1932, allocations: 43.86 kB / 0.7373 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.1935, allocations: 37.28 kB / 0.7374 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006337/0.1941, allocations: 352.3 kB / 0.7377 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.1942, allocations: 118.6 kB / 0.7378 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.1943, allocations: 27.41 kB / 0.7378 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of SimCode: time 3.9e-07/0.1943, allocations: 0 / 0.7378 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of Templates: time 0.005323/0.1996, allocations: 2.661 MB / 0.7404 GB, free: 5.086 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: 8.803843889851123] Failed to read output from testmodel.py, exit status != 0: 0.20833671977743506 0.22394192500000001 0.035665471000000004 Calling exit ...