Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.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.001445/0.001445, allocations: 107.2 kB / 17.12 MB, free: 6.012 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.001498/0.001498, allocations: 194.7 kB / 20.08 MB, free: 3.074 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.379/1.379, allocations: 225.6 MB / 248.5 MB, free: 3.609 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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/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.046/1.046, allocations: 177.8 MB / 481.2 MB, free: 1.418 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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 63.78 kB / 0.6695 GB, free: 9.16 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1698, allocations: 95.08 MB / 0.7623 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003397/0.1732, allocations: 1.79 MB / 0.7641 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.175, allocations: 1.04 MB / 0.7651 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.86e-05/0.1751, allocations: 11.94 kB / 0.7651 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000609/0.1757, allocations: 155.5 kB / 0.7652 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003121/0.176, allocations: 119.6 kB / 0.7653 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004683/0.1765, allocations: 171.4 kB / 0.7655 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.1767, allocations: 159.6 kB / 0.7657 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1768, allocations: 21.03 kB / 0.7657 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.1769, allocations: 71.75 kB / 0.7658 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.177, allocations: 79.67 kB / 0.7658 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.1771, allocations: 8 kB / 0.7658 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.1772, allocations: 63.89 kB / 0.7659 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.859e-05/0.1773, allocations: 39.91 kB / 0.7659 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.328e-05/0.1773, allocations: 59.61 kB / 0.766 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.1776, allocations: 207.1 kB / 0.7662 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1776, allocations: 0 / 0.7662 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1776, allocations: 0 / 0.7662 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.006e-06/0.1776, allocations: 0 / 0.7662 GB, free: 9.652 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007279/0.1784, allocations: 0.4935 MB / 0.7667 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1784, allocations: 8.031 kB / 0.7667 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.1785, allocations: 16.84 kB / 0.7667 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.1788, allocations: 252.9 kB / 0.7669 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.1788, allocations: 4.375 kB / 0.7669 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.1788, allocations: 12.12 kB / 0.767 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.179, allocations: 87.38 kB / 0.767 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.179, allocations: 0 / 0.767 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.179, allocations: 0 / 0.767 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.179, allocations: 4 kB / 0.767 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.555e-05/0.1791, allocations: 39.91 kB / 0.7671 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.1796, allocations: 352.8 kB / 0.7674 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.1798, allocations: 66.72 kB / 0.7675 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.077e-05/0.1799, allocations: 36.78 kB / 0.7675 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.1799, allocations: 3.984 kB / 0.7675 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.1801, allocations: 91.36 kB / 0.7676 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.1801, allocations: 0 / 0.7676 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0003421/0.1804, allocations: 153.4 kB / 0.7678 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.1805, allocations: 77.11 kB / 0.7678 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.1808, allocations: 255 kB / 0.7681 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.1808, allocations: 33.7 kB / 0.7681 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1809, allocations: 112.1 kB / 0.7682 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.181, allocations: 31.77 kB / 0.7682 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.181, allocations: 29.72 kB / 0.7683 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.1812, allocations: 334.8 kB / 0.7686 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/0.1813, allocations: 27.98 kB / 0.7686 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.71e-05/0.1814, allocations: 59.36 kB / 0.7687 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.1815, allocations: 65.7 kB / 0.7687 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1815, allocations: 0 / 0.7687 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002219/0.1817, allocations: 125.5 kB / 0.7689 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1817, allocations: 4 kB / 0.7689 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1817, allocations: 0 / 0.7689 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/0.1818, allocations: 3.984 kB / 0.7689 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.1819, allocations: 16 kB / 0.7689 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1819, allocations: 4.312 kB / 0.7689 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.1819, allocations: 15.88 kB / 0.7689 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1819, allocations: 4 kB / 0.7689 GB, free: 6.613 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: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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.0001634/0.1821, allocations: 145.8 kB / 0.769 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.1821, allocations: 23.8 kB / 0.7691 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.903e-05/0.1822, allocations: 13.41 kB / 0.7691 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.1822, allocations: 4 kB / 0.7691 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1822, allocations: 0 / 0.7691 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1822, allocations: 11.86 kB / 0.7691 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.1824, allocations: 217.6 kB / 0.7693 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1824, allocations: 0 / 0.7693 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-05/0.1825, allocations: 8 kB / 0.7693 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1825, allocations: 4 kB / 0.7693 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1825, allocations: 3.984 kB / 0.7693 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1825, allocations: 0 / 0.7693 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1825, allocations: 0 / 0.7693 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.1827, allocations: 148.9 kB / 0.7695 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.832e-05/0.1828, allocations: 89.02 kB / 0.7695 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.1828, allocations: 4 kB / 0.7695 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.047e-05/0.1829, allocations: 7.984 kB / 0.7695 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.1829, allocations: 8 kB / 0.7696 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.183, allocations: 3.938 kB / 0.7696 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000217/0.1832, allocations: 200.6 kB / 0.7697 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1832, allocations: 0 / 0.7697 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002312/0.1834, allocations: 27.94 kB / 0.7698 GB, free: 5.613 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.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.001607/0.185, allocations: 430.6 kB / 0.7702 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002223/0.1852, allocations: 67.97 kB / 0.7703 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1852, allocations: 4 kB / 0.7703 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.414e-05/0.1853, allocations: 35.92 kB / 0.7703 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.1856, allocations: 36.16 kB / 0.7703 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006245/0.1862, allocations: 340.2 kB / 0.7706 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.1866, allocations: 0.728 MB / 0.7714 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.1866, allocations: 19.44 kB / 0.7714 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1866, allocations: 0 / 0.7714 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of Templates: time 0.004895/0.1915, allocations: 2.573 MB / 0.7739 GB, free: 1.504 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.533263093006099] Failed to read output from testmodel.py, exit status != 0: 0.19865227700211108 0.212085882 0.031721125 Calling exit ...