Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001001/0.001001, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009872/0.0009872, allocations: 181 kB / 23.36 MB, free: 1.133 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.139/1.139, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8273/0.8273, allocations: 154.9 MB / 415.1 MB, free: 220 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0.6562 kB / 480.4 MB, free: 6.465 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.545e-05/1.681e-05, allocations: 3.578 kB / 480.4 MB, free: 6.461 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002357/0.002374, allocations: 1.871 MB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.003821, allocations: 1.248 MB / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.204e-05/0.003903, allocations: 0.9844 kB / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.004161, allocations: 53.84 kB / 483.6 MB, free: 3.332 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.004396, allocations: 122.4 kB / 483.7 MB, free: 3.219 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.004739, allocations: 194.4 kB / 483.9 MB, free: 3.031 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.0049, allocations: 158.5 kB / 484 MB, free: 2.879 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.446e-05/0.004984, allocations: 18.28 kB / 484.1 MB, free: 2.855 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.005099, allocations: 97.11 kB / 484.2 MB, free: 2.762 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.669e-05/0.005176, allocations: 47.88 kB / 484.2 MB, free: 2.715 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.005192, allocations: 8 kB / 484.2 MB, free: 2.707 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.005331, allocations: 88.39 kB / 484.3 MB, free: 2.621 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.484e-05/0.005386, allocations: 39.83 kB / 484.3 MB, free: 2.582 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/0.005423, allocations: 33.45 kB / 484.4 MB, free: 2.551 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.005621, allocations: 171.3 kB / 484.5 MB, free: 2.383 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.005623, allocations: 0 / 484.5 MB, free: 2.383 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005624, allocations: 0 / 484.5 MB, free: 2.383 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.005627, allocations: 0.6875 kB / 484.5 MB, free: 2.383 MB / 442.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.0003819/0.006009, allocations: 408.6 kB / 484.9 MB, free: 1.957 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.663e-05/0.006035, allocations: 9.094 kB / 484.9 MB, free: 1.949 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.006068, allocations: 8.938 kB / 485 MB, free: 1.941 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.006232, allocations: 176.4 kB / 485.1 MB, free: 1.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.006247, allocations: 4.375 kB / 485.1 MB, free: 1.746 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-06/0.006256, allocations: 6.531 kB / 485.1 MB, free: 1.742 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.006368, allocations: 77.69 kB / 485.2 MB, free: 1.656 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.006375, allocations: 3.938 kB / 485.2 MB, free: 1.652 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.006382, allocations: 0 / 485.2 MB, free: 1.652 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.006399, allocations: 3.984 kB / 485.2 MB, free: 1.648 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.035e-05/0.006429, allocations: 17.38 kB / 485.2 MB, free: 1.633 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002466/0.006675, allocations: 197.8 kB / 485.4 MB, free: 1.422 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.938e-05/0.006775, allocations: 100.8 kB / 485.5 MB, free: 1.312 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.131e-05/0.006796, allocations: 18.25 kB / 485.5 MB, free: 1.293 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.006807, allocations: 7.875 kB / 485.6 MB, free: 1.285 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.289e-05/0.006889, allocations: 70.2 kB / 485.6 MB, free: 1.203 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.006891, allocations: 0.6562 kB / 485.6 MB, free: 1.203 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001179/0.007009, allocations: 70.25 kB / 485.7 MB, free: 1.129 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.007029, allocations: 51.41 kB / 485.7 MB, free: 1.066 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.007157, allocations: 226.2 kB / 486 MB, free: 0.832 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.007172, allocations: 26.33 kB / 486 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.00721, allocations: 108.5 kB / 486.1 MB, free: 0.6914 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.007231, allocations: 16.52 kB / 486.1 MB, free: 0.6758 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.007264, allocations: 29.69 kB / 486.1 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.569e-05/0.007339, allocations: 331.4 kB / 486.5 MB, free: 316 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.007357, allocations: 11.45 kB / 486.5 MB, free: 304 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.604e-05/0.007393, allocations: 56.25 kB / 486.5 MB, free: 232 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.079e-05/0.007444, allocations: 44.59 kB / 486.6 MB, free: 180 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.007446, allocations: 5.656 kB / 486.6 MB, free: 176 kB / 442.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.555e-05/0.007521, allocations: 72.44 kB / 486.6 MB, free: 96 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.007533, allocations: 8 kB / 486.7 MB, free: 88 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.007537, allocations: 0 / 486.7 MB, free: 88 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.007547, allocations: 0.9062 kB / 486.7 MB, free: 88 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.999e-05/0.007607, allocations: 19.92 kB / 486.7 MB, free: 68 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-06/0.007609, allocations: 1 kB / 486.7 MB, free: 68 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.154e-05/0.007641, allocations: 11.89 kB / 486.7 MB, free: 56 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.007647, allocations: 3.984 kB / 486.7 MB, free: 52 kB / 442.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.861e-05/0.007726, allocations: 122.5 kB / 486.8 MB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.007741, allocations: 15.92 kB / 486.8 MB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.418e-05/0.007835, allocations: 75.08 kB / 486.9 MB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.007842, allocations: 5.25 kB / 486.9 MB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.007843, allocations: 0 / 486.9 MB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.007849, allocations: 7.984 kB / 486.9 MB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.846e-05/0.007938, allocations: 101 kB / 487 MB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.007939, allocations: 0 / 487 MB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.57e-05/0.007964, allocations: 8 kB / 487 MB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.007967, allocations: 4 kB / 487 MB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.007974, allocations: 7.922 kB / 487 MB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.007975, allocations: 1.688 kB / 487 MB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007975, allocations: 0 / 487 MB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.799e-05/0.008053, allocations: 98.69 kB / 487.1 MB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.008068, allocations: 11.91 kB / 487.1 MB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.008087, allocations: 12.55 kB / 487.2 MB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.346e-05/0.008111, allocations: 5.875 kB / 487.2 MB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.00814, allocations: 3.984 kB / 487.2 MB, free: 15.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.008149, allocations: 8 kB / 487.2 MB, free: 15.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.739e-05/0.008207, allocations: 75.55 kB / 487.2 MB, free: 15.45 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008207, allocations: 0 / 487.2 MB, free: 15.45 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001401/0.008347, allocations: 37.05 kB / 487.3 MB, free: 15.41 MB / 458.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.001188/0.009535, allocations: 0.5264 MB / 487.8 MB, free: 15.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.008e-05/0.009625, allocations: 41.77 kB / 487.8 MB, free: 15.15 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.009628, allocations: 0 / 487.8 MB, free: 15.15 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.197e-05/0.00966, allocations: 25.45 kB / 487.9 MB, free: 15.12 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.009794, allocations: 42.52 kB / 487.9 MB, free: 15.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.01011, allocations: 274.1 kB / 488.2 MB, free: 14.79 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.141e-05/0.01015, allocations: 75.81 kB / 488.3 MB, free: 14.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.324e-05/0.01019, allocations: 22.81 kB / 488.3 MB, free: 14.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.838e-05/0.01027, allocations: 75.36 kB / 488.4 MB, free: 14.6 MB / 458.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01027, allocations: 0.7812 kB / 488.4 MB, free: 14.6 MB / 458.7 MB Notification: Performance of Templates: time 0.004636/0.01491, allocations: 2.815 MB / 491.2 MB, free: 12 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.841047114226967]