Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.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.001359/0.001359, allocations: 105 kB / 20.45 MB, free: 1.5 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.001455/0.001455, allocations: 219.9 kB / 23.76 MB, free: 4.711 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 / 257.5 MB, free: 7.992 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.9517/0.9517, allocations: 150 MB / 463.9 MB, free: 10.48 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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") [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.003454/0.003454, allocations: 70.92 kB / 0.6425 GB, free: 9.863 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2267, allocations: 89.17 MB / 0.7296 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003466/0.2302, allocations: 1.822 MB / 0.7314 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002201/0.2324, allocations: 1.274 MB / 0.7326 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.2325, allocations: 7.938 kB / 0.7326 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.2328, allocations: 59.73 kB / 0.7327 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.2332, allocations: 119.5 kB / 0.7328 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006073/0.2338, allocations: 199.3 kB / 0.733 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.234, allocations: 155.6 kB / 0.7331 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.514e-05/0.2341, allocations: 17.64 kB / 0.7331 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.2343, allocations: 75.69 kB / 0.7332 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.2344, allocations: 71.73 kB / 0.7333 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.2344, allocations: 8 kB / 0.7333 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.2346, allocations: 83.88 kB / 0.7334 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.641e-05/0.2347, allocations: 35.84 kB / 0.7334 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.906e-05/0.2348, allocations: 59.61 kB / 0.7334 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.2351, allocations: 211.1 kB / 0.7336 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2351, allocations: 0 / 0.7336 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2351, allocations: 0 / 0.7336 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2351, allocations: 4 kB / 0.7337 GB, free: 12.55 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007231/0.2358, allocations: 422.9 kB / 0.7341 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2359, allocations: 16.02 kB / 0.7341 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.2359, allocations: 16.84 kB / 0.7341 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.2363, allocations: 198.1 kB / 0.7343 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.2363, allocations: 4.359 kB / 0.7343 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.2363, allocations: 12.06 kB / 0.7343 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.2366, allocations: 100.2 kB / 0.7344 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2366, allocations: 3.938 kB / 0.7344 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.2366, allocations: 0 / 0.7344 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.2366, allocations: 7.984 kB / 0.7344 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.2367, allocations: 35.91 kB / 0.7344 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.2373, allocations: 323.8 kB / 0.7347 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.2375, allocations: 90.69 kB / 0.7348 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.494e-05/0.2376, allocations: 28.84 kB / 0.7349 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.2376, allocations: 0 / 0.7349 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.2378, allocations: 79.38 kB / 0.7349 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.2378, allocations: 0 / 0.7349 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003855/0.2382, allocations: 149.5 kB / 0.7351 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.55e-05/0.2383, allocations: 106.8 kB / 0.7352 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.2386, allocations: 275 kB / 0.7354 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.2386, allocations: 29.7 kB / 0.7355 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.182e-05/0.2387, allocations: 120.1 kB / 0.7356 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.2387, allocations: 19.86 kB / 0.7356 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/0.2388, allocations: 25.7 kB / 0.7356 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.2389, allocations: 334.8 kB / 0.7359 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.689e-05/0.239, allocations: 27.98 kB / 0.736 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.2391, allocations: 68.27 kB / 0.736 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.2393, allocations: 73.94 kB / 0.7361 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2393, allocations: 0 / 0.7361 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000232/0.2395, allocations: 113.6 kB / 0.7362 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2395, allocations: 14.22 kB / 0.7362 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2396, allocations: 3.938 kB / 0.7362 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2396, allocations: 0 / 0.7362 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.774e-05/0.2397, allocations: 15.98 kB / 0.7362 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2397, allocations: 0 / 0.7362 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.772e-05/0.2397, allocations: 11.88 kB / 0.7363 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.2398, allocations: 3.984 kB / 0.7363 GB, free: 9.645 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: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.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.0001509/0.2399, allocations: 149.8 kB / 0.7364 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.2399, allocations: 23.86 kB / 0.7364 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.2402, allocations: 123 kB / 0.7365 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.2402, allocations: 11.98 kB / 0.7366 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2402, allocations: 0 / 0.7366 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2402, allocations: 4.125 kB / 0.7366 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.2405, allocations: 192.7 kB / 0.7367 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2405, allocations: 3.938 kB / 0.7367 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.134e-05/0.2405, allocations: 4 kB / 0.7368 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2405, allocations: 0 / 0.7368 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.2405, allocations: 7.984 kB / 0.7368 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2405, allocations: 4 kB / 0.7368 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2405, allocations: 0 / 0.7368 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.2408, allocations: 152.9 kB / 0.7369 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.2408, allocations: 11.91 kB / 0.7369 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.2409, allocations: 4 kB / 0.7369 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.628e-05/0.2409, allocations: 4 kB / 0.7369 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.241, allocations: 7.984 kB / 0.7369 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.241, allocations: 15.92 kB / 0.737 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002175/0.2412, allocations: 204.6 kB / 0.7371 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2412, allocations: 0 / 0.7371 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002672/0.2415, allocations: 43.88 kB / 0.7372 GB, free: 8.621 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.001602/0.2431, allocations: 435.5 kB / 0.7376 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.2433, allocations: 63.91 kB / 0.7377 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.2433, allocations: 8.062 kB / 0.7377 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.853e-05/0.2434, allocations: 23.98 kB / 0.7377 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.2437, allocations: 41.19 kB / 0.7377 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006303/0.2443, allocations: 336.4 kB / 0.7381 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.2447, allocations: 0.7202 MB / 0.7388 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.482e-05/0.2447, allocations: 19.42 kB / 0.7388 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.2447, allocations: 4 kB / 0.7388 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of Templates: time 0.005644/0.2504, allocations: 2.674 MB / 0.7414 GB, free: 4.453 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.966368835186586] Failed to read output from testmodel.py, exit status != 0: 0.2621308120433241 0.27569060700000003 0.037261048000000005 Calling exit ...