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.001962/0.001962, allocations: 93.47 kB / 20.21 MB, free: 4.211 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.002082/0.002082, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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.539/1.539, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.9985/0.9985, allocations: 115 MB / 375.3 MB, free: 7.59 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.733e-06/1.733e-06, allocations: 0 / 480.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.822e-05, allocations: 2.312 kB / 480.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003044/0.003072, allocations: 1.795 MB / 482.6 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.004928, allocations: 1.211 MB / 483.8 MB, free: 9.934 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.959e-05/0.005018, allocations: 2.375 kB / 483.8 MB, free: 9.934 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.005346, allocations: 64.44 kB / 483.9 MB, free: 9.906 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.005706, allocations: 125.4 kB / 484 MB, free: 9.844 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.006227, allocations: 196.7 kB / 484.2 MB, free: 9.742 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.006452, allocations: 160.6 kB / 484.3 MB, free: 9.668 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.006563, allocations: 16.88 kB / 484.3 MB, free: 9.652 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.006711, allocations: 87.64 kB / 484.4 MB, free: 9.613 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.006832, allocations: 62.84 kB / 484.5 MB, free: 9.594 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.006862, allocations: 9.219 kB / 484.5 MB, free: 9.594 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.007056, allocations: 84.08 kB / 484.6 MB, free: 9.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.457e-05/0.00714, allocations: 41.08 kB / 484.6 MB, free: 9.551 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.291e-05/0.007203, allocations: 35.33 kB / 484.7 MB, free: 9.531 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.007544, allocations: 209.9 kB / 484.9 MB, free: 9.453 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.007549, allocations: 3.906 kB / 484.9 MB, free: 9.453 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.007551, allocations: 0 / 484.9 MB, free: 9.453 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.007556, allocations: 2.281 kB / 484.9 MB, free: 9.453 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.0007028/0.008259, allocations: 0.5275 MB / 485.4 MB, free: 8.953 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.008301, allocations: 11.03 kB / 485.4 MB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.302e-05/0.008394, allocations: 25.8 kB / 485.4 MB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.008682, allocations: 189.6 kB / 485.6 MB, free: 8.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.008703, allocations: 2.906 kB / 485.6 MB, free: 8.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.008723, allocations: 12.34 kB / 485.6 MB, free: 8.762 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.008939, allocations: 113.7 kB / 485.7 MB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.008952, allocations: 6.719 kB / 485.8 MB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.008965, allocations: 0 / 485.8 MB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.008979, allocations: 2.312 kB / 485.8 MB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.009087, allocations: 33.2 kB / 485.8 MB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005727/0.009659, allocations: 363.1 kB / 486.1 MB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.009867, allocations: 83.62 kB / 486.2 MB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.581e-05/0.009933, allocations: 27.77 kB / 486.3 MB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.009954, allocations: 5.125 kB / 486.3 MB, free: 8.262 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.01011, allocations: 79.3 kB / 486.3 MB, free: 8.199 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.01011, allocations: 0 / 486.3 MB, free: 8.199 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003528/0.01046, allocations: 128 kB / 486.5 MB, free: 8.137 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.0105, allocations: 77.11 kB / 486.5 MB, free: 8.043 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.01075, allocations: 324.6 kB / 486.9 MB, free: 7.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.01076, allocations: 27.11 kB / 486.9 MB, free: 7.789 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.01103, allocations: 176.4 kB / 487.1 MB, free: 23.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.01105, allocations: 24.92 kB / 487.1 MB, free: 23.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.0111, allocations: 38.03 kB / 487.1 MB, free: 23.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002707/0.01137, allocations: 0.5153 MB / 487.6 MB, free: 23.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.15e-05/0.01144, allocations: 17.75 kB / 487.6 MB, free: 23.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.109e-05/0.01152, allocations: 111.1 kB / 487.8 MB, free: 22.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.01163, allocations: 77.02 kB / 487.8 MB, free: 22.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01163, allocations: 1.375 kB / 487.8 MB, free: 22.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001871/0.01182, allocations: 107.7 kB / 487.9 MB, free: 22.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.01184, allocations: 6.156 kB / 487.9 MB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01184, allocations: 1.031 kB / 487.9 MB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.01186, allocations: 1.125 kB / 487.9 MB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.6e-05/0.01196, allocations: 13.95 kB / 488 MB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.01196, allocations: 2.25 kB / 488 MB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.057e-05/0.01202, allocations: 2.969 kB / 488 MB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.01203, allocations: 3.469 kB / 488 MB, free: 22.83 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.0001483/0.01218, allocations: 176 kB / 488.1 MB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.01222, allocations: 22.58 kB / 488.2 MB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.01246, allocations: 113.9 kB / 488.3 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.01247, allocations: 7.75 kB / 488.3 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.01247, allocations: 0 / 488.3 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01248, allocations: 0 / 488.3 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.01265, allocations: 196.1 kB / 488.5 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01265, allocations: 1.844 kB / 488.5 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.413e-05/0.0127, allocations: 10.17 kB / 488.5 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.0127, allocations: 0 / 488.5 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.01271, allocations: 6.094 kB / 488.5 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01271, allocations: 1.656 kB / 488.5 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.01271, allocations: 1.312 kB / 488.5 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.01293, allocations: 153.2 kB / 488.6 MB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.01297, allocations: 22.05 kB / 488.7 MB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.013, allocations: 7 kB / 488.7 MB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.08e-05/0.01305, allocations: 6.531 kB / 488.7 MB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.0131, allocations: 6.781 kB / 488.7 MB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.01312, allocations: 3.781 kB / 488.7 MB, free: 22.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001967/0.01331, allocations: 226.2 kB / 488.9 MB, free: 22.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01331, allocations: 0 / 488.9 MB, free: 22.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002591/0.01357, allocations: 36.62 kB / 488.9 MB, free: 22.11 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.002907/0.01648, allocations: 452.1 kB / 489.4 MB, free: 21.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.01673, allocations: 73.19 kB / 489.5 MB, free: 21.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01673, allocations: 0 / 489.5 MB, free: 21.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.894e-05/0.01682, allocations: 43.62 kB / 489.5 MB, free: 21.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.01716, allocations: 42.28 kB / 489.5 MB, free: 21.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.01768, allocations: 277 kB / 489.8 MB, free: 21.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.122e-05/0.01777, allocations: 113.1 kB / 489.9 MB, free: 21.61 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.03e-05/0.01784, allocations: 27.97 kB / 489.9 MB, free: 21.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.0179, allocations: 19.97 kB / 490 MB, free: 21.6 MB / 426.7 MB Notification: Performance of SimCode: time 8.02e-07/0.0179, allocations: 0 / 490 MB, free: 21.6 MB / 426.7 MB Notification: Performance of Templates: time 0.00625/0.02415, allocations: 2.689 MB / 492.7 MB, free: 21.35 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: 5.73597975098528]