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.001034/0.001034, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.001033/0.001033, allocations: 169 kB / 24.25 MB, free: 304 kB / 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.9323/0.9323, allocations: 177.2 MB / 204.6 MB, free: 5.621 MB / 186.7 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.6157/0.6157, allocations: 114.9 MB / 376 MB, free: 7.621 MB / 346.7 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 1.403e-06/1.403e-06, allocations: 0 / 481.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.703e-05, allocations: 2.312 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002324/0.002351, allocations: 1.833 MB / 483.4 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.003662, allocations: 1.214 MB / 484.6 MB, free: 9.938 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.785e-05/0.00375, allocations: 1.656 kB / 484.6 MB, free: 9.938 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.004042, allocations: 65.95 kB / 484.6 MB, free: 9.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.00436, allocations: 121.5 kB / 484.8 MB, free: 9.848 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.004811, allocations: 198.2 kB / 484.9 MB, free: 9.746 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.004981, allocations: 162.6 kB / 485.1 MB, free: 9.668 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.784e-05/0.005038, allocations: 15.45 kB / 485.1 MB, free: 9.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.446e-05/0.005133, allocations: 92.47 kB / 485.2 MB, free: 9.617 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.037e-05/0.005213, allocations: 59.33 kB / 485.3 MB, free: 9.602 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.005228, allocations: 7.531 kB / 485.3 MB, free: 9.602 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.005367, allocations: 83.58 kB / 485.4 MB, free: 9.578 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.185e-05/0.005429, allocations: 40.66 kB / 485.4 MB, free: 9.559 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.005468, allocations: 36.06 kB / 485.4 MB, free: 9.539 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.005673, allocations: 168.5 kB / 485.6 MB, free: 9.469 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005675, allocations: 1.156 kB / 485.6 MB, free: 9.469 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.005676, allocations: 0.5625 kB / 485.6 MB, free: 9.469 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.00568, allocations: 1.25 kB / 485.6 MB, free: 9.469 MB / 410.7 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.0003639/0.006044, allocations: 0.515 MB / 486.1 MB, free: 8.977 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.758e-05/0.006072, allocations: 9.875 kB / 486.1 MB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.006118, allocations: 29.88 kB / 486.2 MB, free: 8.961 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.006287, allocations: 188.7 kB / 486.3 MB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.006299, allocations: 3.5 kB / 486.3 MB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.006309, allocations: 4.062 kB / 486.3 MB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.00643, allocations: 117.8 kB / 486.5 MB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.006436, allocations: 12.73 kB / 486.5 MB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.006444, allocations: 1.312 kB / 486.5 MB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.006453, allocations: 1.344 kB / 486.5 MB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.186e-05/0.006495, allocations: 20.86 kB / 486.5 MB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.006784, allocations: 334.3 kB / 486.8 MB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.006891, allocations: 72.41 kB / 486.9 MB, free: 8.324 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/0.006923, allocations: 20.02 kB / 486.9 MB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.006932, allocations: 2.062 kB / 486.9 MB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.889e-05/0.007031, allocations: 74.77 kB / 487 MB, free: 8.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.007032, allocations: 1.375 kB / 487 MB, free: 8.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001735/0.007205, allocations: 105.5 kB / 487.1 MB, free: 8.199 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.007235, allocations: 81.12 kB / 487.2 MB, free: 8.105 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.007395, allocations: 287.4 kB / 487.4 MB, free: 7.898 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.007406, allocations: 30.81 kB / 487.5 MB, free: 7.863 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.007619, allocations: 168.3 kB / 487.6 MB, free: 23.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.007639, allocations: 26.08 kB / 487.7 MB, free: 23.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.007672, allocations: 36.28 kB / 487.7 MB, free: 23.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.007793, allocations: 0.5034 MB / 488.2 MB, free: 23.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.608e-05/0.007819, allocations: 11.09 kB / 488.2 MB, free: 23.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.974e-05/0.007869, allocations: 103.9 kB / 488.3 MB, free: 23.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.269e-05/0.007932, allocations: 60.22 kB / 488.4 MB, free: 23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.007933, allocations: 0 / 488.4 MB, free: 23 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001061/0.008039, allocations: 93.55 kB / 488.5 MB, free: 22.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.008052, allocations: 6.438 kB / 488.5 MB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.008056, allocations: 0.5 kB / 488.5 MB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.008065, allocations: 1.281 kB / 488.5 MB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/0.008137, allocations: 14.81 kB / 488.5 MB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.008143, allocations: 1.094 kB / 488.5 MB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.885e-05/0.008182, allocations: 3.656 kB / 488.5 MB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.008189, allocations: 2.5 kB / 488.5 MB, free: 22.94 MB / 426.7 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 7.912e-05/0.008268, allocations: 169.9 kB / 488.7 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.008289, allocations: 25.36 kB / 488.7 MB, free: 22.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.008428, allocations: 106.8 kB / 488.8 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.008436, allocations: 1.438 kB / 488.8 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.00844, allocations: 3.828 kB / 488.8 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.008444, allocations: 5.422 kB / 488.8 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.008579, allocations: 184.5 kB / 489 MB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.00858, allocations: 0 / 489 MB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.835e-05/0.008608, allocations: 8.734 kB / 489 MB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.00861, allocations: 1.281 kB / 489 MB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.008617, allocations: 6.281 kB / 489 MB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.008619, allocations: 1.594 kB / 489 MB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.00862, allocations: 0 / 489 MB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.008763, allocations: 141.4 kB / 489.1 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.008783, allocations: 16.09 kB / 489.2 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.008802, allocations: 1.375 kB / 489.2 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.747e-05/0.008829, allocations: 8.438 kB / 489.2 MB, free: 22.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.008874, allocations: 11.08 kB / 489.2 MB, free: 22.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.008885, allocations: 2.594 kB / 489.2 MB, free: 22.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001349/0.009019, allocations: 199.5 kB / 489.4 MB, free: 22.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00902, allocations: 0 / 489.4 MB, free: 22.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002217/0.009241, allocations: 36.78 kB / 489.4 MB, free: 22.25 MB / 426.7 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.0009056/0.01015, allocations: 396.8 kB / 489.8 MB, free: 22.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.01026, allocations: 54.53 kB / 489.9 MB, free: 22.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01027, allocations: 0 / 489.9 MB, free: 22.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-05/0.01031, allocations: 33.16 kB / 489.9 MB, free: 22.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.0105, allocations: 48.52 kB / 489.9 MB, free: 22.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.01088, allocations: 275.5 kB / 490.2 MB, free: 21.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.464e-05/0.01092, allocations: 75.28 kB / 490.3 MB, free: 21.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.25e-05/0.01097, allocations: 25.5 kB / 490.3 MB, free: 21.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.01101, allocations: 19.62 kB / 490.3 MB, free: 21.77 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01101, allocations: 0 / 490.3 MB, free: 21.77 MB / 426.7 MB Notification: Performance of Templates: time 0.005398/0.01641, allocations: 2.701 MB / 493 MB, free: 21.53 MB / 426.7 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.601373382844031]