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.001542/0.001542, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 190.5 kB / 16.53 MB, free: 6.664 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.575/1.575, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.443/0.443, allocations: 54.95 MB / 324.7 MB, free: 15.93 MB / 270.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.001676/0.001676, allocations: 67.89 kB / 395.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1461, allocations: 59.61 MB / 454.9 MB, free: 160 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.BooleanReplicator): time 0.2444/0.3905, allocations: 1.732 MB / 456.7 MB, free: 39.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.3918, allocations: 0.929 MB / 457.6 MB, free: 39.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.942e-05/0.3919, allocations: 3.188 kB / 457.6 MB, free: 39.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006329/0.3926, allocations: 168.4 kB / 457.8 MB, free: 39.27 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.0002615/0.3929, allocations: 113.4 kB / 457.9 MB, free: 39.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.3932, allocations: 138.2 kB / 458 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.3934, allocations: 164.6 kB / 458.2 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.3936, allocations: 27.38 kB / 458.2 MB, free: 39.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.964e-05/0.3937, allocations: 70.81 kB / 458.3 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.523e-05/0.3938, allocations: 65.11 kB / 458.3 MB, free: 39.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.3938, allocations: 9.781 kB / 458.3 MB, free: 39.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.3939, allocations: 65.23 kB / 458.4 MB, free: 39.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.394, allocations: 44.77 kB / 458.4 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.574e-05/0.3941, allocations: 57.62 kB / 458.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.3943, allocations: 200.6 kB / 458.7 MB, free: 39.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3943, allocations: 3.656 kB / 458.7 MB, free: 39.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3943, allocations: 1.656 kB / 458.7 MB, free: 39.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3944, allocations: 0 / 458.7 MB, free: 39.11 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.0006591/0.395, allocations: 494.8 kB / 459.2 MB, free: 38.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3951, allocations: 10.09 kB / 459.2 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.674e-05/0.3951, allocations: 23 kB / 459.2 MB, free: 38.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.3954, allocations: 249.6 kB / 459.5 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.3954, allocations: 8.438 kB / 459.5 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.3954, allocations: 6.781 kB / 459.5 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.3956, allocations: 86.98 kB / 459.6 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3956, allocations: 1.125 kB / 459.6 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3956, allocations: 0 / 459.6 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.3957, allocations: 2.219 kB / 459.6 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.115e-05/0.3958, allocations: 39.77 kB / 459.6 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.3962, allocations: 354.4 kB / 459.9 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.3964, allocations: 73.14 kB / 460 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.235e-05/0.3965, allocations: 37.92 kB / 460.1 MB, free: 38.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.3965, allocations: 3.406 kB / 460.1 MB, free: 38.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.3967, allocations: 86.28 kB / 460.1 MB, free: 38.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/0.3967, allocations: 6.156 kB / 460.2 MB, free: 38.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003287/0.397, allocations: 143.1 kB / 460.3 MB, free: 37.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.3971, allocations: 83.95 kB / 460.4 MB, free: 37.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.3973, allocations: 257.6 kB / 460.6 MB, free: 37.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.3974, allocations: 28.92 kB / 460.7 MB, free: 37.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.97e-05/0.3974, allocations: 121.7 kB / 460.8 MB, free: 37.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.3975, allocations: 22.5 kB / 460.8 MB, free: 37.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.3975, allocations: 28.62 kB / 460.8 MB, free: 37.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.148e-05/0.3976, allocations: 330.4 kB / 461.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.997e-05/0.3977, allocations: 25.16 kB / 461.2 MB, free: 37.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/0.3977, allocations: 63.42 kB / 461.2 MB, free: 37.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.3978, allocations: 72.05 kB / 461.3 MB, free: 37.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3979, allocations: 1.469 kB / 461.3 MB, free: 37.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001666/0.398, allocations: 118 kB / 461.4 MB, free: 37.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3981, allocations: 6.406 kB / 461.4 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3981, allocations: 0.6875 kB / 461.4 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3981, allocations: 0.5 kB / 461.4 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.631e-05/0.3982, allocations: 19.17 kB / 461.4 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3982, allocations: 4.938 kB / 461.4 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.41e-05/0.3982, allocations: 7.406 kB / 461.5 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.3983, allocations: 5.094 kB / 461.5 MB, free: 37.14 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 9.926e-05/0.3984, allocations: 142.8 kB / 461.6 MB, free: 37.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.3984, allocations: 14.31 kB / 461.6 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.768e-05/0.3984, allocations: 21.53 kB / 461.6 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.3985, allocations: 3.234 kB / 461.6 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3985, allocations: 3.938 kB / 461.6 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3985, allocations: 0.8125 kB / 461.6 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.3986, allocations: 221 kB / 461.9 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3986, allocations: 2.969 kB / 461.9 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.3987, allocations: 6.812 kB / 461.9 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3987, allocations: 3.422 kB / 461.9 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3987, allocations: 3.656 kB / 461.9 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3987, allocations: 4.219 kB / 461.9 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3987, allocations: 7.359 kB / 461.9 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.3989, allocations: 136 kB / 462 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.399, allocations: 98.77 kB / 462.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.399, allocations: 7.75 kB / 462.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.664e-05/0.399, allocations: 3.844 kB / 462.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.3991, allocations: 12.83 kB / 462.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.3991, allocations: 2.812 kB / 462.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.3993, allocations: 206.6 kB / 462.3 MB, free: 36.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3993, allocations: 0 / 462.3 MB, free: 36.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.3995, allocations: 26.75 kB / 462.4 MB, free: 36.45 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.0009525/0.4004, allocations: 411.1 kB / 462.8 MB, free: 36.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.4007, allocations: 90.41 kB / 462.9 MB, free: 36.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4007, allocations: 3.938 kB / 462.9 MB, free: 36.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.281e-05/0.4008, allocations: 37.62 kB / 462.9 MB, free: 36.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.4011, allocations: 48.27 kB / 462.9 MB, free: 36.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.4015, allocations: 299.9 kB / 463.2 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.4017, allocations: 0.726 MB / 464 MB, free: 35.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.39e-05/0.4017, allocations: 24.23 kB / 464 MB, free: 35.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.436e-05/0.4018, allocations: 16.25 kB / 464 MB, free: 35.38 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4018, allocations: 0 / 464 MB, free: 35.38 MB / 382.1 MB Notification: Performance of Templates: time 0.005045/0.4068, allocations: 2.281 MB / 466.3 MB, free: 35.2 MB / 382.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)