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.001148/0.001148, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00121/0.00121, allocations: 193.3 kB / 16.25 MB, free: 6.629 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.572/1.572, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4241/0.4241, allocations: 54.93 MB / 324.4 MB, free: 64 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.002339/0.002339, allocations: 63.91 kB / 394.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.146, allocations: 59.6 MB / 454.5 MB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.BooleanReplicator): time 0.2409/0.3869, allocations: 1.799 MB / 456.3 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.3883, allocations: 0.9183 MB / 457.2 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.3885, allocations: 4.531 kB / 457.2 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006907/0.3893, allocations: 153.6 kB / 457.3 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.3896, allocations: 106.2 kB / 457.4 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.39, allocations: 128 kB / 457.6 MB, free: 38.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.3902, allocations: 169.1 kB / 457.7 MB, free: 38.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3904, allocations: 27.88 kB / 457.8 MB, free: 38.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.652e-05/0.3905, allocations: 67.61 kB / 457.8 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.936e-05/0.3906, allocations: 74.88 kB / 457.9 MB, free: 38.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.3906, allocations: 6.094 kB / 457.9 MB, free: 38.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.3907, allocations: 58.7 kB / 458 MB, free: 38.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.927e-05/0.3908, allocations: 42.44 kB / 458 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.419e-05/0.3909, allocations: 61.97 kB / 458.1 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.3912, allocations: 201.6 kB / 458.3 MB, free: 38.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3912, allocations: 0 / 458.3 MB, free: 38.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3912, allocations: 0.8438 kB / 458.3 MB, free: 38.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.3912, allocations: 0.8125 kB / 458.3 MB, free: 38.47 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.000701/0.3919, allocations: 0.4898 MB / 458.8 MB, free: 38.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3919, allocations: 7.844 kB / 458.8 MB, free: 38.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.07e-05/0.392, allocations: 20.25 kB / 458.8 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.3923, allocations: 250.1 kB / 459 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.3923, allocations: 9.375 kB / 459 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.3923, allocations: 0.5312 kB / 459 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.3925, allocations: 95.45 kB / 459.1 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.3926, allocations: 1.938 kB / 459.1 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.3926, allocations: 0 / 459.1 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.3926, allocations: 7.219 kB / 459.1 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.999e-05/0.3927, allocations: 34.36 kB / 459.2 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.3931, allocations: 355.6 kB / 459.5 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.3933, allocations: 74.23 kB / 459.6 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.571e-05/0.3934, allocations: 32.64 kB / 459.6 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.3934, allocations: 9.875 kB / 459.6 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.3936, allocations: 83.52 kB / 459.7 MB, free: 37.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.552e-06/0.3936, allocations: 3.938 kB / 459.7 MB, free: 37.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003078/0.3939, allocations: 145.2 kB / 459.9 MB, free: 37.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.394, allocations: 84.17 kB / 459.9 MB, free: 37.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.3942, allocations: 257.8 kB / 460.2 MB, free: 37.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.3942, allocations: 28.89 kB / 460.2 MB, free: 37.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.3943, allocations: 120.5 kB / 460.3 MB, free: 37.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.3943, allocations: 26.59 kB / 460.4 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.3944, allocations: 28.66 kB / 460.4 MB, free: 37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.034e-05/0.3944, allocations: 330.4 kB / 460.7 MB, free: 36.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-05/0.3945, allocations: 29.62 kB / 460.7 MB, free: 36.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.767e-05/0.3946, allocations: 57.94 kB / 460.8 MB, free: 36.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.3947, allocations: 74.53 kB / 460.9 MB, free: 36.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3947, allocations: 0 / 460.9 MB, free: 36.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001815/0.3949, allocations: 116.5 kB / 461 MB, free: 36.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3949, allocations: 6.281 kB / 461 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3949, allocations: 2.031 kB / 461 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.395, allocations: 2.906 kB / 461 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.655e-05/0.395, allocations: 12.38 kB / 461 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.395, allocations: 7.062 kB / 461 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.508e-05/0.3951, allocations: 8 kB / 461 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3951, allocations: 6.203 kB / 461 MB, free: 36.59 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.000109/0.3952, allocations: 143.7 kB / 461.2 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.3953, allocations: 17 kB / 461.2 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.3953, allocations: 20.12 kB / 461.2 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.3953, allocations: 3.438 kB / 461.2 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3953, allocations: 3.938 kB / 461.2 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3954, allocations: 3.312 kB / 461.2 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.3955, allocations: 218.1 kB / 461.4 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3955, allocations: 2.75 kB / 461.4 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.91e-05/0.3955, allocations: 7.781 kB / 461.4 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3955, allocations: 3.328 kB / 461.4 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.3956, allocations: 0 / 461.4 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3956, allocations: 2.938 kB / 461.4 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.3956, allocations: 4.5 kB / 461.5 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.3958, allocations: 145.9 kB / 461.6 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.3958, allocations: 94.27 kB / 461.7 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.3959, allocations: 10.44 kB / 461.7 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.561e-05/0.3959, allocations: 3.625 kB / 461.7 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.396, allocations: 14.97 kB / 461.7 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.396, allocations: 5.469 kB / 461.7 MB, free: 36.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.3962, allocations: 201.9 kB / 461.9 MB, free: 36.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3962, allocations: 0 / 461.9 MB, free: 36.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.3964, allocations: 27.09 kB / 461.9 MB, free: 36.01 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.0009471/0.3974, allocations: 427.7 kB / 462.4 MB, free: 35.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.3976, allocations: 76.39 kB / 462.4 MB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3976, allocations: 7.594 kB / 462.4 MB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.323e-05/0.3977, allocations: 40.3 kB / 462.5 MB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.398, allocations: 37.88 kB / 462.5 MB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005306/0.3985, allocations: 339.2 kB / 462.9 MB, free: 35.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.3988, allocations: 0.722 MB / 463.6 MB, free: 34.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.273e-05/0.3989, allocations: 25.34 kB / 463.6 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.3989, allocations: 16.12 kB / 463.6 MB, free: 34.98 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3989, allocations: 0 / 463.6 MB, free: 34.98 MB / 382.1 MB Notification: Performance of Templates: time 0.005978/0.4049, allocations: 2.232 MB / 465.8 MB, free: 34.82 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)