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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 117.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.061/1.061, allocations: 175.8 MB / 479.1 MB, free: 3.41 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001881/0.001881, allocations: 68.98 kB / 0.6663 GB, free: 10.85 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1648, allocations: 94.55 MB / 0.7587 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003309/0.1681, allocations: 1.776 MB / 0.7604 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001854/0.1699, allocations: 1.13 MB / 0.7615 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.472e-05/0.17, allocations: 0 / 0.7615 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.1703, allocations: 55.73 kB / 0.7616 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.1706, allocations: 83.66 kB / 0.7616 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006421/0.1712, allocations: 222 kB / 0.7619 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.1715, allocations: 143.7 kB / 0.762 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1716, allocations: 20.98 kB / 0.762 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1717, allocations: 67.77 kB / 0.7621 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.1718, allocations: 67.73 kB / 0.7621 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.1718, allocations: 11.94 kB / 0.7622 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.172, allocations: 75.88 kB / 0.7622 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.475e-05/0.1721, allocations: 43.91 kB / 0.7623 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.1722, allocations: 55.61 kB / 0.7623 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.1725, allocations: 203.2 kB / 0.7625 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1725, allocations: 0 / 0.7625 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1725, allocations: 0 / 0.7625 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.1725, allocations: 0 / 0.7625 GB, free: 13.13 MB / 0.5762 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.0007402/0.1733, allocations: 500 kB / 0.763 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1733, allocations: 12.03 kB / 0.763 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.1734, allocations: 16.84 kB / 0.763 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.1738, allocations: 249.1 kB / 0.7633 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.1738, allocations: 4.375 kB / 0.7633 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.1738, allocations: 8.125 kB / 0.7633 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.1741, allocations: 96.17 kB / 0.7634 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1741, allocations: 3.938 kB / 0.7634 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1741, allocations: 0 / 0.7634 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.1741, allocations: 4 kB / 0.7634 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.1742, allocations: 31.97 kB / 0.7634 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/0.1748, allocations: 364.6 kB / 0.7637 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.175, allocations: 78.67 kB / 0.7638 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.093e-05/0.1751, allocations: 28.84 kB / 0.7638 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.1751, allocations: 4 kB / 0.7639 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.1753, allocations: 91.39 kB / 0.7639 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.1753, allocations: 0 / 0.7639 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0003833/0.1757, allocations: 137.5 kB / 0.7641 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.1758, allocations: 110.8 kB / 0.7642 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.1761, allocations: 262.9 kB / 0.7644 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1761, allocations: 25.7 kB / 0.7645 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.082e-05/0.1762, allocations: 120.1 kB / 0.7646 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.1762, allocations: 23.84 kB / 0.7646 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.1763, allocations: 33.7 kB / 0.7646 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.1764, allocations: 330.8 kB / 0.7649 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-05/0.1765, allocations: 27.92 kB / 0.765 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.1766, allocations: 72.27 kB / 0.765 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.1768, allocations: 70 kB / 0.7651 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1768, allocations: 4 kB / 0.7651 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002368/0.177, allocations: 109.5 kB / 0.7652 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.177, allocations: 8 kB / 0.7652 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.177, allocations: 0 / 0.7652 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.177, allocations: 0 / 0.7652 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1771, allocations: 15.98 kB / 0.7652 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1772, allocations: 0 / 0.7652 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.039e-05/0.1772, allocations: 15.88 kB / 0.7652 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1772, allocations: 0 / 0.7652 GB, free: 10.05 MB / 0.5762 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.0001505/0.1774, allocations: 154.7 kB / 0.7654 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.1774, allocations: 15.91 kB / 0.7654 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/0.1775, allocations: 21.34 kB / 0.7654 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.1775, allocations: 0 / 0.7654 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.1775, allocations: 0 / 0.7654 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.1775, allocations: 7.922 kB / 0.7654 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.1777, allocations: 229.5 kB / 0.7657 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1777, allocations: 0 / 0.7657 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.1778, allocations: 4 kB / 0.7657 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1778, allocations: 4 kB / 0.7657 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.1778, allocations: 0 / 0.7657 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1778, allocations: 4 kB / 0.7657 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1778, allocations: 0 / 0.7657 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.1781, allocations: 140.9 kB / 0.7658 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.591e-05/0.1782, allocations: 101 kB / 0.7659 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.1782, allocations: 0 / 0.7659 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-05/0.1782, allocations: 11.98 kB / 0.7659 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.1783, allocations: 12.17 kB / 0.7659 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.1783, allocations: 7.938 kB / 0.7659 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002053/0.1785, allocations: 196.3 kB / 0.7661 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1785, allocations: 0 / 0.7661 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002675/0.1788, allocations: 39.92 kB / 0.7662 GB, free: 9.02 MB / 0.5762 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.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.001547/0.1803, allocations: 428.7 kB / 0.7666 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.1806, allocations: 75.89 kB / 0.7666 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1806, allocations: 0 / 0.7666 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.384e-05/0.1807, allocations: 27.98 kB / 0.7667 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.181, allocations: 39.91 kB / 0.7667 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006038/0.1816, allocations: 324.4 kB / 0.767 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.1819, allocations: 0.724 MB / 0.7677 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.042e-05/0.182, allocations: 23.42 kB / 0.7677 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.182, allocations: 3.938 kB / 0.7677 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.005019/0.187, allocations: 2.623 MB / 0.7703 GB, free: 4.887 MB / 0.5762 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: 8.476677322993055] Failed to read output from testmodel.py, exit status != 0: 0.19441558700054884 0.20870021100000002 0.033302222 Calling exit ...