Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009449/0.0009449, 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.001341/0.001341, 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.004/1.004, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7639/0.7639, allocations: 154.6 MB / 414.8 MB, free: 488 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 480 MB, free: 6.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/1.989e-05, allocations: 5.594 kB / 480 MB, free: 6.914 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003147/0.003167, allocations: 1.828 MB / 481.8 MB, free: 5.105 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.004874, allocations: 1.236 MB / 483.1 MB, free: 3.875 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.45e-05/0.004959, allocations: 1.125 kB / 483.1 MB, free: 3.875 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.005233, allocations: 64.59 kB / 483.1 MB, free: 3.812 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.005543, allocations: 127.5 kB / 483.3 MB, free: 3.695 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004744/0.006017, allocations: 198.4 kB / 483.4 MB, free: 3.504 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.006209, allocations: 155.9 kB / 483.6 MB, free: 3.355 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.82e-05/0.006297, allocations: 22.27 kB / 483.6 MB, free: 3.332 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.006405, allocations: 87.75 kB / 483.7 MB, free: 3.246 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.185e-05/0.006487, allocations: 53.75 kB / 483.8 MB, free: 3.195 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.006503, allocations: 8 kB / 483.8 MB, free: 3.188 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.006645, allocations: 87.84 kB / 483.9 MB, free: 3.102 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.00677, allocations: 39.84 kB / 483.9 MB, free: 3.062 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.006816, allocations: 35.86 kB / 483.9 MB, free: 3.027 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.00702, allocations: 168.1 kB / 484.1 MB, free: 2.863 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.007021, allocations: 0 / 484.1 MB, free: 2.863 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.007022, allocations: 0.9062 kB / 484.1 MB, free: 2.863 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.007026, allocations: 0 / 484.1 MB, free: 2.863 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.0004089/0.007435, allocations: 405.2 kB / 484.5 MB, free: 2.441 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.007466, allocations: 8.031 kB / 484.5 MB, free: 2.434 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.007508, allocations: 18.11 kB / 484.5 MB, free: 2.418 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.007725, allocations: 173.4 kB / 484.7 MB, free: 2.227 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.007748, allocations: 4.375 kB / 484.7 MB, free: 2.223 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.007762, allocations: 4.906 kB / 484.7 MB, free: 2.219 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.007886, allocations: 75.8 kB / 484.8 MB, free: 2.137 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.007894, allocations: 3.938 kB / 484.8 MB, free: 2.133 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.007902, allocations: 0.7188 kB / 484.8 MB, free: 2.133 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.007919, allocations: 4 kB / 484.8 MB, free: 2.129 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.992e-05/0.007949, allocations: 12.89 kB / 484.8 MB, free: 2.117 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.008215, allocations: 193.9 kB / 485 MB, free: 1.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.008322, allocations: 109.9 kB / 485.1 MB, free: 1.793 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.16e-05/0.008343, allocations: 9.484 kB / 485.1 MB, free: 1.781 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.008357, allocations: 7.938 kB / 485.1 MB, free: 1.773 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.462e-05/0.008442, allocations: 66.83 kB / 485.2 MB, free: 1.695 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.008443, allocations: 0.625 kB / 485.2 MB, free: 1.695 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001773/0.00862, allocations: 74.22 kB / 485.2 MB, free: 1.617 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.008648, allocations: 59.39 kB / 485.3 MB, free: 1.547 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.008775, allocations: 211.3 kB / 485.5 MB, free: 1.328 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.008791, allocations: 34.52 kB / 485.5 MB, free: 1.289 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.008835, allocations: 104.5 kB / 485.6 MB, free: 1.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.008856, allocations: 19.83 kB / 485.7 MB, free: 1.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.008888, allocations: 23.48 kB / 485.7 MB, free: 1.133 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.8e-05/0.008966, allocations: 334.8 kB / 486 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.008983, allocations: 10.81 kB / 486 MB, free: 0.7852 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.59e-05/0.009019, allocations: 52.28 kB / 486.1 MB, free: 0.7188 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.009e-05/0.009069, allocations: 47.92 kB / 486.1 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.00907, allocations: 1 kB / 486.1 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.711e-05/0.009148, allocations: 82.38 kB / 486.2 MB, free: 0.5781 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.009159, allocations: 7.938 kB / 486.2 MB, free: 0.5703 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.009164, allocations: 1.734 kB / 486.2 MB, free: 0.5703 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.009174, allocations: 0 / 486.2 MB, free: 0.5703 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.586e-05/0.00924, allocations: 19.98 kB / 486.2 MB, free: 0.5508 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.009244, allocations: 3.984 kB / 486.2 MB, free: 0.5469 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.009278, allocations: 7.953 kB / 486.2 MB, free: 0.5391 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.009283, allocations: 0.875 kB / 486.2 MB, free: 0.5391 MB / 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 6.566e-05/0.009349, allocations: 121.6 kB / 486.4 MB, free: 420 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.009363, allocations: 11.92 kB / 486.4 MB, free: 408 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.009471, allocations: 83.94 kB / 486.5 MB, free: 312 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.00948, allocations: 0 / 486.5 MB, free: 312 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.009481, allocations: 1.906 kB / 486.5 MB, free: 312 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.009485, allocations: 0.6094 kB / 486.5 MB, free: 312 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.009591, allocations: 109.8 kB / 486.6 MB, free: 184 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.009593, allocations: 3.984 kB / 486.6 MB, free: 180 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/0.009616, allocations: 4 kB / 486.6 MB, free: 176 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.00962, allocations: 4.75 kB / 486.6 MB, free: 172 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.009626, allocations: 3.938 kB / 486.6 MB, free: 168 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.009627, allocations: 0.6875 kB / 486.6 MB, free: 168 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.009627, allocations: 0 / 486.6 MB, free: 168 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.553e-05/0.009703, allocations: 100 kB / 486.7 MB, free: 48 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.009722, allocations: 20.73 kB / 486.7 MB, free: 28 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.00974, allocations: 3.938 kB / 486.7 MB, free: 24 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.325e-05/0.009763, allocations: 4.875 kB / 486.7 MB, free: 20 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.0098, allocations: 15.97 kB / 486.7 MB, free: 4 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.009807, allocations: 0 / 486.7 MB, free: 4 kB / 442.7 MB Notification: Performance of sorting global known variables: time 6.712e-05/0.009874, allocations: 73.03 kB / 486.8 MB, free: 15.93 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009874, allocations: 0 / 486.8 MB, free: 15.93 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001515/0.01003, allocations: 39.88 kB / 486.8 MB, free: 15.89 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.001313/0.01134, allocations: 0.5316 MB / 487.4 MB, free: 15.67 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.01145, allocations: 33.38 kB / 487.4 MB, free: 15.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.01145, allocations: 4 kB / 487.4 MB, free: 15.63 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.44e-05/0.01149, allocations: 27 kB / 487.4 MB, free: 15.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.01163, allocations: 43.11 kB / 487.5 MB, free: 15.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.01197, allocations: 275.3 kB / 487.7 MB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.052e-05/0.01201, allocations: 75.83 kB / 487.8 MB, free: 15.18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.357e-05/0.01205, allocations: 25.03 kB / 487.8 MB, free: 15.15 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.424e-05/0.01213, allocations: 71.36 kB / 487.9 MB, free: 15.08 MB / 458.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01213, allocations: 0 / 487.9 MB, free: 15.08 MB / 458.7 MB Notification: Performance of Templates: time 0.005461/0.01759, allocations: 2.819 MB / 490.7 MB, free: 12.48 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.734991729259491]