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.001062/0.001062, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001141/0.001141, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4306/0.4306, allocations: 54.98 MB / 325.4 MB, free: 0.6992 MB / 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.0005792/0.0005793, allocations: 12 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3836, allocations: 60.72 MB / 457.3 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.BooleanReplicator): time 0.001792/0.3855, allocations: 1.427 MB / 458.7 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.3866, allocations: 0.8459 MB / 459.6 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.3867, allocations: 0.625 kB / 459.6 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005556/0.3873, allocations: 146.8 kB / 459.7 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.3875, allocations: 91.91 kB / 459.8 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.3879, allocations: 121.2 kB / 459.9 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.3881, allocations: 104.3 kB / 460 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3882, allocations: 21.77 kB / 460.1 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.3883, allocations: 58.88 kB / 460.1 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.3884, allocations: 55.58 kB / 460.2 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3885, allocations: 3.031 kB / 460.2 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.3886, allocations: 40.23 kB / 460.2 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.942e-05/0.3887, allocations: 39.55 kB / 460.2 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.435e-05/0.3887, allocations: 50.77 kB / 460.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.3889, allocations: 146.8 kB / 460.4 MB, free: 38.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.389, allocations: 0.9375 kB / 460.4 MB, free: 38.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.389, allocations: 0 / 460.4 MB, free: 38.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.389, allocations: 2.469 kB / 460.4 MB, free: 38.19 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.0006747/0.3897, allocations: 472.7 kB / 460.9 MB, free: 37.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3897, allocations: 13.12 kB / 460.9 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.3898, allocations: 16.56 kB / 460.9 MB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.39, allocations: 248.9 kB / 461.2 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.3901, allocations: 4.25 kB / 461.2 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.3901, allocations: 2.812 kB / 461.2 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.3903, allocations: 93.08 kB / 461.3 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3903, allocations: 0 / 461.3 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3903, allocations: 5.047 kB / 461.3 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.3904, allocations: 2.938 kB / 461.3 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.908e-05/0.3905, allocations: 35.31 kB / 461.3 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.3909, allocations: 355 kB / 461.7 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.3911, allocations: 77.19 kB / 461.7 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.3912, allocations: 3.781 kB / 461.7 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.3913, allocations: 81.75 kB / 461.8 MB, free: 37.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.3913, allocations: 0 / 461.8 MB, free: 37.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003607/0.3917, allocations: 229.7 kB / 462 MB, free: 36.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.3918, allocations: 78.23 kB / 462.1 MB, free: 36.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.392, allocations: 256 kB / 462.4 MB, free: 36.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.392, allocations: 31.23 kB / 462.4 MB, free: 36.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.3921, allocations: 115.6 kB / 462.5 MB, free: 36.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.3922, allocations: 27.8 kB / 462.5 MB, free: 36.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.3922, allocations: 1.438 kB / 462.5 MB, free: 36.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.559e-05/0.3923, allocations: 328.4 kB / 462.9 MB, free: 36.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-05/0.3923, allocations: 32.69 kB / 462.9 MB, free: 36.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.595e-05/0.3924, allocations: 60.64 kB / 463 MB, free: 36.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.491e-05/0.3925, allocations: 32.11 kB / 463 MB, free: 36.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3925, allocations: 1.906 kB / 463 MB, free: 36.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001865/0.3927, allocations: 116.2 kB / 463.1 MB, free: 36.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3927, allocations: 6 kB / 463.1 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3927, allocations: 3.938 kB / 463.1 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3927, allocations: 4.125 kB / 463.1 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.137e-05/0.3928, allocations: 9.062 kB / 463.1 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3928, allocations: 1.672 kB / 463.1 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.974e-05/0.3929, allocations: 19.02 kB / 463.1 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3929, allocations: 4.625 kB / 463.1 MB, free: 36.26 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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.393, allocations: 141.1 kB / 463.3 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.3931, allocations: 18.02 kB / 463.3 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.7e-05/0.3931, allocations: 21.05 kB / 463.3 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.3931, allocations: 3.828 kB / 463.3 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3932, allocations: 0 / 463.3 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3932, allocations: 3.812 kB / 463.3 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.3933, allocations: 219 kB / 463.5 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3933, allocations: 3.859 kB / 463.5 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.3934, allocations: 6.469 kB / 463.6 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.3934, allocations: 4.891 kB / 463.6 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3934, allocations: 0.5 kB / 463.6 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3934, allocations: 2.906 kB / 463.6 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3934, allocations: 2.469 kB / 463.6 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.3936, allocations: 143.4 kB / 463.7 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.3937, allocations: 99.12 kB / 463.8 MB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.3937, allocations: 9.656 kB / 463.8 MB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.291e-05/0.3938, allocations: 12.23 kB / 463.8 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.3938, allocations: 3.781 kB / 463.8 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.3938, allocations: 4.312 kB / 463.8 MB, free: 35.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001781/0.394, allocations: 202.4 kB / 464 MB, free: 35.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.394, allocations: 0 / 464 MB, free: 35.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.3943, allocations: 30.44 kB / 464.1 MB, free: 35.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008971/0.3952, allocations: 430.2 kB / 464.5 MB, free: 35.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.3954, allocations: 71.17 kB / 464.5 MB, free: 35.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3954, allocations: 0 / 464.5 MB, free: 35.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.561e-05/0.3955, allocations: 40.97 kB / 464.6 MB, free: 35.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.3957, allocations: 38.05 kB / 464.6 MB, free: 35.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.3961, allocations: 319.4 kB / 464.9 MB, free: 35.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.3963, allocations: 0.7406 MB / 465.7 MB, free: 34.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.422e-05/0.3964, allocations: 22.11 kB / 465.7 MB, free: 34.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.3964, allocations: 16.88 kB / 465.7 MB, free: 34.64 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3964, allocations: 0 / 465.7 MB, free: 34.64 MB / 382.1 MB Notification: Performance of Templates: time 0.00464/0.4011, allocations: 2.104 MB / 467.8 MB, free: 34.48 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: