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.00604/0.00604, allocations: 100.6 kB / 15.73 MB, free: 6.484 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.001229/0.001229, allocations: 193.2 kB / 16.68 MB, free: 6.363 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.683/1.683, allocations: 205.1 MB / 222.6 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4462/0.4462, allocations: 54.94 MB / 324.9 MB, free: 8 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.001539/0.00154, allocations: 69.5 kB / 456.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1553, allocations: 59.59 MB / 0.5038 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.BooleanReplicator): time 0.00441/0.1597, allocations: 1.761 MB / 0.5055 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.1619, allocations: 0.9254 MB / 0.5064 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002231/0.1621, allocations: 5.375 kB / 0.5064 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.1632, allocations: 166.5 kB / 0.5066 GB, free: 7.273 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.00051/0.1637, allocations: 107.4 kB / 0.5067 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006611/0.1644, allocations: 151.9 kB / 0.5069 GB, free: 7.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.1648, allocations: 168.3 kB / 0.507 GB, free: 7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.1649, allocations: 20.11 kB / 0.507 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.1651, allocations: 71.25 kB / 0.5071 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.1653, allocations: 65.95 kB / 0.5072 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.1654, allocations: 6.875 kB / 0.5072 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/0.1657, allocations: 63.7 kB / 0.5072 GB, free: 6.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.1658, allocations: 48.33 kB / 0.5073 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.166, allocations: 63.98 kB / 0.5073 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000525/0.1665, allocations: 199.6 kB / 0.5075 GB, free: 6.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1666, allocations: 0 / 0.5075 GB, free: 6.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1666, allocations: 0 / 0.5075 GB, free: 6.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.1666, allocations: 0 / 0.5075 GB, free: 6.672 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.001127/0.1677, allocations: 499.7 kB / 0.508 GB, free: 6.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.1678, allocations: 9.969 kB / 0.508 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.1679, allocations: 23.23 kB / 0.508 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.1683, allocations: 264.5 kB / 0.5083 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.1684, allocations: 2.688 kB / 0.5083 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.1684, allocations: 6.609 kB / 0.5083 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.1687, allocations: 91.69 kB / 0.5084 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1687, allocations: 0 / 0.5084 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.1687, allocations: 1.188 kB / 0.5084 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/0.1688, allocations: 6.453 kB / 0.5084 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.1689, allocations: 35.05 kB / 0.5084 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007316/0.1696, allocations: 360.5 kB / 0.5088 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.17, allocations: 77.45 kB / 0.5088 GB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.448e-05/0.1701, allocations: 33.22 kB / 0.5089 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.1701, allocations: 1.312 kB / 0.5089 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.1704, allocations: 84.88 kB / 0.509 GB, free: 5.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.234e-06/0.1704, allocations: 0 / 0.509 GB, free: 5.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005056/0.1709, allocations: 140.9 kB / 0.5091 GB, free: 5.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.1709, allocations: 82.33 kB / 0.5092 GB, free: 5.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.1712, allocations: 260.7 kB / 0.5094 GB, free: 4.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1713, allocations: 33.69 kB / 0.5095 GB, free: 4.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.1714, allocations: 116.1 kB / 0.5096 GB, free: 4.684 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.1714, allocations: 31.78 kB / 0.5096 GB, free: 4.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.745e-05/0.1715, allocations: 25.7 kB / 0.5096 GB, free: 4.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.35e-05/0.1716, allocations: 326.8 kB / 0.5099 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-05/0.1716, allocations: 27.98 kB / 0.51 GB, free: 4.266 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.561e-05/0.1717, allocations: 63.47 kB / 0.51 GB, free: 4.191 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.1719, allocations: 81.97 kB / 0.5101 GB, free: 4.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1719, allocations: 0 / 0.5101 GB, free: 4.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002435/0.1722, allocations: 117.5 kB / 0.5102 GB, free: 3.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1722, allocations: 4 kB / 0.5102 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.1722, allocations: 0 / 0.5102 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.1722, allocations: 0 / 0.5102 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.852e-05/0.1723, allocations: 19.88 kB / 0.5102 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1724, allocations: 0 / 0.5102 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.944e-05/0.1725, allocations: 11.94 kB / 0.5102 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.1725, allocations: 8.031 kB / 0.5102 GB, free: 3.941 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 0.0001703/0.1727, allocations: 137.8 kB / 0.5104 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.1727, allocations: 15.91 kB / 0.5104 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.758e-05/0.1728, allocations: 17.39 kB / 0.5104 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.1728, allocations: 7.938 kB / 0.5104 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1728, allocations: 0 / 0.5104 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1728, allocations: 0 / 0.5104 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.173, allocations: 225.6 kB / 0.5106 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1731, allocations: 0 / 0.5106 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.1731, allocations: 12 kB / 0.5106 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1731, allocations: 0 / 0.5106 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1731, allocations: 0 / 0.5106 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.1731, allocations: 3.938 kB / 0.5106 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1731, allocations: 0 / 0.5106 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.1734, allocations: 152.9 kB / 0.5108 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.1735, allocations: 96.89 kB / 0.5109 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.1735, allocations: 3.984 kB / 0.5109 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.895e-05/0.1736, allocations: 11.94 kB / 0.5109 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.1736, allocations: 8 kB / 0.5109 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1737, allocations: 3.984 kB / 0.5109 GB, free: 3.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001845/0.1739, allocations: 196.4 kB / 0.5111 GB, free: 2.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1739, allocations: 0 / 0.5111 GB, free: 2.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003707/0.1742, allocations: 24 kB / 0.5111 GB, free: 2.945 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.001325/0.1756, allocations: 436.8 kB / 0.5115 GB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002752/0.1759, allocations: 71.91 kB / 0.5116 GB, free: 2.602 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.1759, allocations: 3.938 kB / 0.5116 GB, free: 2.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.176, allocations: 35.98 kB / 0.5116 GB, free: 2.562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.1764, allocations: 40.45 kB / 0.5117 GB, free: 2.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006258/0.177, allocations: 302.7 kB / 0.512 GB, free: 2.203 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.1773, allocations: 0.728 MB / 0.5127 GB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.86e-05/0.1774, allocations: 21.72 kB / 0.5127 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.1774, allocations: 15.44 kB / 0.5127 GB, free: 1.414 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1774, allocations: 0 / 0.5127 GB, free: 1.414 MB / 382.1 MB Notification: Performance of Templates: time 0.0082/0.1856, allocations: 2.29 MB / 0.515 GB, free: 15.13 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)