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.006156/0.006156, allocations: 96.7 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.001789/0.001789, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.645/1.645, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4176/0.4176, allocations: 54.94 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.001584/0.001584, allocations: 70.81 kB / 456.3 MB, free: 38.55 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1464, allocations: 59.58 MB / 0.5037 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.BooleanReplicator): time 0.003607/0.1501, allocations: 1.751 MB / 0.5055 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.1518, allocations: 0.9409 MB / 0.5064 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.152, allocations: 1.562 kB / 0.5064 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007197/0.1527, allocations: 161.2 kB / 0.5065 GB, free: 7.695 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.0002801/0.153, allocations: 112.1 kB / 0.5066 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.1534, allocations: 151.4 kB / 0.5068 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.1536, allocations: 165.5 kB / 0.5069 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.1538, allocations: 16.12 kB / 0.507 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.1539, allocations: 76.55 kB / 0.507 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.154, allocations: 72.56 kB / 0.5071 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.154, allocations: 8.25 kB / 0.5071 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.1542, allocations: 67.66 kB / 0.5072 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.806e-05/0.1543, allocations: 39.28 kB / 0.5072 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.668e-05/0.1544, allocations: 64.97 kB / 0.5073 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.1547, allocations: 194 kB / 0.5075 GB, free: 7.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1547, allocations: 1.281 kB / 0.5075 GB, free: 7.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1547, allocations: 0 / 0.5075 GB, free: 7.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1547, allocations: 0 / 0.5075 GB, free: 7.09 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.0008484/0.1556, allocations: 0.4948 MB / 0.5079 GB, free: 6.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.1557, allocations: 9.562 kB / 0.5079 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/0.1557, allocations: 25.92 kB / 0.508 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.156, allocations: 252.7 kB / 0.5082 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1561, allocations: 4 kB / 0.5082 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.1561, allocations: 4 kB / 0.5082 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.1563, allocations: 91.36 kB / 0.5083 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1563, allocations: 0 / 0.5083 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1563, allocations: 4 kB / 0.5083 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.1563, allocations: 7.984 kB / 0.5083 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.697e-05/0.1564, allocations: 43.86 kB / 0.5084 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.1569, allocations: 352.7 kB / 0.5087 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.1571, allocations: 70.67 kB / 0.5088 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.076e-05/0.1572, allocations: 40.78 kB / 0.5088 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.1572, allocations: 4 kB / 0.5088 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.1574, allocations: 79.39 kB / 0.5089 GB, free: 5.504 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.1574, allocations: 0 / 0.5089 GB, free: 5.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003474/0.1577, allocations: 137.5 kB / 0.509 GB, free: 5.363 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.1578, allocations: 89.31 kB / 0.5091 GB, free: 5.258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.1581, allocations: 259.2 kB / 0.5093 GB, free: 4.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.1581, allocations: 25.7 kB / 0.5094 GB, free: 4.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.1581, allocations: 128 kB / 0.5095 GB, free: 4.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.1582, allocations: 23.8 kB / 0.5095 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.1582, allocations: 29.7 kB / 0.5095 GB, free: 4.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.149e-05/0.1583, allocations: 326.8 kB / 0.5099 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.1584, allocations: 27.98 kB / 0.5099 GB, free: 4.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.967e-05/0.1584, allocations: 59.41 kB / 0.5099 GB, free: 4.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1586, allocations: 77.67 kB / 0.51 GB, free: 4.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1586, allocations: 0 / 0.51 GB, free: 4.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001599/0.1587, allocations: 109.5 kB / 0.5101 GB, free: 4.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1588, allocations: 8 kB / 0.5101 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1588, allocations: 0 / 0.5101 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1588, allocations: 0 / 0.5101 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.1589, allocations: 19.92 kB / 0.5101 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1589, allocations: 7.938 kB / 0.5102 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.331e-05/0.1589, allocations: 15.92 kB / 0.5102 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.159, allocations: 112 / 0.5102 GB, free: 4.102 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.0001036/0.1591, allocations: 145.8 kB / 0.5103 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.1591, allocations: 15.91 kB / 0.5103 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.1591, allocations: 17.39 kB / 0.5103 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.1592, allocations: 7.938 kB / 0.5103 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1592, allocations: 0 / 0.5103 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1592, allocations: 0 / 0.5103 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.1593, allocations: 225.6 kB / 0.5106 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1593, allocations: 0 / 0.5106 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.1594, allocations: 4 kB / 0.5106 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1594, allocations: 96 / 0.5106 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1594, allocations: 11.92 kB / 0.5106 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.1594, allocations: 7.938 kB / 0.5106 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1594, allocations: 0 / 0.5106 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.1596, allocations: 140.9 kB / 0.5107 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.1597, allocations: 105 kB / 0.5108 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.1597, allocations: 0 / 0.5108 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.686e-05/0.1597, allocations: 7.938 kB / 0.5108 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.1598, allocations: 3.984 kB / 0.5108 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.1598, allocations: 4 kB / 0.5108 GB, free: 3.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.16, allocations: 196.4 kB / 0.511 GB, free: 3.129 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.16, allocations: 0 / 0.511 GB, free: 3.129 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.1602, allocations: 35.92 kB / 0.5111 GB, free: 3.094 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.001039/0.1613, allocations: 434.3 kB / 0.5115 GB, free: 2.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.1615, allocations: 67.97 kB / 0.5115 GB, free: 2.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1615, allocations: 0 / 0.5115 GB, free: 2.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.665e-05/0.1616, allocations: 39.92 kB / 0.5116 GB, free: 2.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.1619, allocations: 43.33 kB / 0.5116 GB, free: 2.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005068/0.1624, allocations: 306.7 kB / 0.5119 GB, free: 2.355 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.1626, allocations: 0.728 MB / 0.5126 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.025e-05/0.1627, allocations: 21.72 kB / 0.5126 GB, free: 1.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.1627, allocations: 19.44 kB / 0.5127 GB, free: 1.562 MB / 382.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1627, allocations: 0 / 0.5127 GB, free: 1.562 MB / 382.1 MB Notification: Performance of Templates: time 0.005318/0.168, allocations: 2.293 MB / 0.5149 GB, free: 15.28 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)