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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator") translateModel(Annex60.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007205/0.007205, allocations: 99.31 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 186.3 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.1 MB / 222.5 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4094/0.4094, allocations: 54.95 MB / 324.8 MB, free: 32 kB / 254.1 MB 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.001496/0.001496, allocations: 74.88 kB / 456.3 MB, free: 38.98 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1361, allocations: 59.59 MB / 0.5038 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.BooleanReplicator): time 0.003382/0.1396, allocations: 1.746 MB / 0.5055 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.141, allocations: 0.9376 MB / 0.5064 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1411, allocations: 1.406 kB / 0.5064 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006636/0.1418, allocations: 165.4 kB / 0.5065 GB, free: 7.84 MB / 382.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.0002678/0.1421, allocations: 111.1 kB / 0.5066 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.1425, allocations: 149 kB / 0.5068 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.1427, allocations: 167 kB / 0.507 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1428, allocations: 29.47 kB / 0.507 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.817e-05/0.143, allocations: 71.19 kB / 0.507 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.1431, allocations: 68.64 kB / 0.5071 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.1431, allocations: 8.344 kB / 0.5071 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.1432, allocations: 67.58 kB / 0.5072 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.1433, allocations: 43.09 kB / 0.5072 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.242e-05/0.1434, allocations: 64.69 kB / 0.5073 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.1437, allocations: 191.5 kB / 0.5075 GB, free: 7.234 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1437, allocations: 0 / 0.5075 GB, free: 7.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1437, allocations: 0 / 0.5075 GB, free: 7.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1437, allocations: 4.969 kB / 0.5075 GB, free: 7.23 MB / 382.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.0007056/0.1445, allocations: 498 kB / 0.508 GB, free: 6.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.1445, allocations: 8.031 kB / 0.508 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.1446, allocations: 20.73 kB / 0.508 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.1448, allocations: 252.5 kB / 0.5082 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1448, allocations: 4 kB / 0.5082 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.1449, allocations: 4 kB / 0.5082 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.145, allocations: 91.38 kB / 0.5083 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1451, allocations: 0 / 0.5083 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1451, allocations: 0 / 0.5083 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.1451, allocations: 4 kB / 0.5083 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.76e-05/0.1452, allocations: 35.92 kB / 0.5084 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.1456, allocations: 360.6 kB / 0.5087 GB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.1458, allocations: 78.61 kB / 0.5088 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.823e-05/0.1459, allocations: 36.84 kB / 0.5088 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1459, allocations: 0 / 0.5088 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.146, allocations: 79.38 kB / 0.5089 GB, free: 5.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.1461, allocations: 0 / 0.5089 GB, free: 5.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002974/0.1464, allocations: 145.4 kB / 0.509 GB, free: 5.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.1464, allocations: 85.05 kB / 0.5091 GB, free: 5.398 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.1466, allocations: 259.1 kB / 0.5093 GB, free: 5.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.1466, allocations: 25.98 kB / 0.5094 GB, free: 5.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.1467, allocations: 116.1 kB / 0.5095 GB, free: 4.984 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.1467, allocations: 31.62 kB / 0.5095 GB, free: 4.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.1467, allocations: 29.66 kB / 0.5095 GB, free: 4.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.054e-05/0.1468, allocations: 330.8 kB / 0.5099 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.646e-05/0.1469, allocations: 31.98 kB / 0.5099 GB, free: 4.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.421e-05/0.1469, allocations: 59.36 kB / 0.5099 GB, free: 4.484 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.1471, allocations: 69.81 kB / 0.51 GB, free: 4.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1471, allocations: 3.938 kB / 0.51 GB, free: 4.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001553/0.1472, allocations: 109.4 kB / 0.5101 GB, free: 4.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1472, allocations: 12.06 kB / 0.5101 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1473, allocations: 0 / 0.5101 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1473, allocations: 0 / 0.5101 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.1474, allocations: 23.86 kB / 0.5102 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1474, allocations: 4 kB / 0.5102 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/0.1474, allocations: 0 / 0.5102 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1474, allocations: 4.156 kB / 0.5102 GB, free: 4.25 MB / 382.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 8.652e-05/0.1475, allocations: 145.8 kB / 0.5103 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.1476, allocations: 19.8 kB / 0.5103 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/0.1476, allocations: 17.41 kB / 0.5103 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.1476, allocations: 7.938 kB / 0.5103 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1476, allocations: 0 / 0.5103 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1476, allocations: 3.984 kB / 0.5103 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.1478, allocations: 225.5 kB / 0.5106 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1478, allocations: 0 / 0.5106 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-05/0.1478, allocations: 4 kB / 0.5106 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1478, allocations: 0 / 0.5106 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1478, allocations: 4 kB / 0.5106 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1478, allocations: 8.016 kB / 0.5106 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1478, allocations: 7.938 kB / 0.5106 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.148, allocations: 140.8 kB / 0.5107 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.148, allocations: 96.86 kB / 0.5108 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.1481, allocations: 4 kB / 0.5108 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.563e-05/0.1481, allocations: 11.91 kB / 0.5108 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.1482, allocations: 4 kB / 0.5108 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.1482, allocations: 4 kB / 0.5108 GB, free: 3.461 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.1483, allocations: 204.4 kB / 0.511 GB, free: 3.262 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1483, allocations: 0 / 0.511 GB, free: 3.262 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002178/0.1485, allocations: 32 kB / 0.5111 GB, free: 3.23 MB / 382.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.0008601/0.1494, allocations: 426.9 kB / 0.5115 GB, free: 2.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.1496, allocations: 71.97 kB / 0.5115 GB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1496, allocations: 0 / 0.5115 GB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.823e-05/0.1497, allocations: 43.98 kB / 0.5116 GB, free: 2.855 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.1499, allocations: 38.92 kB / 0.5116 GB, free: 2.824 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.1504, allocations: 303 kB / 0.5119 GB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.1505, allocations: 0.7201 MB / 0.5126 GB, free: 1.758 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.673e-05/0.1506, allocations: 25.72 kB / 0.5126 GB, free: 1.734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.1506, allocations: 23.42 kB / 0.5127 GB, free: 1.711 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1506, allocations: 0 / 0.5127 GB, free: 1.711 MB / 382.1 MB Notification: Performance of Templates: time 0.00508/0.1557, allocations: 2.331 MB / 0.5149 GB, free: 15.39 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.makefile (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)