Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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.002253/0.002253, allocations: 107.8 kB / 16.4 MB, free: 6.492 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.002607/0.002607, allocations: 194.8 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.1 MB / 227.2 MB, free: 12.14 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2927/0.2927, allocations: 54.96 MB / 331.6 MB, free: 2.836 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator") translateModel(Annex60.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 72.45 kB / 464.9 MB, free: 372 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.135, allocations: 59.6 MB / 0.5122 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.BooleanReplicator): time 0.003738/0.1388, allocations: 1.743 MB / 0.5139 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1404, allocations: 0.9399 MB / 0.5148 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.976e-05/0.1405, allocations: 3.938 kB / 0.5148 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006705/0.1412, allocations: 163.5 kB / 0.515 GB, free: 1.941 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.1416, allocations: 115.6 kB / 0.5151 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.142, allocations: 139.2 kB / 0.5152 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.1422, allocations: 167.6 kB / 0.5154 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.1424, allocations: 33.03 kB / 0.5154 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.1425, allocations: 67.75 kB / 0.5155 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.1427, allocations: 75.62 kB / 0.5156 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.1427, allocations: 8 kB / 0.5156 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.1429, allocations: 55.97 kB / 0.5156 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.661e-05/0.143, allocations: 43.89 kB / 0.5157 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.703e-05/0.1431, allocations: 63.55 kB / 0.5157 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.1434, allocations: 195.2 kB / 0.5159 GB, free: 1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1434, allocations: 0 / 0.5159 GB, free: 1 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1434, allocations: 8 kB / 0.5159 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1434, allocations: 0 / 0.5159 GB, free: 0.9922 MB / 398.1 MB 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.0008911/0.1443, allocations: 0.4883 MB / 0.5164 GB, free: 460 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1444, allocations: 12.03 kB / 0.5164 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.567e-05/0.1444, allocations: 20.8 kB / 0.5164 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.1448, allocations: 249.3 kB / 0.5167 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.1448, allocations: 7.938 kB / 0.5167 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.1448, allocations: 11.98 kB / 0.5167 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.145, allocations: 90.77 kB / 0.5168 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1451, allocations: 3.938 kB / 0.5168 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1451, allocations: 0 / 0.5168 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.1451, allocations: 8 kB / 0.5168 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.1452, allocations: 39.97 kB / 0.5168 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005695/0.1458, allocations: 344.7 kB / 0.5172 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.146, allocations: 78.61 kB / 0.5172 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.326e-05/0.1461, allocations: 32.84 kB / 0.5173 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.1462, allocations: 4 kB / 0.5173 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.1463, allocations: 79.38 kB / 0.5173 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.1463, allocations: 0 / 0.5173 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003769/0.1467, allocations: 149.5 kB / 0.5175 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.1468, allocations: 81.05 kB / 0.5176 GB, free: 15.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.1471, allocations: 260.9 kB / 0.5178 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.1472, allocations: 33.8 kB / 0.5178 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.735e-05/0.1473, allocations: 116.1 kB / 0.5179 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.1473, allocations: 27.78 kB / 0.518 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.1474, allocations: 29.7 kB / 0.518 GB, free: 14.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1475, allocations: 330.8 kB / 0.5183 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.399e-05/0.1476, allocations: 27.92 kB / 0.5183 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.684e-05/0.1477, allocations: 59.42 kB / 0.5184 GB, free: 14.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.1478, allocations: 74 kB / 0.5185 GB, free: 14.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1479, allocations: 4 kB / 0.5185 GB, free: 14.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002073/0.1481, allocations: 113.6 kB / 0.5186 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.1481, allocations: 7.984 kB / 0.5186 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1481, allocations: 0 / 0.5186 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1481, allocations: 7.938 kB / 0.5186 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.778e-05/0.1482, allocations: 11.94 kB / 0.5186 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1482, allocations: 0 / 0.5186 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.822e-05/0.1483, allocations: 11.89 kB / 0.5186 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1483, allocations: 8 kB / 0.5186 GB, free: 13.95 MB / 414.1 MB 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.0001457/0.1485, allocations: 147.4 kB / 0.5188 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.1485, allocations: 15.91 kB / 0.5188 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.69e-05/0.1485, allocations: 21.56 kB / 0.5188 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.1486, allocations: 7.922 kB / 0.5188 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1486, allocations: 0 / 0.5188 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1486, allocations: 4 kB / 0.5188 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.1488, allocations: 217.6 kB / 0.519 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1488, allocations: 0 / 0.519 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-05/0.1488, allocations: 7.938 kB / 0.519 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1489, allocations: 0 / 0.519 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1489, allocations: 0 / 0.519 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.1489, allocations: 11.94 kB / 0.519 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.1489, allocations: 7.984 kB / 0.5191 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.1491, allocations: 148.9 kB / 0.5192 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.1492, allocations: 89.02 kB / 0.5193 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.1492, allocations: 0 / 0.5193 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.079e-05/0.1493, allocations: 19.86 kB / 0.5193 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1493, allocations: 7.938 kB / 0.5193 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.1494, allocations: 8 kB / 0.5193 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.1496, allocations: 195.3 kB / 0.5195 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1496, allocations: 0 / 0.5195 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.1498, allocations: 27.94 kB / 0.5195 GB, free: 12.94 MB / 414.1 MB 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.001469/0.1513, allocations: 419.8 kB / 0.5199 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.1516, allocations: 71.91 kB / 0.52 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1516, allocations: 4.062 kB / 0.52 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.75e-05/0.1517, allocations: 39.92 kB / 0.52 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.152, allocations: 39.83 kB / 0.5201 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005722/0.1526, allocations: 306.7 kB / 0.5204 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.153, allocations: 0.7201 MB / 0.5211 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.101e-05/0.153, allocations: 33.64 kB / 0.5211 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.1531, allocations: 19.44 kB / 0.5211 GB, free: 11.43 MB / 414.1 MB Notification: Performance of SimCode: time 2.084e-06/0.1531, allocations: 0 / 0.5211 GB, free: 11.43 MB / 414.1 MB Notification: Performance of Templates: time 0.006196/0.1593, allocations: 2.286 MB / 0.5234 GB, free: 9.16 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.544378693215549]