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.0008176/0.0008176, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009869/0.001804, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007051/0.0007051, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009291/0.001634, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9861/0.9861, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08803/1.074, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.001643/0.001643, allocations: 226.1 kB / 244.4 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001535/0.003178, allocations: 479.6 kB / 244.8 MB, free: 14.07 MB / 250.7 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 0.7242/0.7242, allocations: 138.7 MB / 384.3 MB, free: 372 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07374/0.7979, allocations: 42.4 MB / 426.7 MB, free: 5.844 MB / 410.7 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.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.784e-06/1.784e-06, allocations: 0 / 428.1 MB, free: 4.484 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.087e-05, allocations: 6.25 kB / 428.1 MB, free: 4.477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.003341/0.003362, allocations: 1.874 MB / 430 MB, free: 2.586 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.004765, allocations: 1.247 MB / 431.2 MB, free: 1.328 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.717e-05/0.004852, allocations: 0 / 431.2 MB, free: 1.328 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.005047, allocations: 63.61 kB / 431.3 MB, free: 1.266 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.005283, allocations: 131.3 kB / 431.4 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.005699, allocations: 195.2 kB / 431.6 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.005872, allocations: 155.5 kB / 431.7 MB, free: 0.793 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.892e-05/0.005961, allocations: 30.25 kB / 431.8 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.006108, allocations: 123.6 kB / 431.9 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.184e-05/0.0062, allocations: 51.89 kB / 431.9 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.006221, allocations: 12 kB / 431.9 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.006376, allocations: 83.8 kB / 432 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.107e-05/0.006437, allocations: 31.86 kB / 432.1 MB, free: 476 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.006474, allocations: 27.88 kB / 432.1 MB, free: 448 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.006666, allocations: 155.4 kB / 432.2 MB, free: 292 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.006676, allocations: 0 / 432.2 MB, free: 292 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.006677, allocations: 4 kB / 432.2 MB, free: 288 kB / 410.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.006685, allocations: 0 / 432.2 MB, free: 288 kB / 410.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.1983/0.205, allocations: 414.7 kB / 432.6 MB, free: 1.773 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.205, allocations: 10.88 kB / 432.7 MB, free: 1.773 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.2051, allocations: 13.3 kB / 432.7 MB, free: 1.773 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.2053, allocations: 172.6 kB / 432.8 MB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.2053, allocations: 6.219 kB / 432.8 MB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.2053, allocations: 4 kB / 432.8 MB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.2055, allocations: 75.02 kB / 432.9 MB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2055, allocations: 2.625 kB / 432.9 MB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.2055, allocations: 8.625 kB / 432.9 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.2055, allocations: 1.906 kB / 432.9 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.611e-05/0.2055, allocations: 13.38 kB / 432.9 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002875/0.2058, allocations: 198.8 kB / 433.1 MB, free: 1.426 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.2059, allocations: 101.8 kB / 433.2 MB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.432e-05/0.2059, allocations: 16.19 kB / 433.3 MB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.206, allocations: 1.562 kB / 433.3 MB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/0.2061, allocations: 72.34 kB / 433.3 MB, free: 1.289 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.512e-06/0.2061, allocations: 0.5938 kB / 433.3 MB, free: 1.289 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001445/0.2062, allocations: 72.45 kB / 433.4 MB, free: 1.258 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.446e-05/0.2062, allocations: 57.19 kB / 433.5 MB, free: 1.195 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.2064, allocations: 218 kB / 433.7 MB, free: 17.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.2064, allocations: 26.36 kB / 433.7 MB, free: 17.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.2065, allocations: 109.1 kB / 433.8 MB, free: 16.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.2065, allocations: 17.38 kB / 433.8 MB, free: 16.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.2065, allocations: 27.44 kB / 433.8 MB, free: 16.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.2066, allocations: 329.9 kB / 434.2 MB, free: 16.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/0.2066, allocations: 12.47 kB / 434.2 MB, free: 16.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.786e-05/0.2067, allocations: 56.95 kB / 434.2 MB, free: 16.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.925e-05/0.2067, allocations: 48.28 kB / 434.3 MB, free: 16.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2067, allocations: 0.5469 kB / 434.3 MB, free: 16.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001032/0.2068, allocations: 78.08 kB / 434.4 MB, free: 16.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2068, allocations: 6.375 kB / 434.4 MB, free: 16.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2069, allocations: 0.75 kB / 434.4 MB, free: 16.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.2069, allocations: 0.5938 kB / 434.4 MB, free: 16.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.398e-05/0.207, allocations: 16.95 kB / 434.4 MB, free: 16.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.207, allocations: 1.5 kB / 434.4 MB, free: 16.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.207, allocations: 16.98 kB / 434.4 MB, free: 16.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.207, allocations: 2 kB / 434.4 MB, free: 16.5 MB / 426.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 7.669e-05/0.2071, allocations: 125.5 kB / 434.5 MB, free: 16.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.2071, allocations: 12.97 kB / 434.5 MB, free: 16.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.2072, allocations: 74.23 kB / 434.6 MB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.2072, allocations: 7.844 kB / 434.6 MB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.2072, allocations: 0 / 434.6 MB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2072, allocations: 1.312 kB / 434.6 MB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.2074, allocations: 100.9 kB / 434.7 MB, free: 16.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2074, allocations: 0.8125 kB / 434.7 MB, free: 16.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.655e-05/0.2074, allocations: 9.453 kB / 434.7 MB, free: 16.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.2074, allocations: 20.98 kB / 434.7 MB, free: 16.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2074, allocations: 6.719 kB / 434.8 MB, free: 16.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.2074, allocations: 4.578 kB / 434.8 MB, free: 16.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2074, allocations: 0 / 434.8 MB, free: 16.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2074, allocations: 2.875 kB / 434.8 MB, free: 16.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.223e-05/0.2075, allocations: 96.17 kB / 434.9 MB, free: 16.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.2075, allocations: 5.172 kB / 434.9 MB, free: 16.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.298e-05/0.2076, allocations: 10.73 kB / 434.9 MB, free: 16.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.2076, allocations: 11.2 kB / 434.9 MB, free: 16.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.2076, allocations: 7.172 kB / 434.9 MB, free: 16.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.309e-05/0.2077, allocations: 68.02 kB / 435 MB, free: 16.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2077, allocations: 0 / 435 MB, free: 16.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001958/0.2079, allocations: 36.56 kB / 435 MB, free: 16.17 MB / 426.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.001978/0.2099, allocations: 0.5692 MB / 435.6 MB, free: 16.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.21, allocations: 48.84 kB / 435.6 MB, free: 16.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.21, allocations: 1.812 kB / 435.6 MB, free: 16.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.436e-05/0.21, allocations: 29.89 kB / 435.6 MB, free: 16.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.2103, allocations: 220.8 kB / 435.9 MB, free: 15.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/0.2108, allocations: 271.5 kB / 436.1 MB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.925e-05/0.2108, allocations: 75.23 kB / 436.2 MB, free: 15.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.312e-05/0.2108, allocations: 20.81 kB / 436.2 MB, free: 15.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/0.2109, allocations: 78.12 kB / 436.3 MB, free: 15.55 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2109, allocations: 0.5938 kB / 436.3 MB, free: 15.55 MB / 426.7 MB Notification: Performance of Templates: time 0.005509/0.2164, allocations: 2.92 MB / 439.2 MB, free: 15.46 MB / 426.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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5529707111418247]