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.001955/0.001955, allocations: 92.7 kB / 19.44 MB, free: 324 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.002404/0.002404, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.513/1.513, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.228/1.228, allocations: 154.6 MB / 414.2 MB, free: 0.6484 MB / 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 178] 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.933e-06/1.933e-06, allocations: 0 / 0.5196 GB, free: 2.566 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.46e-05/3.653e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.004689/0.004725, allocations: 1.772 MB / 0.5214 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003386/0.008112, allocations: 1.19 MB / 0.5225 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.008216, allocations: 1.25 kB / 0.5225 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004133/0.008629, allocations: 67.55 kB / 0.5226 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006465/0.009275, allocations: 120 kB / 0.5227 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009085/0.01018, allocations: 193.3 kB / 0.5229 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003833/0.01057, allocations: 168.1 kB / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.01071, allocations: 13.62 kB / 0.5231 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.01097, allocations: 85.14 kB / 0.5231 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.01115, allocations: 67.73 kB / 0.5232 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.01119, allocations: 8 kB / 0.5232 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002738/0.01146, allocations: 76.47 kB / 0.5233 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.01157, allocations: 47.83 kB / 0.5233 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.01168, allocations: 33.33 kB / 0.5234 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005449/0.01222, allocations: 211.3 kB / 0.5236 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.01223, allocations: 0 / 0.5236 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.168e-06/0.01223, allocations: 3.984 kB / 0.5236 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.014e-06/0.01224, allocations: 0.6562 kB / 0.5236 GB, free: 14.53 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.001261/0.0135, allocations: 424.2 kB / 0.524 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.01354, allocations: 8.031 kB / 0.524 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.01366, allocations: 24.84 kB / 0.524 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005738/0.01423, allocations: 202.1 kB / 0.5242 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.01425, allocations: 4.312 kB / 0.5242 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.01428, allocations: 8.891 kB / 0.5242 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.01462, allocations: 114.6 kB / 0.5243 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.01464, allocations: 3.938 kB / 0.5243 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.01466, allocations: 4 kB / 0.5243 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.01467, allocations: 1 kB / 0.5243 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.01486, allocations: 43.91 kB / 0.5244 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007781/0.01564, allocations: 283.1 kB / 0.5246 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.01603, allocations: 94.62 kB / 0.5247 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.01615, allocations: 28.84 kB / 0.5248 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.01618, allocations: 4 kB / 0.5248 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/0.01645, allocations: 87.31 kB / 0.5248 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.853e-06/0.01645, allocations: 1.531 kB / 0.5248 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0006932/0.01715, allocations: 145.7 kB / 0.525 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.922e-05/0.01724, allocations: 81.11 kB / 0.5251 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005186/0.01775, allocations: 274.3 kB / 0.5253 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.01779, allocations: 26.73 kB / 0.5254 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.01794, allocations: 120.1 kB / 0.5255 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.93e-05/0.01799, allocations: 23.83 kB / 0.5255 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.712e-05/0.01808, allocations: 26.89 kB / 0.5255 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002556/0.01833, allocations: 334.8 kB / 0.5258 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.01846, allocations: 23.98 kB / 0.5259 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.01869, allocations: 119.4 kB / 0.526 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.01897, allocations: 82.67 kB / 0.5261 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01897, allocations: 0 / 0.5261 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004043/0.01937, allocations: 123.1 kB / 0.5262 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.0194, allocations: 7.984 kB / 0.5262 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.0194, allocations: 0 / 0.5262 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.01943, allocations: 1.219 kB / 0.5262 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.01954, allocations: 12 kB / 0.5262 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.01955, allocations: 0 / 0.5262 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.732e-05/0.01963, allocations: 12.72 kB / 0.5262 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.01964, allocations: 7.938 kB / 0.5262 GB, free: 11.62 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.0002028/0.01984, allocations: 144.5 kB / 0.5263 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.0199, allocations: 19.91 kB / 0.5264 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004416/0.02034, allocations: 135.2 kB / 0.5265 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.02035, allocations: 0 / 0.5265 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.02036, allocations: 4 kB / 0.5265 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.02037, allocations: 0 / 0.5265 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.02067, allocations: 172 kB / 0.5267 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.02068, allocations: 0 / 0.5267 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.12e-05/0.02075, allocations: 8 kB / 0.5267 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.02075, allocations: 0 / 0.5267 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.02077, allocations: 3.984 kB / 0.5267 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.02077, allocations: 4 kB / 0.5267 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.02077, allocations: 3.938 kB / 0.5267 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000427/0.0212, allocations: 152.9 kB / 0.5268 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.02126, allocations: 17.34 kB / 0.5268 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/0.0213, allocations: 4 kB / 0.5268 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.02142, allocations: 7.984 kB / 0.5269 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.02149, allocations: 16.5 kB / 0.5269 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.0215, allocations: 0 / 0.5269 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003227/0.02183, allocations: 210.8 kB / 0.5271 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.02183, allocations: 0 / 0.5271 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004608/0.02229, allocations: 35.94 kB / 0.5271 GB, free: 10.65 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.002608/0.0249, allocations: 453.8 kB / 0.5275 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003329/0.02523, allocations: 71.89 kB / 0.5276 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.02523, allocations: 1.625 kB / 0.5276 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.02538, allocations: 35.98 kB / 0.5276 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.02583, allocations: 55.45 kB / 0.5277 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008662/0.0267, allocations: 314 kB / 0.528 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.02689, allocations: 112.1 kB / 0.5281 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001165/0.02701, allocations: 27.22 kB / 0.5281 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.632e-05/0.02709, allocations: 24.48 kB / 0.5282 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.02709, allocations: 1.5 kB / 0.5282 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of Templates: time 0.01045/0.03754, allocations: 2.68 MB / 0.5308 GB, free: 7.242 MB / 0.4948 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.075835857889615]