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.001405/0.001405, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001578/0.001578, allocations: 211.8 kB / 22.24 MB, free: 5.262 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.785 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.002687/0.002687, allocations: 296 kB / 312.7 MB, free: 2.57 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.376/1.376, allocations: 180.6 MB / 0.5369 GB, free: 14.39 MB / 382.1 MB " [Timeout remaining time 178] 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.002979/0.002979, allocations: 108.8 kB / 0.74 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1849, allocations: 95.39 MB / 0.8331 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.003938/0.1888, allocations: 1.775 MB / 0.8349 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.1914, allocations: 1.186 MB / 0.836 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.1916, allocations: 0 / 0.836 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003637/0.1919, allocations: 67.67 kB / 0.8361 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004371/0.1924, allocations: 119.5 kB / 0.8362 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006795/0.193, allocations: 200.6 kB / 0.8364 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.1934, allocations: 159.6 kB / 0.8365 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1935, allocations: 17.56 kB / 0.8366 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.1937, allocations: 67.7 kB / 0.8366 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.1938, allocations: 71.73 kB / 0.8367 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.1938, allocations: 8 kB / 0.8367 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.1941, allocations: 75.94 kB / 0.8368 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.629e-05/0.1942, allocations: 47.78 kB / 0.8368 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.862e-05/0.1942, allocations: 47.66 kB / 0.8369 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.1946, allocations: 211.2 kB / 0.8371 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1946, allocations: 0 / 0.8371 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1946, allocations: 0 / 0.8371 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.1946, allocations: 0 / 0.8371 GB, free: 3.742 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.000779/0.1954, allocations: 434.8 kB / 0.8375 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1955, allocations: 9.344 kB / 0.8375 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.644e-05/0.1955, allocations: 16.84 kB / 0.8375 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.1959, allocations: 202.1 kB / 0.8377 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1959, allocations: 384 / 0.8377 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.196, allocations: 8.125 kB / 0.8377 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.1962, allocations: 121 kB / 0.8378 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1962, allocations: 3.984 kB / 0.8378 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1962, allocations: 0 / 0.8378 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.1962, allocations: 4 kB / 0.8378 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.1964, allocations: 39.91 kB / 0.8379 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/0.1969, allocations: 296.4 kB / 0.8382 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.1972, allocations: 90.66 kB / 0.8382 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.423e-05/0.1972, allocations: 32.84 kB / 0.8383 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.1973, allocations: 0 / 0.8383 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.1975, allocations: 87.39 kB / 0.8384 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.1975, allocations: 0 / 0.8384 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0004783/0.1979, allocations: 145.5 kB / 0.8385 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.198, allocations: 85.11 kB / 0.8386 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.1983, allocations: 271.1 kB / 0.8388 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.1984, allocations: 33.69 kB / 0.8389 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.858e-05/0.1985, allocations: 120.1 kB / 0.839 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.744e-05/0.1986, allocations: 23.8 kB / 0.839 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.1986, allocations: 25.7 kB / 0.839 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002301/0.1988, allocations: 330.8 kB / 0.8393 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.95e-05/0.1989, allocations: 27.98 kB / 0.8394 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.1991, allocations: 118.8 kB / 0.8395 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.1992, allocations: 77.72 kB / 0.8396 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1992, allocations: 0 / 0.8396 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002484/0.1995, allocations: 117.5 kB / 0.8397 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1995, allocations: 4 kB / 0.8397 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1995, allocations: 0 / 0.8397 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1995, allocations: 4 kB / 0.8397 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.344e-05/0.1996, allocations: 11.98 kB / 0.8397 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1996, allocations: 4 kB / 0.8397 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.857e-05/0.1997, allocations: 7.953 kB / 0.8397 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1997, allocations: 4 kB / 0.8397 GB, free: 0.8125 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.0001537/0.1999, allocations: 155.1 kB / 0.8399 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.1999, allocations: 15.91 kB / 0.8399 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.2002, allocations: 123 kB / 0.84 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.2002, allocations: 3.938 kB / 0.84 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.2002, allocations: 3.984 kB / 0.84 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2002, allocations: 7.938 kB / 0.84 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.2004, allocations: 161.2 kB / 0.8402 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2004, allocations: 0 / 0.8402 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.175e-05/0.2004, allocations: 11.98 kB / 0.8402 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2005, allocations: 4 kB / 0.8402 GB, free: 296 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.2005, allocations: 4 kB / 0.8402 GB, free: 292 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2005, allocations: 0 / 0.8402 GB, free: 292 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2005, allocations: 0 / 0.8402 GB, free: 292 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.2008, allocations: 164.9 kB / 0.8403 GB, free: 108 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.2008, allocations: 19.89 kB / 0.8403 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.2008, allocations: 4 kB / 0.8404 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.22e-05/0.2009, allocations: 4 kB / 0.8404 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.2009, allocations: 11.98 kB / 0.8404 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.2009, allocations: 4 kB / 0.8404 GB, free: 64 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002373/0.2012, allocations: 203.2 kB / 0.8406 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2012, allocations: 4 kB / 0.8406 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002647/0.2015, allocations: 31.94 kB / 0.8406 GB, free: 15.83 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.001732/0.2032, allocations: 456.8 kB / 0.841 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.2034, allocations: 83.83 kB / 0.8411 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2034, allocations: 0 / 0.8411 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.671e-05/0.2035, allocations: 31.98 kB / 0.8411 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.2038, allocations: 47.44 kB / 0.8412 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005986/0.2044, allocations: 306.8 kB / 0.8415 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.2046, allocations: 114.5 kB / 0.8416 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.179e-05/0.2046, allocations: 21.42 kB / 0.8416 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/0.2047, allocations: 27.42 kB / 0.8416 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of SimCode: time 3.9e-07/0.2047, allocations: 4 kB / 0.8416 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.006973/0.2117, allocations: 2.772 MB / 0.8444 GB, free: 12.17 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: 6.292071104049683] Failed to read output from testmodel.py, exit status != 0: 0.21942735835909843 0.23585741399999996 0.03791228999999994 Calling exit ...