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.0007148/0.0007148, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009952/0.00171, allocations: 440 kB / 10.41 MB, free: 284 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.0006933/0.0006933, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009499/0.001643, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.003/1.003, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0968/1.1, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7666/0.7666, allocations: 154.6 MB / 398.8 MB, free: 380 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.285/1.052, allocations: 49.04 MB / 447.8 MB, free: 6.582 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.132e-06/1.132e-06, allocations: 0 / 449.2 MB, free: 5.25 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032e-05/1.145e-05, allocations: 4.281 kB / 449.2 MB, free: 5.246 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002272/0.002284, allocations: 1.881 MB / 451 MB, free: 3.395 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.00363, allocations: 1.247 MB / 452.3 MB, free: 2.152 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.956e-05/0.0037, allocations: 4.656 kB / 452.3 MB, free: 2.148 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.003888, allocations: 60.83 kB / 452.4 MB, free: 2.09 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.004119, allocations: 129.5 kB / 452.5 MB, free: 1.973 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.004521, allocations: 193.4 kB / 452.7 MB, free: 1.785 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.004702, allocations: 160.5 kB / 452.8 MB, free: 1.641 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.6e-05/0.004778, allocations: 10.23 kB / 452.8 MB, free: 1.629 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.004919, allocations: 127.7 kB / 453 MB, free: 1.504 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.212e-05/0.005001, allocations: 52.34 kB / 453 MB, free: 1.453 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.005017, allocations: 9.969 kB / 453 MB, free: 1.445 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.005156, allocations: 79.88 kB / 453.1 MB, free: 1.367 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.331e-05/0.005209, allocations: 39.86 kB / 453.1 MB, free: 1.328 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.005246, allocations: 23.94 kB / 453.2 MB, free: 1.305 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.005432, allocations: 163.4 kB / 453.3 MB, free: 1.145 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.005442, allocations: 0.5938 kB / 453.3 MB, free: 1.145 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.005442, allocations: 0 / 453.3 MB, free: 1.145 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.005454, allocations: 0.625 kB / 453.3 MB, free: 1.145 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.0004675/0.005922, allocations: 430.4 kB / 453.7 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.707e-05/0.005949, allocations: 8.031 kB / 453.8 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.005987, allocations: 12.94 kB / 453.8 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.006149, allocations: 162.3 kB / 453.9 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.006166, allocations: 8.375 kB / 453.9 MB, free: 500 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.006179, allocations: 2.156 kB / 453.9 MB, free: 500 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.006303, allocations: 85.61 kB / 454 MB, free: 404 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.00631, allocations: 7.875 kB / 454 MB, free: 396 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.006316, allocations: 0.9062 kB / 454 MB, free: 396 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.006333, allocations: 3.984 kB / 454 MB, free: 392 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.865e-05/0.006361, allocations: 12 kB / 454 MB, free: 380 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002369/0.006598, allocations: 199.7 kB / 454.2 MB, free: 164 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.815e-05/0.006696, allocations: 100.2 kB / 454.3 MB, free: 52 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.006718, allocations: 17.72 kB / 454.4 MB, free: 32 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.006729, allocations: 3.938 kB / 454.4 MB, free: 28 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/0.006836, allocations: 75.09 kB / 454.4 MB, free: 15.94 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.006837, allocations: 0 / 454.4 MB, free: 15.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.000126/0.006963, allocations: 74.59 kB / 454.5 MB, free: 15.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.006985, allocations: 51.41 kB / 454.6 MB, free: 15.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.007109, allocations: 229.4 kB / 454.8 MB, free: 15.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.007122, allocations: 25.7 kB / 454.8 MB, free: 15.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.007157, allocations: 101.9 kB / 454.9 MB, free: 15.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.007185, allocations: 23.8 kB / 454.9 MB, free: 15.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.007215, allocations: 29.69 kB / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.771e-05/0.007283, allocations: 330.8 kB / 455.3 MB, free: 15.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.007299, allocations: 11.48 kB / 455.3 MB, free: 15.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.255e-05/0.007332, allocations: 57.47 kB / 455.3 MB, free: 14.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.495e-05/0.007377, allocations: 43.3 kB / 455.4 MB, free: 14.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.007378, allocations: 1.062 kB / 455.4 MB, free: 14.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.351e-05/0.007452, allocations: 80.92 kB / 455.5 MB, free: 14.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.007463, allocations: 9 kB / 455.5 MB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.007468, allocations: 0 / 455.5 MB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.007478, allocations: 0 / 455.5 MB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.244e-05/0.007541, allocations: 16.61 kB / 455.5 MB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.007543, allocations: 0.5938 kB / 455.5 MB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.002e-05/0.007573, allocations: 4 kB / 455.5 MB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.00758, allocations: 5.422 kB / 455.5 MB, free: 14.79 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.555e-05/0.007646, allocations: 124.7 kB / 455.6 MB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.007659, allocations: 11.92 kB / 455.6 MB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.261e-05/0.007752, allocations: 80.97 kB / 455.7 MB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.007759, allocations: 5.438 kB / 455.7 MB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.00776, allocations: 3.984 kB / 455.7 MB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.007763, allocations: 0 / 455.7 MB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.802e-05/0.007851, allocations: 101.8 kB / 455.8 MB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.007853, allocations: 0.8438 kB / 455.8 MB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.00788, allocations: 11.98 kB / 455.8 MB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.007897, allocations: 24.64 kB / 455.9 MB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007898, allocations: 0 / 455.9 MB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.007905, allocations: 8 kB / 455.9 MB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.007906, allocations: 0.625 kB / 455.9 MB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.007907, allocations: 1.219 kB / 455.9 MB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.166e-05/0.007979, allocations: 94.69 kB / 456 MB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.007995, allocations: 7.938 kB / 456 MB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.29e-05/0.008018, allocations: 4.812 kB / 456 MB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.00805, allocations: 9.344 kB / 456 MB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.008057, allocations: 0.625 kB / 456 MB, free: 14.26 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.742e-05/0.008124, allocations: 79.61 kB / 456.1 MB, free: 14.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008124, allocations: 0.625 kB / 456.1 MB, free: 14.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001318/0.008256, allocations: 31.98 kB / 456.1 MB, free: 14.15 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.00134/0.009596, allocations: 0.5686 MB / 456.7 MB, free: 13.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.00971, allocations: 50.77 kB / 456.7 MB, free: 13.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.009718, allocations: 4 kB / 456.7 MB, free: 13.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.861e-05/0.009757, allocations: 25.08 kB / 456.7 MB, free: 13.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.009954, allocations: 227.7 kB / 457 MB, free: 13.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.01039, allocations: 278.6 kB / 457.2 MB, free: 13.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.711e-05/0.01043, allocations: 75.69 kB / 457.3 MB, free: 13.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.124e-05/0.01047, allocations: 23.45 kB / 457.3 MB, free: 13.19 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.428e-05/0.01054, allocations: 76.23 kB / 457.4 MB, free: 13.12 MB / 442.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01054, allocations: 0 / 457.4 MB, free: 13.12 MB / 442.7 MB Notification: Performance of Templates: time 0.004888/0.01543, allocations: 2.884 MB / 460.3 MB, free: 10.46 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.7005333648994565]