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.0007393/0.0007393, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0007389/0.0007389, allocations: 177.9 kB / 23.22 MB, free: 1.332 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 0.8581/0.8581, allocations: 177.2 MB / 203.5 MB, free: 5.742 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-531:190: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-531:198: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.6995/0.6995, allocations: 154.5 MB / 414.5 MB, free: 0.8359 MB / 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.583e-06/1.583e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.717e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.00334/0.003367, allocations: 1.783 MB / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00188/0.005247, allocations: 1.188 MB / 0.6222 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.627e-05/0.005343, allocations: 7.938 kB / 0.6222 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.005673, allocations: 55.67 kB / 0.6222 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003684/0.006042, allocations: 119.5 kB / 0.6224 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005457/0.006587, allocations: 206.7 kB / 0.6226 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.006822, allocations: 163.5 kB / 0.6227 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.00693, allocations: 9.625 kB / 0.6227 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.007073, allocations: 91.73 kB / 0.6228 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.007192, allocations: 63.8 kB / 0.6229 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.007217, allocations: 8 kB / 0.6229 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.007383, allocations: 79.86 kB / 0.6229 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.633e-05/0.00746, allocations: 43.84 kB / 0.623 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.959e-05/0.007519, allocations: 31.86 kB / 0.623 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.007838, allocations: 215.3 kB / 0.6232 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.00784, allocations: 4 kB / 0.6232 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.32e-07/0.007841, allocations: 0 / 0.6232 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.007845, allocations: 3.938 kB / 0.6232 GB, free: 9.129 MB / 0.5886 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.0006169/0.008462, allocations: 426.9 kB / 0.6236 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.008514, allocations: 9.469 kB / 0.6237 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.008565, allocations: 20.83 kB / 0.6237 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.008807, allocations: 197.3 kB / 0.6239 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.008821, allocations: 4.375 kB / 0.6239 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.008832, allocations: 4.375 kB / 0.6239 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.009001, allocations: 121.6 kB / 0.624 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.009009, allocations: 11.88 kB / 0.624 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.009018, allocations: 0 / 0.624 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.009025, allocations: 0 / 0.624 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.945e-05/0.009095, allocations: 43.91 kB / 0.624 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.009444, allocations: 284.5 kB / 0.6243 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.009581, allocations: 90.62 kB / 0.6244 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.247e-05/0.009623, allocations: 28.84 kB / 0.6244 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.009637, allocations: 7.984 kB / 0.6244 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.009752, allocations: 87.33 kB / 0.6245 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.009753, allocations: 0 / 0.6245 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002285/0.009981, allocations: 145.5 kB / 0.6247 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.01002, allocations: 85.05 kB / 0.6247 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.0102, allocations: 267.2 kB / 0.625 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.01021, allocations: 29.7 kB / 0.625 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.01027, allocations: 120.1 kB / 0.6251 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.01029, allocations: 19.84 kB / 0.6251 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.01032, allocations: 25.7 kB / 0.6252 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.448e-05/0.0104, allocations: 326.8 kB / 0.6255 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.489e-05/0.01045, allocations: 31.98 kB / 0.6255 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.869e-05/0.01052, allocations: 114.8 kB / 0.6256 GB, free: 6.461 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.748e-05/0.01061, allocations: 81.56 kB / 0.6257 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01061, allocations: 192 / 0.6257 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001254/0.01073, allocations: 113.9 kB / 0.6258 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.01074, allocations: 7.938 kB / 0.6258 GB, free: 6.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.01075, allocations: 80 / 0.6258 GB, free: 6.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.01076, allocations: 4 kB / 0.6258 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.014e-05/0.01082, allocations: 19.98 kB / 0.6258 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.01082, allocations: 7.984 kB / 0.6258 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.643e-05/0.01086, allocations: 11.95 kB / 0.6259 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.01087, allocations: 4 kB / 0.6259 GB, free: 6.203 MB / 0.5886 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 8.553e-05/0.01095, allocations: 147.7 kB / 0.626 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.01097, allocations: 11.91 kB / 0.626 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.01113, allocations: 135 kB / 0.6261 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.01114, allocations: 3.984 kB / 0.6261 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.01114, allocations: 0 / 0.6261 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.01115, allocations: 4 kB / 0.6262 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.01126, allocations: 177.1 kB / 0.6263 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01126, allocations: 0 / 0.6263 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.01128, allocations: 8 kB / 0.6263 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.01128, allocations: 0 / 0.6263 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.01129, allocations: 4 kB / 0.6263 GB, free: 5.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.01129, allocations: 0 / 0.6263 GB, free: 5.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.01129, allocations: 0 / 0.6263 GB, free: 5.68 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.01143, allocations: 148.9 kB / 0.6265 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.01145, allocations: 23.89 kB / 0.6265 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.01146, allocations: 0 / 0.6265 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.36e-05/0.01149, allocations: 8 kB / 0.6265 GB, free: 5.484 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.01153, allocations: 11.98 kB / 0.6265 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.01154, allocations: 4 kB / 0.6265 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001207/0.01166, allocations: 208.6 kB / 0.6267 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01166, allocations: 0 / 0.6267 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001618/0.01182, allocations: 35.92 kB / 0.6268 GB, free: 5.23 MB / 0.5886 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.0006722/0.01249, allocations: 455.2 kB / 0.6272 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.01263, allocations: 75.91 kB / 0.6273 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01263, allocations: 0 / 0.6273 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.734e-05/0.01268, allocations: 35.92 kB / 0.6273 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.01285, allocations: 49.2 kB / 0.6273 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.01323, allocations: 339.8 kB / 0.6277 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.131e-05/0.0133, allocations: 110.8 kB / 0.6278 GB, free: 4.348 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.01334, allocations: 20.5 kB / 0.6278 GB, free: 4.328 MB / 0.5886 GB Notification: Performance of SimCode: time 3.8e-07/0.01334, allocations: 4.062 kB / 0.6278 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of Templates: time 0.003019/0.01635, allocations: 2.734 MB / 0.6305 GB, free: 1.598 MB / 0.5886 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.320841928943992] Failed to read output from testmodel.py, exit status != 0: 0.02224471978843212 0.028941980000000003 0.019429707 Calling exit ...