Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007071/0.0007071, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009495/0.001657, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007173/0.0007173, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009018/0.001619, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9303/0.9303, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08393/1.014, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001632/0.001632, allocations: 248.9 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001272/0.002903, allocations: 467.6 kB / 244.7 MB, free: 14.17 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6933/0.6933, allocations: 138.7 MB / 384.1 MB, free: 480 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07159/0.7649, allocations: 42.4 MB / 426.5 MB, free: 5.938 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 427.8 MB, free: 4.609 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.703e-05, allocations: 2.312 kB / 427.8 MB, free: 4.605 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.002095/0.002112, allocations: 1.874 MB / 429.7 MB, free: 2.719 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.003553, allocations: 1.251 MB / 430.9 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.282e-05/0.003625, allocations: 0 / 430.9 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.003818, allocations: 67.61 kB / 431 MB, free: 1.391 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.004026, allocations: 119.4 kB / 431.1 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.004378, allocations: 191.3 kB / 431.3 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.00455, allocations: 159.5 kB / 431.5 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.84e-05/0.004638, allocations: 18.28 kB / 431.5 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.00479, allocations: 127.6 kB / 431.6 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.798e-05/0.004878, allocations: 59.86 kB / 431.7 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.004894, allocations: 4 kB / 431.7 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.005039, allocations: 83.88 kB / 431.7 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.005094, allocations: 31.86 kB / 431.8 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.868e-05/0.005132, allocations: 27.88 kB / 431.8 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.005335, allocations: 159.4 kB / 432 MB, free: 436 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.228e-05/0.005348, allocations: 0 / 432 MB, free: 436 kB / 410.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005348, allocations: 0 / 432 MB, free: 436 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.005361, allocations: 0 / 432 MB, free: 436 kB / 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.1873/0.1927, allocations: 424.9 kB / 432.4 MB, free: 1.848 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.1927, allocations: 8.594 kB / 432.4 MB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.983e-05/0.1928, allocations: 12.69 kB / 432.4 MB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.193, allocations: 176 kB / 432.6 MB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.193, allocations: 3.719 kB / 432.6 MB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.1931, allocations: 4.844 kB / 432.6 MB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.1932, allocations: 73.73 kB / 432.6 MB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1932, allocations: 0.5156 kB / 432.6 MB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1932, allocations: 7.25 kB / 432.6 MB, free: 1.656 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.1932, allocations: 2.844 kB / 432.7 MB, free: 1.656 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.57e-05/0.1933, allocations: 15.66 kB / 432.7 MB, free: 1.656 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.1935, allocations: 198.8 kB / 432.9 MB, free: 1.504 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.1936, allocations: 100.1 kB / 433 MB, free: 1.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.137e-05/0.1937, allocations: 15.7 kB / 433 MB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.1937, allocations: 3.375 kB / 433 MB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.597e-05/0.1938, allocations: 72.44 kB / 433 MB, free: 1.367 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.904e-06/0.1938, allocations: 0.5312 kB / 433 MB, free: 1.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001424/0.1939, allocations: 71.03 kB / 433.1 MB, free: 1.336 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.1939, allocations: 56.89 kB / 433.2 MB, free: 1.273 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.1941, allocations: 218.7 kB / 433.4 MB, free: 17.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1941, allocations: 29.02 kB / 433.4 MB, free: 17.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.1942, allocations: 105.4 kB / 433.5 MB, free: 17.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.1942, allocations: 24.22 kB / 433.5 MB, free: 17.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.1942, allocations: 25.94 kB / 433.6 MB, free: 17.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.617e-05/0.1943, allocations: 330.7 kB / 433.9 MB, free: 16.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.1943, allocations: 11 kB / 433.9 MB, free: 16.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.959e-05/0.1944, allocations: 60.64 kB / 434 MB, free: 16.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.683e-05/0.1944, allocations: 43.84 kB / 434 MB, free: 16.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1944, allocations: 0 / 434 MB, free: 16.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001086/0.1945, allocations: 78.09 kB / 434.1 MB, free: 16.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1945, allocations: 7.531 kB / 434.1 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1946, allocations: 1.031 kB / 434.1 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1946, allocations: 2.75 kB / 434.1 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.1947, allocations: 19.98 kB / 434.1 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.1947, allocations: 0 / 434.1 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.947e-05/0.1947, allocations: 2.531 kB / 434.1 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.1947, allocations: 6.203 kB / 434.1 MB, free: 16.57 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 8.481e-05/0.1948, allocations: 121.8 kB / 434.2 MB, free: 16.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.1948, allocations: 13.05 kB / 434.3 MB, free: 16.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.1949, allocations: 80.94 kB / 434.3 MB, free: 16.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.195, allocations: 1.703 kB / 434.3 MB, free: 16.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.195, allocations: 0 / 434.3 MB, free: 16.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.195, allocations: 9.016 kB / 434.3 MB, free: 16.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.1951, allocations: 104 kB / 434.4 MB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1951, allocations: 2.438 kB / 434.4 MB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.1951, allocations: 6.984 kB / 434.5 MB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.1952, allocations: 21.58 kB / 434.5 MB, free: 16.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1952, allocations: 3.938 kB / 434.5 MB, free: 16.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1952, allocations: 0.5469 kB / 434.5 MB, free: 16.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1952, allocations: 3.688 kB / 434.5 MB, free: 16.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1952, allocations: 1.281 kB / 434.5 MB, free: 16.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.1953, allocations: 102 kB / 434.6 MB, free: 16.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.1953, allocations: 0.625 kB / 434.6 MB, free: 16.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.825e-05/0.1953, allocations: 9.125 kB / 434.6 MB, free: 16.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.1954, allocations: 10.88 kB / 434.6 MB, free: 16.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.1954, allocations: 1 kB / 434.6 MB, free: 16.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.032e-05/0.1954, allocations: 77.2 kB / 434.7 MB, free: 16.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1954, allocations: 0 / 434.7 MB, free: 16.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001633/0.1956, allocations: 33.55 kB / 434.7 MB, free: 16.24 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.001257/0.1969, allocations: 0.5656 MB / 435.3 MB, free: 16.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.197, allocations: 43.55 kB / 435.3 MB, free: 16.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/0.197, allocations: 1.312 kB / 435.3 MB, free: 16.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.435e-05/0.197, allocations: 28.64 kB / 435.3 MB, free: 16.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.1972, allocations: 49.55 kB / 435.4 MB, free: 16.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.1977, allocations: 271.3 kB / 435.7 MB, free: 15.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.646e-05/0.1978, allocations: 75.16 kB / 435.7 MB, free: 15.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.822e-05/0.1978, allocations: 25.14 kB / 435.8 MB, free: 15.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.46e-05/0.1979, allocations: 76.55 kB / 435.8 MB, free: 15.81 MB / 426.7 MB Notification: Performance of SimCode: time 2.044e-06/0.1979, allocations: 0 / 435.8 MB, free: 15.81 MB / 426.7 MB Notification: Performance of Templates: time 0.005728/0.2036, allocations: 2.888 MB / 438.7 MB, free: 15.72 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4461378948763013]