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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.3261/0.3261, allocations: 54.41 MB / 61.89 MB, free: 13.69 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001432/0.001432, allocations: 181.5 kB / 75.61 MB, free: 0.75 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.143/2.143, allocations: 194.3 MB / 283.5 MB, free: 14.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001957/0.001957, allocations: 109.4 kB / 341.6 MB, free: 4.027 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.015e-05/3.012e-05, allocations: 4.219 kB / 405.5 MB, free: 4.129 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.291, allocations: 57.64 MB / 463.1 MB, free: 51.73 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.4187, allocations: 85.63 MB / 0.5359 GB, free: 15.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.4191, allocations: 82.08 kB / 0.536 GB, free: 15.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006265/0.4253, allocations: 1.406 MB / 0.5374 GB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4254, allocations: 0 / 0.5374 GB, free: 14.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.4254, allocations: 4 kB / 0.5374 GB, free: 14.07 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004446/0.4259, allocations: 399.1 kB / 0.5378 GB, free: 13.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.4259, allocations: 18.56 kB / 0.5378 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.426, allocations: 7.906 kB / 0.5378 GB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.4262, allocations: 172.4 kB / 0.5379 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.4263, allocations: 0 / 0.5379 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.4263, allocations: 4 kB / 0.5379 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000102/0.4264, allocations: 23.98 kB / 0.538 GB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.4265, allocations: 57.64 kB / 0.538 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.4266, allocations: 1.594 kB / 0.538 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.4266, allocations: 0 / 0.538 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.4266, allocations: 4 kB / 0.538 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.427, allocations: 255.4 kB / 0.5383 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.4271, allocations: 43.98 kB / 0.5383 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.939e-05/0.4272, allocations: 32.88 kB / 0.5383 GB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.4273, allocations: 6.109 kB / 0.5384 GB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.4274, allocations: 101.1 kB / 0.5384 GB, free: 12.81 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 2.485e-06/0.4275, allocations: 0 / 0.5384 GB, free: 12.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003932/0.4279, allocations: 110.5 kB / 0.5386 GB, free: 12.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/0.428, allocations: 111 kB / 0.5387 GB, free: 12.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.4281, allocations: 103.1 kB / 0.5388 GB, free: 12.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.4281, allocations: 29.7 kB / 0.5388 GB, free: 12.42 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.4282, allocations: 84.14 kB / 0.5389 GB, free: 12.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.4282, allocations: 22.75 kB / 0.5389 GB, free: 12.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.4283, allocations: 0 / 0.5389 GB, free: 12.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4284, allocations: 320.2 kB / 0.5392 GB, free: 12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.499e-05/0.4285, allocations: 19.98 kB / 0.5392 GB, free: 11.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.392e-05/0.4286, allocations: 26.56 kB / 0.5392 GB, free: 11.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.4287, allocations: 25.77 kB / 0.5393 GB, free: 11.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4287, allocations: 0 / 0.5393 GB, free: 11.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000301/0.429, allocations: 113.5 kB / 0.5394 GB, free: 11.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.499e-05/0.4291, allocations: 62.58 kB / 0.5394 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4292, allocations: 0 / 0.5394 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.4292, allocations: 4 kB / 0.5394 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.14e-05/0.4292, allocations: 7.922 kB / 0.5394 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.4292, allocations: 2.969 kB / 0.5394 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.4293, allocations: 4 kB / 0.5394 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.4294, allocations: 4 kB / 0.5395 GB, free: 11.73 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.booTab.y,booTab.y,$PRE.booTab.nextTime,booTab.nextTime,$PRE.booTab.index,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 3 * Array equations: 1 * Algorithm blocks: 2 * 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.0001437/0.4295, allocations: 142.7 kB / 0.5396 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.4296, allocations: 7.906 kB / 0.5396 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.035e-05/0.4296, allocations: 12.58 kB / 0.5396 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.4296, allocations: 4 kB / 0.5396 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4296, allocations: 0 / 0.5396 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.4296, allocations: 0 / 0.5396 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.4298, allocations: 150.2 kB / 0.5398 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.4298, allocations: 0 / 0.5398 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-07/0.4298, allocations: 0 / 0.5398 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4299, allocations: 6.062 kB / 0.5398 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.4299, allocations: 4.938 kB / 0.5398 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4299, allocations: 0 / 0.5398 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.4299, allocations: 3.953 kB / 0.5398 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.4302, allocations: 145 kB / 0.5399 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.4303, allocations: 88.95 kB / 0.54 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.4303, allocations: 0 / 0.54 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.4304, allocations: 4 kB / 0.54 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.4305, allocations: 12.02 kB / 0.54 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.4305, allocations: 3.953 kB / 0.54 GB, free: 11.08 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.827e-05/0.4306, allocations: 91.22 kB / 0.5401 GB, free: 10.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4306, allocations: 0 / 0.5401 GB, free: 10.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003568/0.431, allocations: 31.98 kB / 0.5401 GB, free: 10.96 MB / 394.7 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.nextTime,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 4 (booTab.y,booTab.nextTime,booTab.index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0002793/0.4313, allocations: 127.2 kB / 0.5402 GB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002745/0.4315, allocations: 170.8 kB / 0.5404 GB, free: 10.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4316, allocations: 4 kB / 0.5404 GB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.4317, allocations: 103.3 kB / 0.5405 GB, free: 10.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.4319, allocations: 4 kB / 0.5405 GB, free: 10.51 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.4323, allocations: 104.1 kB / 0.5406 GB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.4327, allocations: 0.7008 MB / 0.5413 GB, free: 9.66 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.432e-05/0.4327, allocations: 4 kB / 0.5413 GB, free: 9.656 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.4327, allocations: 7.438 kB / 0.5413 GB, free: 9.648 MB / 394.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4328, allocations: 0 / 0.5413 GB, free: 9.648 MB / 394.7 MB Notification: Performance of Templates: time 0.004167/0.4369, allocations: 0.8208 MB / 0.5421 GB, free: 8.867 MB / 394.7 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)