Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04144/0.04144, allocations: 9.132 MB / 28.99 MB, free: 404 kB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000839/0.000839, allocations: 98.64 kB / 35.33 MB, free: 0.9102 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 164.3 kB / 38.73 MB, free: 2.391 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.042/1.042, allocations: 177.2 MB / 219.2 MB, free: 10.08 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003865/0.003865, allocations: 0.8255 MB / 276.5 MB, free: 0.7109 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.581/1.581, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.BooleanReplicator") translateModel(AixLib.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.168e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.BooleanReplicator): time 0.002263/0.002285, allocations: 1.847 MB / 0.6397 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.003706, allocations: 1.168 MB / 0.6408 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.407e-05/0.00379, allocations: 3.938 kB / 0.6408 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0005383/0.004329, allocations: 163.5 kB / 0.641 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.004632, allocations: 159.3 kB / 0.6411 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.004902, allocations: 139.5 kB / 0.6413 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.00509, allocations: 187.4 kB / 0.6414 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.019e-05/0.00517, allocations: 9.969 kB / 0.6414 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.005283, allocations: 99.72 kB / 0.6415 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 8.873e-05/0.005371, allocations: 67.86 kB / 0.6416 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.005388, allocations: 8 kB / 0.6416 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.005502, allocations: 67.81 kB / 0.6417 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 6.301e-05/0.005565, allocations: 43.84 kB / 0.6417 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.005607, allocations: 39.86 kB / 0.6418 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.005797, allocations: 159.4 kB / 0.6419 GB, free: 9.957 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.005798, allocations: 0 / 0.6419 GB, free: 9.957 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.71e-07/0.005799, allocations: 4 kB / 0.6419 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.895e-06/0.005801, allocations: 0 / 0.6419 GB, free: 9.953 MB / 0.6043 GB 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.000417/0.006218, allocations: 401.5 kB / 0.6423 GB, free: 9.531 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.006249, allocations: 11.98 kB / 0.6423 GB, free: 9.52 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.006282, allocations: 12.92 kB / 0.6423 GB, free: 9.508 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.006464, allocations: 190.1 kB / 0.6425 GB, free: 9.293 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.006479, allocations: 4.375 kB / 0.6425 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.006493, allocations: 12.36 kB / 0.6425 GB, free: 9.277 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.844e-05/0.006591, allocations: 53 kB / 0.6426 GB, free: 9.219 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.006599, allocations: 3.938 kB / 0.6426 GB, free: 9.215 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.006608, allocations: 11.98 kB / 0.6426 GB, free: 9.203 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.006626, allocations: 4 kB / 0.6426 GB, free: 9.199 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.607e-05/0.006652, allocations: 8 kB / 0.6426 GB, free: 9.191 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.006902, allocations: 201.8 kB / 0.6428 GB, free: 8.977 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 9.625e-05/0.006999, allocations: 89.39 kB / 0.6429 GB, free: 8.879 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.007019, allocations: 16.8 kB / 0.6429 GB, free: 8.859 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.00703, allocations: 3.938 kB / 0.6429 GB, free: 8.855 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.257e-05/0.007113, allocations: 70.14 kB / 0.643 GB, free: 8.773 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.007114, allocations: 4 kB / 0.643 GB, free: 8.77 MB / 0.6043 GB Notification: Performance of matching and sorting (n=10): time 0.0001223/0.007236, allocations: 73.61 kB / 0.643 GB, free: 8.691 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.007262, allocations: 59.34 kB / 0.6431 GB, free: 8.621 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.007534, allocations: 224 kB / 0.6433 GB, free: 8.387 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.007548, allocations: 29.7 kB / 0.6433 GB, free: 8.352 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.007587, allocations: 100.6 kB / 0.6434 GB, free: 8.25 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.007611, allocations: 27.83 kB / 0.6435 GB, free: 8.223 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.007643, allocations: 25.7 kB / 0.6435 GB, free: 8.191 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.443e-05/0.007718, allocations: 330.8 kB / 0.6438 GB, free: 7.859 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/0.007736, allocations: 10.83 kB / 0.6438 GB, free: 7.848 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-05/0.00777, allocations: 56.27 kB / 0.6439 GB, free: 7.777 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.381e-05/0.007814, allocations: 47.28 kB / 0.6439 GB, free: 7.723 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.007816, allocations: 0 / 0.6439 GB, free: 7.723 MB / 0.6043 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.159e-05/0.007898, allocations: 80.38 kB / 0.644 GB, free: 7.637 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.007909, allocations: 4 kB / 0.644 GB, free: 7.633 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.007914, allocations: 0 / 0.644 GB, free: 7.633 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.007926, allocations: 4 kB / 0.644 GB, free: 7.629 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.926e-05/0.007975, allocations: 11.98 kB / 0.644 GB, free: 7.617 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.007978, allocations: 0 / 0.644 GB, free: 7.617 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.414e-05/0.008012, allocations: 15.95 kB / 0.644 GB, free: 7.602 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.008017, allocations: 0 / 0.644 GB, free: 7.602 MB / 0.6043 GB 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 6.951e-05/0.008087, allocations: 124.7 kB / 0.6441 GB, free: 7.469 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.0081, allocations: 11.94 kB / 0.6441 GB, free: 7.457 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.507e-05/0.008195, allocations: 90.98 kB / 0.6442 GB, free: 7.367 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.567e-06/0.008204, allocations: 4 kB / 0.6442 GB, free: 7.363 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-06/0.008205, allocations: 0 / 0.6442 GB, free: 7.363 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.008208, allocations: 0 / 0.6442 GB, free: 7.363 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.493e-05/0.008302, allocations: 101.8 kB / 0.6443 GB, free: 7.246 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.008304, allocations: 0 / 0.6443 GB, free: 7.246 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.541e-05/0.008319, allocations: 12 kB / 0.6443 GB, free: 7.234 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.008321, allocations: 4 kB / 0.6444 GB, free: 7.23 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.008327, allocations: 3.938 kB / 0.6444 GB, free: 7.227 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.008329, allocations: 0 / 0.6444 GB, free: 7.227 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.00833, allocations: 0 / 0.6444 GB, free: 7.227 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.576e-05/0.008405, allocations: 102.7 kB / 0.6445 GB, free: 7.105 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.008424, allocations: 15.84 kB / 0.6445 GB, free: 7.09 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.008442, allocations: 11.94 kB / 0.6445 GB, free: 7.078 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.154e-05/0.008464, allocations: 0 / 0.6445 GB, free: 7.078 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.00849, allocations: 7.984 kB / 0.6445 GB, free: 7.07 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.008495, allocations: 4 kB / 0.6445 GB, free: 7.066 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 6.62e-05/0.008562, allocations: 81 kB / 0.6446 GB, free: 6.984 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.008562, allocations: 0 / 0.6446 GB, free: 6.984 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001377/0.008699, allocations: 31.95 kB / 0.6446 GB, free: 6.953 MB / 0.6043 GB 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.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.001005/0.009705, allocations: 0.5167 MB / 0.6451 GB, free: 6.422 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.009807, allocations: 40.78 kB / 0.6451 GB, free: 6.379 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.009811, allocations: 4 kB / 0.6451 GB, free: 6.375 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.232e-05/0.009843, allocations: 32.89 kB / 0.6452 GB, free: 6.34 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.009978, allocations: 40.64 kB / 0.6452 GB, free: 6.297 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.01031, allocations: 277.5 kB / 0.6455 GB, free: 5.996 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.877e-05/0.01035, allocations: 75.83 kB / 0.6456 GB, free: 5.898 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 4.22e-05/0.01039, allocations: 21.77 kB / 0.6456 GB, free: 5.875 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.914e-05/0.01046, allocations: 75.36 kB / 0.6456 GB, free: 5.801 MB / 0.6043 GB Notification: Performance of SimCode: time 3.7e-07/0.01046, allocations: 4 kB / 0.6456 GB, free: 5.797 MB / 0.6043 GB Notification: Performance of Templates: time 0.004142/0.0146, allocations: 2.645 MB / 0.6482 GB, free: 3.16 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.BooleanReplicator.sim & ./AixLib_AixLib.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.476580013986677]