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.001382/0.001382, allocations: 82.64 kB / 19.94 MB, free: 1.777 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.001507/0.001507, allocations: 164.5 kB / 23.22 MB, free: 4.902 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.382/1.382, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 179] 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.9253/0.9253, allocations: 114 MB / 373.9 MB, free: 13.24 MB / 350.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: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 0 / 0.5547 GB, free: 2.52 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.791e-05/4.108e-05, allocations: 5.562 kB / 0.5547 GB, free: 2.516 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003775/0.003816, allocations: 1.781 MB / 0.5564 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.006154, allocations: 1.195 MB / 0.5576 GB, free: 15.53 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.862e-05/0.006252, allocations: 0 / 0.5576 GB, free: 15.53 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.006608, allocations: 67.61 kB / 0.5577 GB, free: 15.46 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004127/0.007021, allocations: 119.4 kB / 0.5578 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00064/0.007661, allocations: 198.6 kB / 0.558 GB, free: 15.15 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.007928, allocations: 167.5 kB / 0.5581 GB, free: 14.99 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.00805, allocations: 13.62 kB / 0.5581 GB, free: 14.97 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.008229, allocations: 91.8 kB / 0.5582 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.008378, allocations: 63.8 kB / 0.5583 GB, free: 14.82 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.008405, allocations: 4 kB / 0.5583 GB, free: 14.82 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.008605, allocations: 83.81 kB / 0.5584 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.997e-05/0.008695, allocations: 39.84 kB / 0.5584 GB, free: 14.7 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.206e-05/0.008767, allocations: 39.84 kB / 0.5584 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003724/0.00914, allocations: 207.4 kB / 0.5586 GB, free: 14.45 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.009144, allocations: 0 / 0.5586 GB, free: 14.45 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.009145, allocations: 0 / 0.5586 GB, free: 14.45 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.009152, allocations: 0 / 0.5586 GB, free: 14.45 MB / 478.1 MB 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.0009791/0.01013, allocations: 438.8 kB / 0.5591 GB, free: 13.99 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.01018, allocations: 8.625 kB / 0.5591 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.358e-05/0.01026, allocations: 16.84 kB / 0.5591 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.01065, allocations: 193.4 kB / 0.5593 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.01067, allocations: 8.312 kB / 0.5593 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.01069, allocations: 12.36 kB / 0.5593 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.01093, allocations: 113.6 kB / 0.5594 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.01095, allocations: 7.875 kB / 0.5594 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.01096, allocations: 0 / 0.5594 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.01098, allocations: 7.984 kB / 0.5594 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.01109, allocations: 35.98 kB / 0.5594 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005771/0.01167, allocations: 288.4 kB / 0.5597 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.01192, allocations: 86.59 kB / 0.5598 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/0.01201, allocations: 32.84 kB / 0.5598 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.01202, allocations: 0 / 0.5598 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.01222, allocations: 87.36 kB / 0.5599 GB, free: 13.01 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.01222, allocations: 0 / 0.5599 GB, free: 13.01 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004228/0.01264, allocations: 145.5 kB / 0.5601 GB, free: 12.86 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.01271, allocations: 85.11 kB / 0.5601 GB, free: 12.76 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.01301, allocations: 275.2 kB / 0.5604 GB, free: 12.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.01303, allocations: 25.7 kB / 0.5604 GB, free: 12.45 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.749e-05/0.01313, allocations: 120.1 kB / 0.5605 GB, free: 12.33 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.01317, allocations: 23.83 kB / 0.5606 GB, free: 12.31 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.299e-05/0.01323, allocations: 25.72 kB / 0.5606 GB, free: 12.28 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.0134, allocations: 330.8 kB / 0.5609 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-05/0.01349, allocations: 27.98 kB / 0.5609 GB, free: 11.92 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.01362, allocations: 118.8 kB / 0.561 GB, free: 11.78 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.01379, allocations: 81.66 kB / 0.5611 GB, free: 11.69 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01379, allocations: 0 / 0.5611 GB, free: 11.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002435/0.01404, allocations: 117.8 kB / 0.5612 GB, free: 11.57 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.01405, allocations: 4 kB / 0.5612 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.01407, allocations: 4 kB / 0.5612 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.01408, allocations: 0 / 0.5612 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.613e-05/0.01418, allocations: 8 kB / 0.5612 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.01419, allocations: 8.062 kB / 0.5613 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.269e-05/0.01426, allocations: 11.94 kB / 0.5613 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.01427, allocations: 7.969 kB / 0.5613 GB, free: 11.53 MB / 478.1 MB 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.0001708/0.01444, allocations: 153.6 kB / 0.5614 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.01448, allocations: 19.89 kB / 0.5614 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.01478, allocations: 131.2 kB / 0.5616 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.01479, allocations: 8 kB / 0.5616 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.0148, allocations: 0 / 0.5616 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.0148, allocations: 0 / 0.5616 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.01501, allocations: 169.1 kB / 0.5617 GB, free: 11.01 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01501, allocations: 0 / 0.5617 GB, free: 11.01 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.593e-05/0.01506, allocations: 11.94 kB / 0.5617 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.01506, allocations: 7.984 kB / 0.5617 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.01508, allocations: 4 kB / 0.5618 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01508, allocations: 0 / 0.5618 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01508, allocations: 0 / 0.5618 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.01537, allocations: 152.9 kB / 0.5619 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.01541, allocations: 15.84 kB / 0.5619 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.01544, allocations: 4 kB / 0.5619 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.025e-05/0.0155, allocations: 7.984 kB / 0.5619 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/0.01556, allocations: 7.984 kB / 0.5619 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.01558, allocations: 4 kB / 0.5619 GB, free: 10.78 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002686/0.01585, allocations: 212.6 kB / 0.5621 GB, free: 10.57 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01585, allocations: 0 / 0.5621 GB, free: 10.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.01612, allocations: 31.94 kB / 0.5622 GB, free: 10.54 MB / 478.1 MB 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 (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.001764/0.01788, allocations: 452.8 kB / 0.5626 GB, free: 10.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003171/0.0182, allocations: 71.89 kB / 0.5627 GB, free: 10.23 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.0182, allocations: 0 / 0.5627 GB, free: 10.23 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.01832, allocations: 39.97 kB / 0.5627 GB, free: 10.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.01867, allocations: 47.91 kB / 0.5628 GB, free: 10.15 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008088/0.01948, allocations: 302.1 kB / 0.563 GB, free: 9.828 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.01963, allocations: 110.8 kB / 0.5631 GB, free: 9.703 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 9.194e-05/0.01972, allocations: 25.78 kB / 0.5632 GB, free: 9.68 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.52e-05/0.0198, allocations: 32.48 kB / 0.5632 GB, free: 9.648 MB / 478.1 MB Notification: Performance of SimCode: time 1.412e-06/0.0198, allocations: 0 / 0.5632 GB, free: 9.648 MB / 478.1 MB Notification: Performance of Templates: time 0.00779/0.02759, allocations: 2.664 MB / 0.5658 GB, free: 7.039 MB / 478.1 MB " [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: 5.2649562284350395] Failed to read output from testmodel.py, exit status != 0: 0.03764763101935387 0.052723721 0.040223725 Calling exit ...