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.001394/0.001394, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001576/0.001576, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.464/1.464, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.224/1.224, allocations: 154.8 MB / 414.3 MB, free: 492 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 178] 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 2.264e-06/2.264e-06, allocations: 0.6562 kB / 0.5199 GB, free: 2.312 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.735e-05/3.961e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.309 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.005718/0.005758, allocations: 1.782 MB / 0.5216 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004402/0.01016, allocations: 1.191 MB / 0.5228 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.01029, allocations: 5.062 kB / 0.5228 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000736/0.01102, allocations: 59.67 kB / 0.5228 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007028/0.01173, allocations: 116.1 kB / 0.5229 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.01292, allocations: 205.8 kB / 0.5231 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004588/0.01338, allocations: 159.5 kB / 0.5233 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.01353, allocations: 9.641 kB / 0.5233 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002904/0.01382, allocations: 92.92 kB / 0.5234 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.01406, allocations: 67.8 kB / 0.5234 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.01409, allocations: 4 kB / 0.5234 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.01442, allocations: 80.55 kB / 0.5235 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.01455, allocations: 47.83 kB / 0.5236 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.01466, allocations: 25.22 kB / 0.5236 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006265/0.01529, allocations: 211.3 kB / 0.5238 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.01529, allocations: 0 / 0.5238 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.463e-06/0.01529, allocations: 1.281 kB / 0.5238 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.0153, allocations: 0 / 0.5238 GB, free: 14.29 MB / 0.4948 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.001224/0.01652, allocations: 438.8 kB / 0.5242 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.01657, allocations: 8.812 kB / 0.5242 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.01671, allocations: 20.84 kB / 0.5242 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.01735, allocations: 198.3 kB / 0.5244 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.01738, allocations: 4.359 kB / 0.5244 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.0174, allocations: 7.094 kB / 0.5244 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.01783, allocations: 121.5 kB / 0.5246 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.01785, allocations: 3.938 kB / 0.5246 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.01787, allocations: 4 kB / 0.5246 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.01789, allocations: 0 / 0.5246 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.0181, allocations: 35.97 kB / 0.5246 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008751/0.01898, allocations: 288.4 kB / 0.5249 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.0194, allocations: 91.62 kB / 0.525 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.01955, allocations: 33.33 kB / 0.525 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.01958, allocations: 5.094 kB / 0.525 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003345/0.01991, allocations: 83.41 kB / 0.5251 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 2.725e-06/0.01992, allocations: 7.875 kB / 0.5251 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0007811/0.0207, allocations: 150.3 kB / 0.5252 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.0208, allocations: 77.67 kB / 0.5253 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005805/0.02138, allocations: 279.3 kB / 0.5256 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.02142, allocations: 25.7 kB / 0.5256 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.02159, allocations: 121.1 kB / 0.5257 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.02165, allocations: 23.83 kB / 0.5257 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.45e-05/0.02173, allocations: 25.7 kB / 0.5258 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002825/0.02202, allocations: 335.8 kB / 0.5261 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.02216, allocations: 23.98 kB / 0.5261 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.02243, allocations: 119.4 kB / 0.5262 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.02276, allocations: 74.91 kB / 0.5263 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.02276, allocations: 0 / 0.5263 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004841/0.02325, allocations: 126.5 kB / 0.5264 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.02327, allocations: 4 kB / 0.5264 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.02328, allocations: 1.562 kB / 0.5264 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/0.02331, allocations: 4 kB / 0.5264 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.0235, allocations: 15.98 kB / 0.5264 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.0235, allocations: 0 / 0.5264 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.02364, allocations: 8.516 kB / 0.5264 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.02366, allocations: 5.438 kB / 0.5264 GB, free: 11.36 MB / 0.4948 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.0002621/0.02392, allocations: 158.6 kB / 0.5266 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/0.02399, allocations: 15.91 kB / 0.5266 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000548/0.02453, allocations: 127.9 kB / 0.5267 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.02455, allocations: 5 kB / 0.5267 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.02456, allocations: 0 / 0.5267 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.02456, allocations: 0 / 0.5267 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003773/0.02494, allocations: 174.1 kB / 0.5269 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.02495, allocations: 4 kB / 0.5269 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-05/0.02503, allocations: 4 kB / 0.5269 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.02503, allocations: 0.7188 kB / 0.5269 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.02505, allocations: 4 kB / 0.5269 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/0.02506, allocations: 10.67 kB / 0.5269 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.02506, allocations: 0 / 0.5269 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005451/0.02561, allocations: 156.9 kB / 0.5271 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.399e-05/0.02567, allocations: 15.91 kB / 0.5271 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.741e-05/0.02572, allocations: 4 kB / 0.5271 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.02582, allocations: 4 kB / 0.5271 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.0259, allocations: 10.92 kB / 0.5271 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.02592, allocations: 3.984 kB / 0.5271 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004055/0.02633, allocations: 199.2 kB / 0.5273 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.02633, allocations: 0 / 0.5273 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000501/0.02683, allocations: 39.92 kB / 0.5273 GB, free: 10.39 MB / 0.4948 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.003213/0.03004, allocations: 458.4 kB / 0.5278 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000424/0.03047, allocations: 68.5 kB / 0.5278 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.03047, allocations: 4.594 kB / 0.5278 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.03066, allocations: 35.97 kB / 0.5279 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005562/0.03122, allocations: 41.86 kB / 0.5279 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.03222, allocations: 321.4 kB / 0.5282 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.03244, allocations: 112.3 kB / 0.5283 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001358/0.03258, allocations: 31.8 kB / 0.5284 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.435e-05/0.03267, allocations: 20.5 kB / 0.5284 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/0.03267, allocations: 0 / 0.5284 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.01263/0.0453, allocations: 2.694 MB / 0.531 GB, free: 6.973 MB / 0.4948 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.924983087112196]