Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00218/0.00218, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002917/0.002917, allocations: 191.6 kB / 22.11 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 207.6 MB / 232.8 MB, free: 2.797 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.492/0.492, allocations: 55.68 MB / 340.7 MB, free: 11.48 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator") translateModel(Annex60.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003179/0.003179, allocations: 77.86 kB / 482 MB, free: 36.5 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1991, allocations: 62.88 MB / 0.5321 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.IntegerReplicator): time 0.005681/0.2048, allocations: 1.769 MB / 0.5339 GB, free: 9.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002895/0.2076, allocations: 1.03 MB / 0.5349 GB, free: 8.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.2078, allocations: 4 kB / 0.5349 GB, free: 8.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004466/0.2083, allocations: 63.72 kB / 0.5349 GB, free: 8.145 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004543/0.2087, allocations: 79.67 kB / 0.535 GB, free: 8.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.2098, allocations: 191.8 kB / 0.5352 GB, free: 7.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004552/0.2102, allocations: 151.6 kB / 0.5353 GB, free: 7.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.2104, allocations: 13.25 kB / 0.5354 GB, free: 7.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002478/0.2107, allocations: 79.62 kB / 0.5354 GB, free: 7.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.2109, allocations: 75.67 kB / 0.5355 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.389e-05/0.2109, allocations: 8 kB / 0.5355 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003283/0.2113, allocations: 75.94 kB / 0.5356 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.2114, allocations: 43.78 kB / 0.5356 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.2116, allocations: 59.66 kB / 0.5357 GB, free: 7.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005678/0.2121, allocations: 191.3 kB / 0.5359 GB, free: 7.199 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2121, allocations: 0 / 0.5359 GB, free: 7.199 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2121, allocations: 0 / 0.5359 GB, free: 7.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.2121, allocations: 0 / 0.5359 GB, free: 7.199 MB / 398.1 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.001019/0.2132, allocations: 434.8 kB / 0.5363 GB, free: 6.738 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2132, allocations: 8.031 kB / 0.5363 GB, free: 6.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.986e-05/0.2133, allocations: 20.84 kB / 0.5363 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.2138, allocations: 194.9 kB / 0.5365 GB, free: 6.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.2138, allocations: 0 / 0.5365 GB, free: 6.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.2138, allocations: 4 kB / 0.5365 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.2141, allocations: 100.2 kB / 0.5366 GB, free: 6.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2141, allocations: 0 / 0.5366 GB, free: 6.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.2142, allocations: 4 kB / 0.5366 GB, free: 6.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.2142, allocations: 4 kB / 0.5366 GB, free: 6.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.2144, allocations: 27.98 kB / 0.5366 GB, free: 6.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007561/0.2151, allocations: 331.7 kB / 0.5369 GB, free: 5.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.2155, allocations: 86.66 kB / 0.537 GB, free: 5.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.2156, allocations: 28.84 kB / 0.5371 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.2156, allocations: 4 kB / 0.5371 GB, free: 5.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002648/0.2159, allocations: 87.39 kB / 0.5371 GB, free: 5.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 2.024e-06/0.2159, allocations: 0 / 0.5371 GB, free: 5.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005994/0.2165, allocations: 129.6 kB / 0.5373 GB, free: 5.613 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.2166, allocations: 114.8 kB / 0.5374 GB, free: 5.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004603/0.2171, allocations: 259.2 kB / 0.5376 GB, free: 5.215 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.2171, allocations: 33.7 kB / 0.5377 GB, free: 5.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.2172, allocations: 116.1 kB / 0.5378 GB, free: 5.059 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.2173, allocations: 15.84 kB / 0.5378 GB, free: 5.043 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.361e-05/0.2174, allocations: 33.69 kB / 0.5378 GB, free: 5.004 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.2176, allocations: 330.8 kB / 0.5381 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.2177, allocations: 23.98 kB / 0.5382 GB, free: 4.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.2179, allocations: 84.14 kB / 0.5382 GB, free: 4.551 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.2182, allocations: 65.7 kB / 0.5383 GB, free: 4.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2182, allocations: 0 / 0.5383 GB, free: 4.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004056/0.2186, allocations: 113.5 kB / 0.5384 GB, free: 4.363 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.2186, allocations: 10.19 kB / 0.5384 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2186, allocations: 8.031 kB / 0.5384 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2186, allocations: 0 / 0.5384 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.2188, allocations: 15.94 kB / 0.5384 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.2188, allocations: 0 / 0.5384 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.2189, allocations: 11.94 kB / 0.5384 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.2189, allocations: 4 kB / 0.5385 GB, free: 4.316 MB / 398.1 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.0002183/0.2191, allocations: 145.8 kB / 0.5386 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.2192, allocations: 15.91 kB / 0.5386 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.161e-05/0.2192, allocations: 21.39 kB / 0.5386 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.2193, allocations: 7.938 kB / 0.5386 GB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2193, allocations: 0 / 0.5386 GB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2193, allocations: 0 / 0.5386 GB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.2196, allocations: 196.7 kB / 0.5388 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2196, allocations: 0 / 0.5388 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/0.2196, allocations: 4 kB / 0.5388 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2196, allocations: 0 / 0.5388 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.2197, allocations: 7.984 kB / 0.5388 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.2197, allocations: 4.328 kB / 0.5388 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2197, allocations: 0 / 0.5388 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.2201, allocations: 148.9 kB / 0.539 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.2202, allocations: 19.83 kB / 0.539 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.2202, allocations: 4 kB / 0.539 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.562e-05/0.2203, allocations: 3.938 kB / 0.539 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.2204, allocations: 15.97 kB / 0.539 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.2204, allocations: 4 kB / 0.539 GB, free: 3.656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003575/0.2207, allocations: 196.4 kB / 0.5392 GB, free: 3.465 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2207, allocations: 8 kB / 0.5392 GB, free: 3.457 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004567/0.2212, allocations: 31.95 kB / 0.5392 GB, free: 3.426 MB / 398.1 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.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.002043/0.2232, allocations: 427.5 kB / 0.5397 GB, free: 3.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000314/0.2235, allocations: 67.89 kB / 0.5397 GB, free: 3.094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2235, allocations: 0 / 0.5397 GB, free: 3.094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.2237, allocations: 31.97 kB / 0.5398 GB, free: 3.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.2241, allocations: 45.88 kB / 0.5398 GB, free: 3.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007689/0.2249, allocations: 302.6 kB / 0.5401 GB, free: 2.691 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.2253, allocations: 0.7162 MB / 0.5408 GB, free: 1.949 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.2255, allocations: 29.36 kB / 0.5408 GB, free: 1.922 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.622e-05/0.2255, allocations: 27.42 kB / 0.5408 GB, free: 1.895 MB / 398.1 MB Notification: Performance of SimCode: time 4.5e-07/0.2255, allocations: 3.938 kB / 0.5408 GB, free: 1.891 MB / 398.1 MB Notification: Performance of Templates: time 0.009715/0.2352, allocations: 2.581 MB / 0.5434 GB, free: 15.32 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.763441407121718] Failed to read output from testmodel.py, exit status != 0: 0.2464609518647194 0.273466786 0.055195615 Calling exit ...