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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 117.7 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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.002346/0.002346, allocations: 283.8 kB / 303.6 MB, free: 3.641 MB / 238.1 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 1.002/1.002, allocations: 180.9 MB / 0.5268 GB, free: 3.102 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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002679/0.002679, allocations: 103.8 kB / 0.7259 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4775, allocations: 94.15 MB / 0.8179 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.003065/0.4805, allocations: 1.793 MB / 0.8196 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.4823, allocations: 1.119 MB / 0.8207 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.4824, allocations: 1.438 kB / 0.8207 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.4828, allocations: 55.25 kB / 0.8208 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.483, allocations: 80.7 kB / 0.8208 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006496/0.4837, allocations: 219 kB / 0.8211 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.4839, allocations: 152.1 kB / 0.8212 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.4841, allocations: 18.97 kB / 0.8212 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.4842, allocations: 66.88 kB / 0.8213 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.4844, allocations: 68.16 kB / 0.8213 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.4844, allocations: 8.031 kB / 0.8214 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.4846, allocations: 74.84 kB / 0.8214 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.515e-05/0.4847, allocations: 39.92 kB / 0.8215 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.149e-05/0.4848, allocations: 55.88 kB / 0.8215 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.4851, allocations: 199 kB / 0.8217 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.4852, allocations: 4 kB / 0.8217 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4852, allocations: 0.5625 kB / 0.8217 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.4852, allocations: 0 / 0.8217 GB, free: 4.965 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.0007665/0.4859, allocations: 0.4955 MB / 0.8222 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.486, allocations: 9.906 kB / 0.8222 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.971e-05/0.486, allocations: 20.7 kB / 0.8222 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.4864, allocations: 246.1 kB / 0.8225 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.4865, allocations: 3.562 kB / 0.8225 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.4865, allocations: 7.406 kB / 0.8225 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.4867, allocations: 105.1 kB / 0.8226 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.4867, allocations: 0 / 0.8226 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.4867, allocations: 1.344 kB / 0.8226 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.4868, allocations: 3.328 kB / 0.8226 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.4869, allocations: 30.81 kB / 0.8226 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.4874, allocations: 360.8 kB / 0.8229 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.4876, allocations: 79.72 kB / 0.823 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.993e-05/0.4877, allocations: 32.97 kB / 0.8231 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.4877, allocations: 0.7031 kB / 0.8231 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.4879, allocations: 87.28 kB / 0.8231 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.4879, allocations: 7.938 kB / 0.8231 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0003728/0.4883, allocations: 139.5 kB / 0.8233 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.4883, allocations: 107.4 kB / 0.8234 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.4886, allocations: 261.2 kB / 0.8236 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.4886, allocations: 32.33 kB / 0.8237 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/0.4887, allocations: 111.4 kB / 0.8238 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.4887, allocations: 25.02 kB / 0.8238 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.4887, allocations: 27.11 kB / 0.8238 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.4888, allocations: 334.6 kB / 0.8241 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.021e-05/0.4889, allocations: 35.56 kB / 0.8242 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.376e-05/0.489, allocations: 66.19 kB / 0.8242 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.4891, allocations: 71.55 kB / 0.8243 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4891, allocations: 4.609 kB / 0.8243 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001986/0.4893, allocations: 113 kB / 0.8244 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.4893, allocations: 6.562 kB / 0.8244 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4893, allocations: 0.6562 kB / 0.8244 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.4893, allocations: 0 / 0.8244 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.564e-05/0.4894, allocations: 12.64 kB / 0.8244 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4894, allocations: 3.688 kB / 0.8244 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.275e-05/0.4895, allocations: 12.53 kB / 0.8244 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.4895, allocations: 0.6562 kB / 0.8244 GB, free: 2.664 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 9.466e-05/0.4896, allocations: 146.8 kB / 0.8246 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.4896, allocations: 13.86 kB / 0.8246 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.4897, allocations: 18.56 kB / 0.8246 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.4897, allocations: 3.281 kB / 0.8246 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4897, allocations: 4 kB / 0.8246 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.4897, allocations: 4.641 kB / 0.8246 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.4899, allocations: 226.5 kB / 0.8248 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4899, allocations: 3.484 kB / 0.8248 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/0.4899, allocations: 4.328 kB / 0.8249 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4899, allocations: 6.375 kB / 0.8249 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.4899, allocations: 0.5625 kB / 0.8249 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4899, allocations: 0.5156 kB / 0.8249 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4899, allocations: 3.625 kB / 0.8249 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.4901, allocations: 151.2 kB / 0.825 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.4902, allocations: 93.59 kB / 0.8251 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.4902, allocations: 3.609 kB / 0.8251 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.017e-05/0.4902, allocations: 1.125 kB / 0.8251 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.4903, allocations: 24.27 kB / 0.8251 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.4903, allocations: 7.344 kB / 0.8251 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000141/0.4904, allocations: 196.2 kB / 0.8253 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.4904, allocations: 0 / 0.8253 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002418/0.4907, allocations: 28.58 kB / 0.8253 GB, free: 1.949 MB / 0.5762 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.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.001404/0.4921, allocations: 433.5 kB / 0.8258 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.4923, allocations: 73.08 kB / 0.8258 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4923, allocations: 0 / 0.8258 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.596e-05/0.4924, allocations: 31.14 kB / 0.8259 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.4926, allocations: 42.89 kB / 0.8259 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.4931, allocations: 315.9 kB / 0.8262 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.4932, allocations: 0.7285 MB / 0.8269 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.4933, allocations: 20.55 kB / 0.8269 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.4933, allocations: 0 / 0.8269 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of Templates: time 0.004417/0.4977, allocations: 2.619 MB / 0.8295 GB, free: 496 kB / 0.5762 GB " [Timeout remaining time 659] 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.482497445002082] Failed to read output from testmodel.py, exit status != 0: 0.5050354879931547 0.5172588290000001 0.029459408000000003 Calling exit ...