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.001349/0.001349, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001526/0.001526, allocations: 157.6 kB / 22.75 MB, free: 1.684 MB / 18.57 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.461/1.461, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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.003212/0.003212, allocations: 226.6 kB / 259.8 MB, free: 12.84 MB / 250.7 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.08/1.08, allocations: 138.5 MB / 454.7 MB, free: 1.453 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.5543 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.525e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.003487/0.003513, allocations: 1.781 MB / 0.5561 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.005913, allocations: 1.197 MB / 0.5572 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.006017, allocations: 4 kB / 0.5573 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.006321, allocations: 55.67 kB / 0.5573 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004168/0.006737, allocations: 127.4 kB / 0.5574 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005884/0.007326, allocations: 191.3 kB / 0.5576 GB, free: 13.44 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.007656, allocations: 163.5 kB / 0.5578 GB, free: 13.28 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.007768, allocations: 21.56 kB / 0.5578 GB, free: 13.26 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.007941, allocations: 83.8 kB / 0.5579 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.008075, allocations: 63.8 kB / 0.5579 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.008102, allocations: 8 kB / 0.5579 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.008288, allocations: 75.88 kB / 0.558 GB, free: 13.03 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.585e-05/0.008384, allocations: 43.83 kB / 0.558 GB, free: 12.99 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.434e-05/0.008458, allocations: 35.86 kB / 0.5581 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004119/0.00887, allocations: 223.2 kB / 0.5583 GB, free: 12.73 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.008874, allocations: 0 / 0.5583 GB, free: 12.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008875, allocations: 0 / 0.5583 GB, free: 12.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.008883, allocations: 0 / 0.5583 GB, free: 12.73 MB / 490.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.0007778/0.00966, allocations: 426.9 kB / 0.5587 GB, free: 12.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.009696, allocations: 8.75 kB / 0.5587 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.16e-05/0.009777, allocations: 20.8 kB / 0.5587 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00045/0.01023, allocations: 198.5 kB / 0.5589 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.01026, allocations: 4.375 kB / 0.5589 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.01028, allocations: 12.38 kB / 0.5589 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.01055, allocations: 109.6 kB / 0.559 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.01056, allocations: 7.875 kB / 0.559 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.01057, allocations: 0 / 0.559 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.01059, allocations: 7.984 kB / 0.5591 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.01073, allocations: 39.91 kB / 0.5591 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005682/0.01129, allocations: 292.4 kB / 0.5594 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.01155, allocations: 90.62 kB / 0.5595 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.064e-05/0.01164, allocations: 32.84 kB / 0.5595 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.01166, allocations: 4 kB / 0.5595 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.01186, allocations: 87.36 kB / 0.5596 GB, free: 11.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.01186, allocations: 0 / 0.5596 GB, free: 11.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004305/0.01229, allocations: 145.5 kB / 0.5597 GB, free: 11.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.01236, allocations: 81.11 kB / 0.5598 GB, free: 11.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/0.01271, allocations: 279.1 kB / 0.5601 GB, free: 10.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.01274, allocations: 29.7 kB / 0.5601 GB, free: 10.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.01284, allocations: 116.1 kB / 0.5602 GB, free: 10.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.01287, allocations: 27.83 kB / 0.5602 GB, free: 10.58 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/0.01293, allocations: 29.72 kB / 0.5603 GB, free: 10.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.01311, allocations: 326.8 kB / 0.5606 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.388e-05/0.01321, allocations: 31.98 kB / 0.5606 GB, free: 10.19 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.01335, allocations: 114.8 kB / 0.5607 GB, free: 10.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.01353, allocations: 81.58 kB / 0.5608 GB, free: 9.965 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01353, allocations: 0 / 0.5608 GB, free: 9.965 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002583/0.01379, allocations: 113.6 kB / 0.5609 GB, free: 9.848 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.01381, allocations: 11.94 kB / 0.5609 GB, free: 9.836 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.01381, allocations: 64 / 0.5609 GB, free: 9.836 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.01383, allocations: 4 kB / 0.5609 GB, free: 9.832 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.667e-05/0.01392, allocations: 12 kB / 0.5609 GB, free: 9.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.01393, allocations: 0 / 0.5609 GB, free: 9.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.274e-05/0.014, allocations: 11.92 kB / 0.5609 GB, free: 9.809 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.01402, allocations: 8 kB / 0.5609 GB, free: 9.801 MB / 490.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 0.0001612/0.01418, allocations: 145.8 kB / 0.5611 GB, free: 9.648 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.01422, allocations: 23.86 kB / 0.5611 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003047/0.01453, allocations: 135.4 kB / 0.5612 GB, free: 9.484 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.01453, allocations: 4 kB / 0.5612 GB, free: 9.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01454, allocations: 0 / 0.5612 GB, free: 9.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.01454, allocations: 0 / 0.5612 GB, free: 9.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.01474, allocations: 165.2 kB / 0.5614 GB, free: 9.289 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01475, allocations: 0 / 0.5614 GB, free: 9.289 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.069e-05/0.01482, allocations: 11.98 kB / 0.5614 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.01482, allocations: 0 / 0.5614 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.01483, allocations: 0 / 0.5614 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01483, allocations: 0 / 0.5614 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01484, allocations: 0 / 0.5614 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.01531, allocations: 164.8 kB / 0.5616 GB, free: 9.098 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.01534, allocations: 19.91 kB / 0.5616 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.01538, allocations: 4 kB / 0.5616 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.164e-05/0.01544, allocations: 3.984 kB / 0.5616 GB, free: 9.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.01549, allocations: 11.98 kB / 0.5616 GB, free: 9.059 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.01551, allocations: 4 kB / 0.5616 GB, free: 9.055 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002473/0.01576, allocations: 203.2 kB / 0.5618 GB, free: 8.855 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01576, allocations: 0 / 0.5618 GB, free: 8.855 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000304/0.01606, allocations: 31.94 kB / 0.5618 GB, free: 8.824 MB / 490.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.001964/0.01802, allocations: 466.1 kB / 0.5623 GB, free: 8.547 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002523/0.01828, allocations: 75.94 kB / 0.5623 GB, free: 8.473 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01828, allocations: 0 / 0.5623 GB, free: 8.473 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.01838, allocations: 39.92 kB / 0.5624 GB, free: 8.434 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.0187, allocations: 41.64 kB / 0.5624 GB, free: 8.395 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000682/0.01939, allocations: 312.2 kB / 0.5627 GB, free: 8.062 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.01953, allocations: 114.8 kB / 0.5628 GB, free: 7.934 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.438e-05/0.01962, allocations: 25.78 kB / 0.5628 GB, free: 7.906 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.01969, allocations: 28.48 kB / 0.5629 GB, free: 7.879 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01969, allocations: 0 / 0.5629 GB, free: 7.879 MB / 490.7 MB Notification: Performance of Templates: time 0.007337/0.02702, allocations: 2.692 MB / 0.5655 GB, free: 5.23 MB / 490.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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.595761216944084]