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.001494/0.001494, allocations: 92.72 kB / 20.21 MB, free: 4.227 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.001634/0.001634, allocations: 161.7 kB / 23.52 MB, free: 0.9141 MB / 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 1.463/1.463, allocations: 177.2 MB / 203.9 MB, free: 5.59 MB / 186.7 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.9377/0.9377, allocations: 115 MB / 375.3 MB, free: 7.555 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 2.414e-06/2.414e-06, allocations: 0 / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.513e-05/3.754e-05, allocations: 2.312 kB / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003322/0.00336, allocations: 1.784 MB / 482.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.005306, allocations: 1.188 MB / 483.8 MB, free: 9.953 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.005421, allocations: 2.188 kB / 483.8 MB, free: 9.953 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.005756, allocations: 59.59 kB / 483.8 MB, free: 9.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004796/0.006236, allocations: 125.8 kB / 483.9 MB, free: 9.867 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006268/0.006863, allocations: 193.5 kB / 484.1 MB, free: 9.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.007127, allocations: 162.1 kB / 484.3 MB, free: 9.691 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.007233, allocations: 14.45 kB / 484.3 MB, free: 9.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.007416, allocations: 92.62 kB / 484.4 MB, free: 9.637 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.007558, allocations: 61.28 kB / 484.5 MB, free: 9.621 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.007586, allocations: 7.875 kB / 484.5 MB, free: 9.621 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.007835, allocations: 76.94 kB / 484.5 MB, free: 9.602 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.588e-05/0.007921, allocations: 48.94 kB / 484.6 MB, free: 9.574 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.048e-05/0.007991, allocations: 31.88 kB / 484.6 MB, free: 9.559 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.008371, allocations: 214.6 kB / 484.8 MB, free: 9.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.008375, allocations: 0 / 484.8 MB, free: 9.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.008376, allocations: 3.938 kB / 484.8 MB, free: 9.477 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.008381, allocations: 0 / 484.8 MB, free: 9.477 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.000724/0.009105, allocations: 427.4 kB / 485.2 MB, free: 9.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.00915, allocations: 9.406 kB / 485.3 MB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.881e-05/0.009249, allocations: 25.52 kB / 485.3 MB, free: 9.074 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.009619, allocations: 192.6 kB / 485.5 MB, free: 8.914 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.00964, allocations: 8.078 kB / 485.5 MB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.00966, allocations: 6.688 kB / 485.5 MB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.009903, allocations: 116.1 kB / 485.6 MB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.009916, allocations: 5.719 kB / 485.6 MB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.009932, allocations: 1.344 kB / 485.6 MB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.009945, allocations: 5.219 kB / 485.6 MB, free: 8.805 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.01007, allocations: 38.27 kB / 485.6 MB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.01055, allocations: 294.2 kB / 485.9 MB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.0108, allocations: 85.31 kB / 486 MB, free: 8.508 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/0.01088, allocations: 31.83 kB / 486 MB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.0109, allocations: 1.375 kB / 486 MB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.01108, allocations: 86.42 kB / 486.1 MB, free: 8.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.01108, allocations: 1.406 kB / 486.1 MB, free: 8.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003961/0.01147, allocations: 147.3 kB / 486.3 MB, free: 8.359 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.01151, allocations: 81.8 kB / 486.4 MB, free: 8.266 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.01179, allocations: 276.2 kB / 486.6 MB, free: 8.109 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.0118, allocations: 27.61 kB / 486.7 MB, free: 8.078 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/0.01187, allocations: 123 kB / 486.8 MB, free: 7.969 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.0119, allocations: 19.23 kB / 486.8 MB, free: 7.953 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.01196, allocations: 36.12 kB / 486.8 MB, free: 7.926 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003387/0.0123, allocations: 326.6 kB / 487.1 MB, free: 23.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.01238, allocations: 29.3 kB / 487.2 MB, free: 23.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.01248, allocations: 112.7 kB / 487.3 MB, free: 23.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.01264, allocations: 85.72 kB / 487.4 MB, free: 23.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01264, allocations: 0 / 487.4 MB, free: 23.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002357/0.01288, allocations: 119.5 kB / 487.5 MB, free: 23.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.01289, allocations: 5.688 kB / 487.5 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.0129, allocations: 0.9062 kB / 487.5 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.01292, allocations: 1.375 kB / 487.5 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.01302, allocations: 19.84 kB / 487.5 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.01303, allocations: 1.594 kB / 487.5 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.281e-05/0.0131, allocations: 6.438 kB / 487.5 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.01311, allocations: 2.531 kB / 487.5 MB, free: 23.38 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 0.0001426/0.01325, allocations: 142 kB / 487.7 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.0133, allocations: 25.92 kB / 487.7 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.01359, allocations: 131.8 kB / 487.8 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.0136, allocations: 3.156 kB / 487.8 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.0136, allocations: 4.5 kB / 487.8 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01361, allocations: 4.297 kB / 487.8 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.01375, allocations: 164.8 kB / 488 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01376, allocations: 1.031 kB / 488 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.885e-05/0.01381, allocations: 14.03 kB / 488 MB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.01381, allocations: 1.312 kB / 488 MB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.01382, allocations: 1.469 kB / 488 MB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.01382, allocations: 0 / 488 MB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01382, allocations: 1.281 kB / 488 MB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.01407, allocations: 155.6 kB / 488.2 MB, free: 22.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.01411, allocations: 28.8 kB / 488.2 MB, free: 22.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.01414, allocations: 1.156 kB / 488.2 MB, free: 22.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.016e-05/0.0142, allocations: 5.469 kB / 488.2 MB, free: 22.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.01427, allocations: 11.12 kB / 488.2 MB, free: 22.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.01428, allocations: 4.875 kB / 488.2 MB, free: 22.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000289/0.01457, allocations: 213 kB / 488.4 MB, free: 22.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01457, allocations: 0 / 488.4 MB, free: 22.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000325/0.0149, allocations: 37.61 kB / 488.5 MB, free: 22.76 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.002201/0.0171, allocations: 453.9 kB / 488.9 MB, free: 22.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.01734, allocations: 79.97 kB / 489 MB, free: 22.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.01734, allocations: 1.562 kB / 489 MB, free: 22.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.01745, allocations: 36 kB / 489 MB, free: 22.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.01777, allocations: 43.78 kB / 489.1 MB, free: 22.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.01838, allocations: 308.8 kB / 489.4 MB, free: 22.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.01848, allocations: 112.6 kB / 489.5 MB, free: 22.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.613e-05/0.01857, allocations: 25.59 kB / 489.5 MB, free: 22.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.01863, allocations: 26.58 kB / 489.5 MB, free: 22.27 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01863, allocations: 1.344 kB / 489.5 MB, free: 22.27 MB / 426.7 MB Notification: Performance of Templates: time 0.007317/0.02595, allocations: 2.689 MB / 492.2 MB, free: 22.03 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.528221544926055]