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.001287/0.001287, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001268/0.001268, allocations: 159.7 kB / 23.01 MB, free: 4.602 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.346/1.346, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 179] 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.002374/0.002374, allocations: 232.6 kB / 260 MB, free: 472 kB / 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 0.8877/0.8877, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.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.002871/0.002871, allocations: 99.19 kB / 0.6473 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3802, allocations: 95.35 MB / 0.7405 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.002602/0.3828, allocations: 1.774 MB / 0.7422 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.3844, allocations: 1.19 MB / 0.7434 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.334e-05/0.3844, allocations: 1.344 kB / 0.7434 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.3847, allocations: 62.78 kB / 0.7434 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.385, allocations: 120.4 kB / 0.7435 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.3854, allocations: 195.7 kB / 0.7437 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.3856, allocations: 162.8 kB / 0.7439 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 9.252e-05/0.3857, allocations: 17.95 kB / 0.7439 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 8.89e-05/0.3858, allocations: 68.53 kB / 0.744 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.3859, allocations: 73.03 kB / 0.744 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.3859, allocations: 7.312 kB / 0.744 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.386, allocations: 77.91 kB / 0.7441 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/0.3861, allocations: 37.38 kB / 0.7441 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.412e-05/0.3862, allocations: 55.88 kB / 0.7442 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.3864, allocations: 212.5 kB / 0.7444 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.3864, allocations: 0 / 0.7444 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3864, allocations: 0 / 0.7444 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.3864, allocations: 0 / 0.7444 GB, free: 14.95 MB / 0.5919 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.0004983/0.3869, allocations: 432.2 kB / 0.7448 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.782e-05/0.387, allocations: 14.88 kB / 0.7448 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.387, allocations: 17.8 kB / 0.7448 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.3872, allocations: 192.2 kB / 0.745 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.3873, allocations: 3.828 kB / 0.745 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.3873, allocations: 14.81 kB / 0.745 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.3875, allocations: 119.8 kB / 0.7452 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3875, allocations: 3.984 kB / 0.7452 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3875, allocations: 1.375 kB / 0.7452 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.3875, allocations: 2.406 kB / 0.7452 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.3876, allocations: 37.11 kB / 0.7452 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.388, allocations: 298.5 kB / 0.7455 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.3882, allocations: 87.58 kB / 0.7456 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.871e-05/0.3882, allocations: 32.25 kB / 0.7456 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.3882, allocations: 4 kB / 0.7456 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.3884, allocations: 90.19 kB / 0.7457 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.432e-06/0.3884, allocations: 0 / 0.7457 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0003428/0.3887, allocations: 144.5 kB / 0.7458 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.3888, allocations: 79.23 kB / 0.7459 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.389, allocations: 273.1 kB / 0.7462 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.389, allocations: 27.48 kB / 0.7462 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.389, allocations: 117.9 kB / 0.7463 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.3891, allocations: 25.33 kB / 0.7463 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.3891, allocations: 28.92 kB / 0.7463 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.3892, allocations: 333.5 kB / 0.7467 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-05/0.3892, allocations: 26.95 kB / 0.7467 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.17e-05/0.3893, allocations: 120 kB / 0.7468 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.3894, allocations: 67.83 kB / 0.7469 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.3894, allocations: 0 / 0.7469 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001974/0.3896, allocations: 116.6 kB / 0.747 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.3897, allocations: 10.12 kB / 0.747 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3897, allocations: 4.062 kB / 0.747 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3897, allocations: 5.438 kB / 0.747 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.872e-05/0.3898, allocations: 17.58 kB / 0.747 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.3898, allocations: 192 / 0.747 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.37e-05/0.3898, allocations: 12.95 kB / 0.747 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.3898, allocations: 7.578 kB / 0.747 GB, free: 12.82 MB / 0.5919 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 8.45e-05/0.3899, allocations: 148.4 kB / 0.7472 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.39, allocations: 17.09 kB / 0.7472 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.3902, allocations: 131 kB / 0.7473 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.3902, allocations: 6.75 kB / 0.7473 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3902, allocations: 4.969 kB / 0.7473 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3902, allocations: 1.375 kB / 0.7473 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.3903, allocations: 158.2 kB / 0.7475 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3903, allocations: 0 / 0.7475 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.483e-05/0.3904, allocations: 8.047 kB / 0.7475 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3904, allocations: 1.312 kB / 0.7475 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3904, allocations: 6.562 kB / 0.7475 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3904, allocations: 1.359 kB / 0.7475 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3904, allocations: 0 / 0.7475 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.3906, allocations: 160 kB / 0.7477 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.3906, allocations: 19.77 kB / 0.7477 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.3907, allocations: 1.938 kB / 0.7477 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.595e-05/0.3907, allocations: 7.766 kB / 0.7477 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.3908, allocations: 7.453 kB / 0.7477 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.3908, allocations: 5.172 kB / 0.7477 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001541/0.3909, allocations: 201.3 kB / 0.7479 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3909, allocations: 0 / 0.7479 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002386/0.3912, allocations: 34.5 kB / 0.7479 GB, free: 12.21 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.001501/0.3927, allocations: 468.6 kB / 0.7484 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.3929, allocations: 74.62 kB / 0.7484 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3929, allocations: 0 / 0.7484 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.442e-05/0.393, allocations: 36.28 kB / 0.7485 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.3932, allocations: 34.02 kB / 0.7485 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004267/0.3937, allocations: 306.4 kB / 0.7488 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.619e-05/0.3938, allocations: 116.1 kB / 0.7489 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.814e-05/0.3938, allocations: 24.61 kB / 0.7489 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.3939, allocations: 25.94 kB / 0.749 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.3939, allocations: 0 / 0.749 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of Templates: time 0.005805/0.3997, allocations: 2.687 MB / 0.7516 GB, free: 11.34 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.501720634987578] Failed to read output from testmodel.py, exit status != 0: 0.4070886359550059 0.41722040800000004 0.028498722 Calling exit ...