Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.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.001618/0.001618, allocations: 104.3 kB / 19.71 MB, free: 2.148 MB / 14.72 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.001781/0.001781, allocations: 207.1 kB / 22.99 MB, free: 4.965 MB / 14.72 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8269/0.8269, allocations: 134 MB / 447.2 MB, free: 9.945 MB / 350.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/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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 69.34 kB / 0.6197 GB, free: 6.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1528, allocations: 85.9 MB / 0.7036 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003287/0.1561, allocations: 1.788 MB / 0.7053 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.1581, allocations: 1.112 MB / 0.7064 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.889e-05/0.1582, allocations: 11.94 kB / 0.7064 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006434/0.1588, allocations: 163.5 kB / 0.7066 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004169/0.1592, allocations: 159.5 kB / 0.7068 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.1596, allocations: 143.3 kB / 0.7069 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.1598, allocations: 179.5 kB / 0.7071 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.87e-05/0.1599, allocations: 13.3 kB / 0.7071 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.1601, allocations: 71.69 kB / 0.7071 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.1602, allocations: 71.75 kB / 0.7072 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.1602, allocations: 12 kB / 0.7072 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.1604, allocations: 75.81 kB / 0.7073 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.287e-05/0.1604, allocations: 39.91 kB / 0.7073 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.752e-05/0.1605, allocations: 47.66 kB / 0.7074 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.1608, allocations: 215.1 kB / 0.7076 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1608, allocations: 4 kB / 0.7076 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1608, allocations: 0 / 0.7076 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.1608, allocations: 3.938 kB / 0.7076 GB, free: 12.49 MB / 0.5294 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.0007263/0.1616, allocations: 438.8 kB / 0.708 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.1616, allocations: 8.031 kB / 0.708 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.505e-05/0.1616, allocations: 20.8 kB / 0.708 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.1619, allocations: 190.2 kB / 0.7082 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.162, allocations: 4.375 kB / 0.7082 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.162, allocations: 4.125 kB / 0.7082 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1622, allocations: 77.67 kB / 0.7083 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1622, allocations: 0 / 0.7083 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.1622, allocations: 7.984 kB / 0.7083 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.1622, allocations: 4 kB / 0.7083 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.1623, allocations: 35.98 kB / 0.7083 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.1628, allocations: 296.2 kB / 0.7086 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.163, allocations: 74.67 kB / 0.7087 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.945e-05/0.1631, allocations: 28.84 kB / 0.7087 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1631, allocations: 4 kB / 0.7087 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.1632, allocations: 87.31 kB / 0.7088 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.472e-06/0.1632, allocations: 0 / 0.7088 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0003665/0.1636, allocations: 149.5 kB / 0.709 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.1637, allocations: 55.41 kB / 0.709 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.164, allocations: 272.2 kB / 0.7093 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.164, allocations: 25.7 kB / 0.7093 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.849e-05/0.1641, allocations: 124.1 kB / 0.7094 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.1641, allocations: 27.78 kB / 0.7094 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.1642, allocations: 29.7 kB / 0.7095 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1643, allocations: 338.8 kB / 0.7098 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.759e-05/0.1644, allocations: 27.98 kB / 0.7098 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.1645, allocations: 76.55 kB / 0.7099 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.1647, allocations: 81.66 kB / 0.71 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.1647, allocations: 4 kB / 0.71 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002334/0.1649, allocations: 113.5 kB / 0.7101 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1649, allocations: 8 kB / 0.7101 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1649, allocations: 0 / 0.7101 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1649, allocations: 64 / 0.7101 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.094e-05/0.165, allocations: 19.98 kB / 0.7101 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.165, allocations: 4 kB / 0.7101 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.959e-05/0.1651, allocations: 7.953 kB / 0.7101 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1651, allocations: 3.984 kB / 0.7101 GB, free: 9.699 MB / 0.5294 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.0001453/0.1652, allocations: 149.7 kB / 0.7103 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.1653, allocations: 15.89 kB / 0.7103 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.1655, allocations: 135.1 kB / 0.7104 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.1655, allocations: 4 kB / 0.7104 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1655, allocations: 4 kB / 0.7104 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1655, allocations: 0 / 0.7104 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.1657, allocations: 169.1 kB / 0.7106 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1657, allocations: 0 / 0.7106 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.926e-05/0.1658, allocations: 4 kB / 0.7106 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1658, allocations: 0 / 0.7106 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1658, allocations: 4 kB / 0.7106 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.1658, allocations: 11.94 kB / 0.7106 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1658, allocations: 0 / 0.7106 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.166, allocations: 156.9 kB / 0.7107 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.1661, allocations: 19.89 kB / 0.7108 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.1661, allocations: 4 kB / 0.7108 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.349e-05/0.1662, allocations: 8 kB / 0.7108 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.1662, allocations: 3.984 kB / 0.7108 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.1662, allocations: 7.938 kB / 0.7108 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002169/0.1664, allocations: 204.6 kB / 0.711 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1664, allocations: 0 / 0.711 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002577/0.1667, allocations: 31.94 kB / 0.711 GB, free: 8.723 MB / 0.5294 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.nextTimeEvent,booTab.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.001619/0.1683, allocations: 452 kB / 0.7114 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.1685, allocations: 79.12 kB / 0.7115 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1685, allocations: 0 / 0.7115 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.911e-05/0.1686, allocations: 35.92 kB / 0.7116 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.1689, allocations: 48.81 kB / 0.7116 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.1695, allocations: 348.5 kB / 0.7119 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.1696, allocations: 122.5 kB / 0.712 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.1697, allocations: 15.44 kB / 0.7121 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of SimCode: time 3.5e-07/0.1697, allocations: 0 / 0.7121 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of Templates: time 0.004994/0.1747, allocations: 2.662 MB / 0.7147 GB, free: 5.152 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.3371451376006] Failed to read output from testmodel.py, exit status != 0: 0.18197039095684886 0.197672594 0.033765549 Calling exit ...