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.001074/0.001074, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002416, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001102/0.001102, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009028/0.002005, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9477/0.9477, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08335/1.031, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.7877/0.7877, allocations: 154.6 MB / 398.5 MB, free: 0.5312 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2681/1.056, allocations: 49.04 MB / 447.6 MB, free: 6.703 MB / 426.7 MB " [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.432e-06/1.432e-06, allocations: 0 / 448.9 MB, free: 5.398 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.732e-05, allocations: 2.312 kB / 448.9 MB, free: 5.395 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002259/0.002276, allocations: 1.879 MB / 450.8 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.003693, allocations: 1.25 MB / 452 MB, free: 2.301 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.368e-05/0.003767, allocations: 0 / 452 MB, free: 2.301 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.003966, allocations: 56.83 kB / 452.1 MB, free: 2.246 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.004213, allocations: 128.4 kB / 452.2 MB, free: 2.129 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.004637, allocations: 191.8 kB / 452.4 MB, free: 1.945 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.004833, allocations: 161.8 kB / 452.5 MB, free: 1.797 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.577e-05/0.004929, allocations: 18.23 kB / 452.6 MB, free: 1.777 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.005081, allocations: 115.8 kB / 452.7 MB, free: 1.664 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.638e-05/0.005177, allocations: 61.69 kB / 452.7 MB, free: 1.605 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.005195, allocations: 8 kB / 452.7 MB, free: 1.598 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.005357, allocations: 79.81 kB / 452.8 MB, free: 1.52 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.306e-05/0.00542, allocations: 35.84 kB / 452.9 MB, free: 1.484 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.005458, allocations: 23.94 kB / 452.9 MB, free: 1.461 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.005661, allocations: 152.3 kB / 453 MB, free: 1.312 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-05/0.005675, allocations: 0 / 453 MB, free: 1.312 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005676, allocations: 4 kB / 453 MB, free: 1.309 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.005692, allocations: 1.281 kB / 453 MB, free: 1.309 MB / 426.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.0004935/0.006185, allocations: 431.2 kB / 453.5 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.006214, allocations: 12.03 kB / 453.5 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.006247, allocations: 9.781 kB / 453.5 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.006429, allocations: 166.3 kB / 453.6 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.006443, allocations: 5.906 kB / 453.6 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.006453, allocations: 4.375 kB / 453.6 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.006563, allocations: 69.75 kB / 453.7 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.006571, allocations: 3.938 kB / 453.7 MB, free: 0.5625 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-06/0.006577, allocations: 4.625 kB / 453.7 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.006593, allocations: 5.297 kB / 453.7 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.223e-05/0.006626, allocations: 12.7 kB / 453.7 MB, free: 0.543 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002485/0.006874, allocations: 205.7 kB / 453.9 MB, free: 332 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.806e-05/0.006972, allocations: 96.8 kB / 454 MB, free: 224 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.006993, allocations: 22.28 kB / 454.1 MB, free: 200 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.007006, allocations: 5.297 kB / 454.1 MB, free: 196 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.387e-05/0.0071, allocations: 71.06 kB / 454.1 MB, free: 112 kB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.007101, allocations: 3.938 kB / 454.1 MB, free: 108 kB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001223/0.007223, allocations: 74.38 kB / 454.2 MB, free: 28 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.007263, allocations: 55.41 kB / 454.3 MB, free: 15.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.007393, allocations: 225.6 kB / 454.5 MB, free: 15.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.007409, allocations: 29.7 kB / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.007446, allocations: 97.23 kB / 454.6 MB, free: 15.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.007468, allocations: 23.78 kB / 454.6 MB, free: 15.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.007498, allocations: 32.78 kB / 454.7 MB, free: 15.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.341e-05/0.007572, allocations: 330.8 kB / 455 MB, free: 15.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.00759, allocations: 10.77 kB / 455 MB, free: 15.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.587e-05/0.007625, allocations: 60.27 kB / 455.1 MB, free: 15.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.516e-05/0.007671, allocations: 47.34 kB / 455.1 MB, free: 15.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.007672, allocations: 0 / 455.1 MB, free: 15.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.893e-05/0.007741, allocations: 73.03 kB / 455.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.007751, allocations: 4.906 kB / 455.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.007756, allocations: 0 / 455.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/0.007764, allocations: 4 kB / 455.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.516e-05/0.007829, allocations: 16.95 kB / 455.2 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.007832, allocations: 0 / 455.2 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.272e-05/0.007865, allocations: 9.125 kB / 455.2 MB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.007871, allocations: 3.984 kB / 455.2 MB, free: 14.95 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.42e-05/0.007935, allocations: 121.2 kB / 455.3 MB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.007949, allocations: 15.92 kB / 455.3 MB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.571e-05/0.008045, allocations: 71.77 kB / 455.4 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.008052, allocations: 4.625 kB / 455.4 MB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.008054, allocations: 4.578 kB / 455.4 MB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.008058, allocations: 2.016 kB / 455.4 MB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.951e-05/0.008148, allocations: 106.3 kB / 455.5 MB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.008149, allocations: 0 / 455.5 MB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.543e-05/0.008174, allocations: 12.58 kB / 455.5 MB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.008193, allocations: 24.55 kB / 455.6 MB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.008194, allocations: 0 / 455.6 MB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-06/0.008199, allocations: 5.219 kB / 455.6 MB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.0082, allocations: 0 / 455.6 MB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.008201, allocations: 4 kB / 455.6 MB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.791e-05/0.008279, allocations: 102.7 kB / 455.7 MB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.008295, allocations: 4.594 kB / 455.7 MB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.245e-05/0.008317, allocations: 4.906 kB / 455.7 MB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.008349, allocations: 11.98 kB / 455.7 MB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.008356, allocations: 4 kB / 455.7 MB, free: 14.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.42e-05/0.008411, allocations: 72.61 kB / 455.8 MB, free: 14.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008411, allocations: 0 / 455.8 MB, free: 14.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001407/0.008551, allocations: 36.61 kB / 455.8 MB, free: 14.3 MB / 442.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.001312/0.009863, allocations: 0.5697 MB / 456.4 MB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.809e-05/0.009961, allocations: 38 kB / 456.4 MB, free: 14.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.009968, allocations: 4 kB / 456.4 MB, free: 14.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.438e-05/0.01, allocations: 33.92 kB / 456.5 MB, free: 14.01 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.01014, allocations: 50.59 kB / 456.5 MB, free: 13.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/0.01063, allocations: 275.1 kB / 456.8 MB, free: 13.67 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.712e-05/0.01068, allocations: 79.69 kB / 456.8 MB, free: 13.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.536e-05/0.01072, allocations: 18.83 kB / 456.9 MB, free: 13.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.979e-05/0.0108, allocations: 81.2 kB / 456.9 MB, free: 13.48 MB / 442.7 MB Notification: Performance of SimCode: time 9.51e-07/0.0108, allocations: 0 / 456.9 MB, free: 13.48 MB / 442.7 MB Notification: Performance of Templates: time 0.00458/0.01538, allocations: 2.856 MB / 459.8 MB, free: 10.86 MB / 442.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.7542820908129215]