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.001337/0.001337, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001457/0.001457, allocations: 216.2 kB / 22.99 MB, free: 4.945 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002767/0.002767, allocations: 294.1 kB / 313.5 MB, free: 2.727 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.197/1.197, allocations: 180.6 MB / 0.5377 GB, free: 14.57 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002833/0.002833, allocations: 108.1 kB / 0.7407 GB, free: 27.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1816, allocations: 95.37 MB / 0.8339 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.003552/0.1851, allocations: 1.775 MB / 0.8356 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002205/0.1873, allocations: 1.193 MB / 0.8368 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.1874, allocations: 0 / 0.8368 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.1878, allocations: 67.61 kB / 0.8368 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003954/0.1882, allocations: 115.5 kB / 0.8369 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005964/0.1888, allocations: 206.7 kB / 0.8371 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.189, allocations: 159.6 kB / 0.8373 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1891, allocations: 13.62 kB / 0.8373 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1892, allocations: 71.7 kB / 0.8374 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1893, allocations: 71.67 kB / 0.8374 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1894, allocations: 8 kB / 0.8374 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.1895, allocations: 75.94 kB / 0.8375 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.589e-05/0.1896, allocations: 43.84 kB / 0.8376 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.1897, allocations: 47.66 kB / 0.8376 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003337/0.19, allocations: 207.2 kB / 0.8378 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.19, allocations: 0 / 0.8378 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.904e-06/0.19, allocations: 4 kB / 0.8378 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.19, allocations: 0 / 0.8378 GB, free: 3.734 MB / 0.5762 GB 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.0006783/0.1907, allocations: 434.8 kB / 0.8382 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1907, allocations: 13.34 kB / 0.8382 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/0.1908, allocations: 16.84 kB / 0.8382 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.1912, allocations: 198.1 kB / 0.8384 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1912, allocations: 8.312 kB / 0.8384 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.1912, allocations: 8.125 kB / 0.8385 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.1914, allocations: 117 kB / 0.8386 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1914, allocations: 4 kB / 0.8386 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1914, allocations: 4 kB / 0.8386 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.1915, allocations: 4 kB / 0.8386 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1916, allocations: 31.98 kB / 0.8386 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/0.1921, allocations: 296.3 kB / 0.8389 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.1923, allocations: 86.66 kB / 0.839 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.694e-05/0.1924, allocations: 32.84 kB / 0.839 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.1924, allocations: 0 / 0.839 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.1926, allocations: 87.39 kB / 0.8391 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.1926, allocations: 0 / 0.8391 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0003746/0.193, allocations: 145.5 kB / 0.8392 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.193, allocations: 81.11 kB / 0.8393 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.1933, allocations: 271.2 kB / 0.8396 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.1933, allocations: 37.67 kB / 0.8396 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.662e-05/0.1934, allocations: 116.1 kB / 0.8397 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.1935, allocations: 23.8 kB / 0.8397 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.1935, allocations: 25.7 kB / 0.8398 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1937, allocations: 330.8 kB / 0.8401 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.1937, allocations: 35.92 kB / 0.8401 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.1939, allocations: 122.8 kB / 0.8402 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.194, allocations: 69.69 kB / 0.8403 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.194, allocations: 0 / 0.8403 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002268/0.1942, allocations: 117.5 kB / 0.8404 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1943, allocations: 6.5 kB / 0.8404 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1943, allocations: 4 kB / 0.8404 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1943, allocations: 4 kB / 0.8404 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.407e-05/0.1944, allocations: 12.17 kB / 0.8404 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1944, allocations: 8.062 kB / 0.8404 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.188e-05/0.1944, allocations: 11.89 kB / 0.8404 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.1945, allocations: 4 kB / 0.8404 GB, free: 0.7969 MB / 0.5762 GB 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.0001365/0.1946, allocations: 147.1 kB / 0.8406 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.1946, allocations: 15.91 kB / 0.8406 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.1949, allocations: 127 kB / 0.8407 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.1949, allocations: 0 / 0.8407 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.1949, allocations: 4 kB / 0.8407 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1949, allocations: 3.984 kB / 0.8407 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.1951, allocations: 169.1 kB / 0.8409 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1951, allocations: 0 / 0.8409 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.606e-05/0.1951, allocations: 11.98 kB / 0.8409 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1951, allocations: 0 / 0.8409 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.1952, allocations: 0 / 0.8409 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1952, allocations: 0 / 0.8409 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1952, allocations: 0 / 0.8409 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.1954, allocations: 160.8 kB / 0.8411 GB, free: 108 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/0.1955, allocations: 23.89 kB / 0.8411 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.1955, allocations: 3.984 kB / 0.8411 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.186e-05/0.1955, allocations: 8 kB / 0.8411 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.1956, allocations: 11.98 kB / 0.8411 GB, free: 60 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.1956, allocations: 4 kB / 0.8411 GB, free: 56 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002164/0.1958, allocations: 203.2 kB / 0.8413 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1958, allocations: 0 / 0.8413 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002413/0.1961, allocations: 31.94 kB / 0.8413 GB, free: 15.82 MB / 0.5919 GB 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.001611/0.1977, allocations: 452.6 kB / 0.8418 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.1979, allocations: 83.83 kB / 0.8418 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1979, allocations: 4.062 kB / 0.8418 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.543e-05/0.198, allocations: 31.98 kB / 0.8419 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.1983, allocations: 38.86 kB / 0.8419 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006168/0.1989, allocations: 340.5 kB / 0.8422 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.199, allocations: 114.6 kB / 0.8424 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.1991, allocations: 15.44 kB / 0.8424 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.1991, allocations: 4 kB / 0.8424 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of Templates: time 0.005105/0.2042, allocations: 2.723 MB / 0.845 GB, free: 12.18 MB / 0.5919 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.692937273066491] Failed to read output from testmodel.py, exit status != 0: 0.21158710727468133 0.226105502 0.033116151 Calling exit ...