Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001537/0.001537, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001827/0.001827, allocations: 221.1 kB / 23 MB, free: 4.973 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.604/1.604, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.042/1.042, allocations: 149.9 MB / 463 MB, free: 10.36 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: IBPSA 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.002313/0.002313, allocations: 63.34 kB / 0.6415 GB, free: 9.629 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1997, allocations: 89.17 MB / 0.7286 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003843/0.2035, allocations: 1.774 MB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002482/0.206, allocations: 1.189 MB / 0.7315 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.2061, allocations: 4 kB / 0.7315 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.2065, allocations: 55.73 kB / 0.7316 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004098/0.2069, allocations: 123.5 kB / 0.7317 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006114/0.2075, allocations: 201.6 kB / 0.7319 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.2077, allocations: 151.6 kB / 0.732 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.2079, allocations: 17.62 kB / 0.732 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.208, allocations: 63.77 kB / 0.7321 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.2082, allocations: 79.61 kB / 0.7322 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.2082, allocations: 8 kB / 0.7322 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.2084, allocations: 79.92 kB / 0.7323 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.86e-05/0.2085, allocations: 39.91 kB / 0.7323 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.2086, allocations: 47.61 kB / 0.7324 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.2089, allocations: 207.2 kB / 0.7325 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.209, allocations: 0 / 0.7325 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.209, allocations: 4 kB / 0.7326 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.209, allocations: 0 / 0.7326 GB, free: 12.48 MB / 0.5606 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.0008137/0.2098, allocations: 430.8 kB / 0.733 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2098, allocations: 8.031 kB / 0.733 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.847e-05/0.2099, allocations: 20.78 kB / 0.733 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.2103, allocations: 198.2 kB / 0.7332 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.2103, allocations: 8.375 kB / 0.7332 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.2104, allocations: 4.125 kB / 0.7332 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.2106, allocations: 117 kB / 0.7333 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2106, allocations: 4 kB / 0.7333 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.2106, allocations: 8 kB / 0.7333 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.2106, allocations: 0 / 0.7333 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.2108, allocations: 31.98 kB / 0.7333 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.2113, allocations: 288.4 kB / 0.7336 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.2116, allocations: 86.69 kB / 0.7337 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.852e-05/0.2116, allocations: 40.78 kB / 0.7337 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.2117, allocations: 4 kB / 0.7337 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.2119, allocations: 91.33 kB / 0.7338 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.2119, allocations: 0 / 0.7338 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003867/0.2123, allocations: 141.5 kB / 0.734 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.2123, allocations: 77.11 kB / 0.734 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.2126, allocations: 279.1 kB / 0.7343 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.2127, allocations: 29.7 kB / 0.7343 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.2128, allocations: 120.1 kB / 0.7345 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.2128, allocations: 23.78 kB / 0.7345 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-05/0.2129, allocations: 37.69 kB / 0.7345 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.2131, allocations: 330.8 kB / 0.7348 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.319e-05/0.2131, allocations: 27.98 kB / 0.7349 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.2133, allocations: 114.8 kB / 0.735 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.2135, allocations: 73.58 kB / 0.735 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2135, allocations: 0 / 0.735 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002465/0.2137, allocations: 117.5 kB / 0.7351 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.2137, allocations: 12.06 kB / 0.7352 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2137, allocations: 0 / 0.7352 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.2138, allocations: 0 / 0.7352 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.2139, allocations: 15.98 kB / 0.7352 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2139, allocations: 0 / 0.7352 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.617e-05/0.2139, allocations: 4 kB / 0.7352 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.2139, allocations: 4 kB / 0.7352 GB, free: 9.559 MB / 0.5606 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.000156/0.2141, allocations: 145.8 kB / 0.7353 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.2141, allocations: 19.86 kB / 0.7353 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.2144, allocations: 135 kB / 0.7355 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.2144, allocations: 4 kB / 0.7355 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2144, allocations: 0 / 0.7355 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.2144, allocations: 3.984 kB / 0.7355 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.2146, allocations: 173.1 kB / 0.7356 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2147, allocations: 192 / 0.7356 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-05/0.2147, allocations: 11.92 kB / 0.7356 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2147, allocations: 3.938 kB / 0.7357 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.2147, allocations: 4 kB / 0.7357 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2147, allocations: 4 kB / 0.7357 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2147, allocations: 4 kB / 0.7357 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.215, allocations: 148.9 kB / 0.7358 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.215, allocations: 23.86 kB / 0.7358 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.2151, allocations: 3.984 kB / 0.7358 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.976e-05/0.2151, allocations: 0 / 0.7358 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.2152, allocations: 15.92 kB / 0.7358 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.2152, allocations: 4 kB / 0.7359 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002213/0.2154, allocations: 212.5 kB / 0.7361 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2154, allocations: 0 / 0.7361 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002709/0.2157, allocations: 35.92 kB / 0.7361 GB, free: 8.562 MB / 0.5606 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.001794/0.2175, allocations: 451 kB / 0.7365 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002753/0.2178, allocations: 79.81 kB / 0.7366 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.2178, allocations: 4 kB / 0.7366 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.305e-05/0.2179, allocations: 31.98 kB / 0.7366 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.2182, allocations: 47.48 kB / 0.7367 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006891/0.2188, allocations: 303 kB / 0.737 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.219, allocations: 118.6 kB / 0.7371 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.058e-05/0.2191, allocations: 21.42 kB / 0.7371 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.2191, allocations: 23.42 kB / 0.7371 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of SimCode: time 7.11e-07/0.2191, allocations: 3.938 kB / 0.7371 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of Templates: time 0.007331/0.2265, allocations: 2.752 MB / 0.7398 GB, free: 4.961 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.224195232614875] Failed to read output from testmodel.py, exit status != 0: 0.2358764372766018 0.261953502 0.04821294 Calling exit ...