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.0009947/0.0009947, allocations: 85.27 kB / 19.87 MB, free: 4.613 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.0009925/0.0009925, allocations: 165 kB / 23.27 MB, free: 1.219 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.006/1.006, allocations: 177.1 MB / 203.7 MB, free: 5.488 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-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 0.8079/0.8079, allocations: 154.9 MB / 415.1 MB, free: 268 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 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.964e-06/1.964e-06, allocations: 0.5469 kB / 0.5211 GB, free: 1.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.815e-05, allocations: 5.594 kB / 0.5211 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.004611/0.004639, allocations: 1.815 MB / 0.5229 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002363/0.007002, allocations: 1.213 MB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.007156, allocations: 4.5 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004162/0.007572, allocations: 56.23 kB / 0.5241 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004956/0.008068, allocations: 128.3 kB / 0.5243 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.00873, allocations: 197.2 kB / 0.5245 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000285/0.009015, allocations: 160.5 kB / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.009129, allocations: 21.61 kB / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.009307, allocations: 79.75 kB / 0.5247 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.009433, allocations: 65.66 kB / 0.5248 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.009454, allocations: 8 kB / 0.5248 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.009643, allocations: 79.84 kB / 0.5249 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.914e-05/0.009722, allocations: 43.84 kB / 0.5249 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.009772, allocations: 28.98 kB / 0.5249 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.01009, allocations: 171.3 kB / 0.5251 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.0101, allocations: 0 / 0.5251 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.453e-06/0.0101, allocations: 4.719 kB / 0.5251 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.0101, allocations: 0 / 0.5251 GB, free: 13.48 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.0006536/0.01076, allocations: 0.5179 MB / 0.5256 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.0108, allocations: 12.02 kB / 0.5256 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.01086, allocations: 20.84 kB / 0.5256 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.01109, allocations: 189.7 kB / 0.5258 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.01111, allocations: 384 / 0.5258 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.01113, allocations: 8.375 kB / 0.5258 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.01128, allocations: 67.64 kB / 0.5259 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.01129, allocations: 3.938 kB / 0.5259 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.0113, allocations: 8.812 kB / 0.5259 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.01133, allocations: 4 kB / 0.5259 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.563e-05/0.01138, allocations: 22.77 kB / 0.5259 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.01181, allocations: 300.2 kB / 0.5262 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.01195, allocations: 59.16 kB / 0.5263 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/0.01198, allocations: 23.61 kB / 0.5263 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.012, allocations: 0 / 0.5263 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.01213, allocations: 77.61 kB / 0.5264 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 2.094e-06/0.01213, allocations: 4.625 kB / 0.5264 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002359/0.01236, allocations: 89.58 kB / 0.5265 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.01239, allocations: 52.31 kB / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.01261, allocations: 279.1 kB / 0.5268 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.01264, allocations: 26.67 kB / 0.5268 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.595e-05/0.01273, allocations: 178.7 kB / 0.527 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.01276, allocations: 15.91 kB / 0.527 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.01281, allocations: 36.53 kB / 0.527 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.01296, allocations: 0.5001 MB / 0.5275 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.63e-05/0.013, allocations: 11.98 kB / 0.5275 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.589e-05/0.01307, allocations: 77.11 kB / 0.5276 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.785e-05/0.01313, allocations: 36.41 kB / 0.5276 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.01314, allocations: 5.141 kB / 0.5276 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001587/0.0133, allocations: 93.75 kB / 0.5277 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.01331, allocations: 8.625 kB / 0.5277 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01332, allocations: 0 / 0.5277 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.01333, allocations: 1.375 kB / 0.5277 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.811e-05/0.01342, allocations: 15.98 kB / 0.5277 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.01342, allocations: 0 / 0.5277 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.33e-05/0.01348, allocations: 11.95 kB / 0.5278 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.01348, allocations: 3.438 kB / 0.5278 GB, free: 10.54 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.0001105/0.01359, allocations: 169.4 kB / 0.5279 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.01363, allocations: 23.84 kB / 0.5279 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.01382, allocations: 91.12 kB / 0.528 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.01384, allocations: 3.984 kB / 0.528 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.01384, allocations: 0 / 0.528 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01384, allocations: 11.92 kB / 0.528 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.01401, allocations: 147.7 kB / 0.5282 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.01401, allocations: 3.938 kB / 0.5282 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.224e-05/0.01406, allocations: 7.984 kB / 0.5282 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.01407, allocations: 3.938 kB / 0.5282 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.01408, allocations: 4 kB / 0.5282 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.01409, allocations: 4 kB / 0.5282 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01409, allocations: 0 / 0.5282 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.01428, allocations: 133 kB / 0.5283 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.01431, allocations: 11.91 kB / 0.5283 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.01434, allocations: 9.234 kB / 0.5284 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.396e-05/0.01439, allocations: 8 kB / 0.5284 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.01443, allocations: 7.984 kB / 0.5284 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.01444, allocations: 0.7188 kB / 0.5284 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000128/0.01457, allocations: 187.1 kB / 0.5285 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01457, allocations: 1.031 kB / 0.5285 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002569/0.01483, allocations: 31.92 kB / 0.5286 GB, free: 9.637 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.00149/0.01632, allocations: 411 kB / 0.529 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.01646, allocations: 52.72 kB / 0.529 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01646, allocations: 0 / 0.529 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.033e-05/0.01651, allocations: 27.67 kB / 0.529 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.01679, allocations: 46.83 kB / 0.5291 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004745/0.01726, allocations: 275.2 kB / 0.5294 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.733e-05/0.01732, allocations: 72.58 kB / 0.5294 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.074e-05/0.01739, allocations: 23.31 kB / 0.5294 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.0175, allocations: 98.19 kB / 0.5295 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of SimCode: time 9.32e-07/0.0175, allocations: 2.344 kB / 0.5295 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of Templates: time 0.004649/0.02215, allocations: 2.846 MB / 0.5323 GB, free: 6.102 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.932710506953299]