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.04165/0.04165, allocations: 9.128 MB / 28.99 MB, free: 0.8086 MB / 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.0009039/0.0009039, allocations: 90.72 kB / 35.33 MB, free: 1.074 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.003456/0.003456, allocations: 164.5 kB / 38.73 MB, free: 2.508 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.006/1.006, allocations: 177.1 MB / 219.2 MB, free: 10.11 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.006494/0.006494, allocations: 0.8224 MB / 276.5 MB, free: 0.7305 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.629/1.629, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 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.263e-06/1.263e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.558e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.BooleanReplicator): time 0.002311/0.002327, allocations: 1.894 MB / 0.6398 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.003703, allocations: 1.168 MB / 0.6409 GB, free: 11 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.743e-05/0.003791, allocations: 4 kB / 0.6409 GB, free: 11 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0007841/0.004575, allocations: 163.4 kB / 0.6411 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.004857, allocations: 155.3 kB / 0.6412 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.005156, allocations: 147.4 kB / 0.6413 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.005323, allocations: 167.6 kB / 0.6415 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.016e-05/0.005403, allocations: 21.89 kB / 0.6415 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.005507, allocations: 91.73 kB / 0.6416 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 8.942e-05/0.005597, allocations: 75.78 kB / 0.6417 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.005613, allocations: 8 kB / 0.6417 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.005736, allocations: 67.88 kB / 0.6418 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 5.523e-05/0.005792, allocations: 47.84 kB / 0.6418 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.005837, allocations: 35.86 kB / 0.6418 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.006028, allocations: 159.4 kB / 0.642 GB, free: 9.875 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.433e-06/0.006029, allocations: 0 / 0.642 GB, free: 9.875 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.92e-07/0.00603, allocations: 0 / 0.642 GB, free: 9.875 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.006035, allocations: 4 kB / 0.642 GB, free: 9.871 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.0003883/0.006423, allocations: 397.5 kB / 0.6424 GB, free: 9.453 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.006454, allocations: 15.98 kB / 0.6424 GB, free: 9.438 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.006487, allocations: 12.92 kB / 0.6424 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.006656, allocations: 182.2 kB / 0.6426 GB, free: 9.219 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.00667, allocations: 12.3 kB / 0.6426 GB, free: 9.207 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.00668, allocations: 4.375 kB / 0.6426 GB, free: 9.203 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.965e-05/0.006779, allocations: 57 kB / 0.6426 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.006787, allocations: 7.938 kB / 0.6427 GB, free: 9.133 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.006794, allocations: 4 kB / 0.6427 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.00681, allocations: 3.984 kB / 0.6427 GB, free: 9.125 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.73e-05/0.006837, allocations: 15.98 kB / 0.6427 GB, free: 9.109 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/0.007083, allocations: 193.9 kB / 0.6429 GB, free: 8.902 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 8.641e-05/0.007169, allocations: 93.2 kB / 0.6429 GB, free: 8.801 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.887e-05/0.007188, allocations: 16.86 kB / 0.643 GB, free: 8.781 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.0072, allocations: 3.938 kB / 0.643 GB, free: 8.777 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.966e-05/0.00728, allocations: 66.22 kB / 0.643 GB, free: 8.699 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.007281, allocations: 0 / 0.643 GB, free: 8.699 MB / 0.6043 GB Notification: Performance of matching and sorting (n=10): time 0.0001215/0.007402, allocations: 81.53 kB / 0.6431 GB, free: 8.613 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.007426, allocations: 51.41 kB / 0.6432 GB, free: 8.551 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.007552, allocations: 228 kB / 0.6434 GB, free: 8.312 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.007567, allocations: 25.7 kB / 0.6434 GB, free: 8.281 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.007603, allocations: 100.6 kB / 0.6435 GB, free: 8.18 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.007627, allocations: 23.84 kB / 0.6435 GB, free: 8.156 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.007658, allocations: 33.69 kB / 0.6435 GB, free: 8.117 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.787e-05/0.007736, allocations: 334.8 kB / 0.6439 GB, free: 7.781 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.007752, allocations: 10.77 kB / 0.6439 GB, free: 7.77 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.881e-05/0.007791, allocations: 60.2 kB / 0.6439 GB, free: 7.695 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.454e-05/0.007835, allocations: 43.34 kB / 0.644 GB, free: 7.645 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.007837, allocations: 0 / 0.644 GB, free: 7.645 MB / 0.6043 GB Notification: Performance of matching and sorting (n=12) (initialization): time 7.699e-05/0.007914, allocations: 80.42 kB / 0.6441 GB, free: 7.559 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.007923, allocations: 8 kB / 0.6441 GB, free: 7.551 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.007929, allocations: 4 kB / 0.6441 GB, free: 7.547 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.00794, allocations: 4.062 kB / 0.6441 GB, free: 7.543 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.233e-05/0.007993, allocations: 19.92 kB / 0.6441 GB, free: 7.523 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.007995, allocations: 0 / 0.6441 GB, free: 7.523 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.008027, allocations: 11.89 kB / 0.6441 GB, free: 7.512 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-06/0.008032, allocations: 0 / 0.6441 GB, free: 7.512 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.567e-05/0.008098, allocations: 120.7 kB / 0.6442 GB, free: 7.383 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.008111, allocations: 11.92 kB / 0.6442 GB, free: 7.371 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.703e-05/0.008198, allocations: 83.11 kB / 0.6443 GB, free: 7.289 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.008206, allocations: 7.938 kB / 0.6443 GB, free: 7.281 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.008208, allocations: 4 kB / 0.6443 GB, free: 7.277 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.008211, allocations: 0 / 0.6443 GB, free: 7.277 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.856e-05/0.008299, allocations: 97.84 kB / 0.6444 GB, free: 7.164 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.0083, allocations: 0 / 0.6444 GB, free: 7.164 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.952e-05/0.00832, allocations: 11.98 kB / 0.6444 GB, free: 7.152 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.008322, allocations: 4 kB / 0.6444 GB, free: 7.148 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.008327, allocations: 3.938 kB / 0.6444 GB, free: 7.145 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.008329, allocations: 0 / 0.6444 GB, free: 7.145 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008329, allocations: 0 / 0.6444 GB, free: 7.145 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.222e-05/0.008401, allocations: 98.69 kB / 0.6445 GB, free: 7.027 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.008419, allocations: 23.83 kB / 0.6445 GB, free: 7.004 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.008436, allocations: 11.94 kB / 0.6446 GB, free: 6.992 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.126e-05/0.008457, allocations: 0 / 0.6446 GB, free: 6.992 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.008485, allocations: 11.92 kB / 0.6446 GB, free: 6.98 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.00849, allocations: 0 / 0.6446 GB, free: 6.98 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 6.002e-05/0.00855, allocations: 81 kB / 0.6446 GB, free: 6.898 MB / 0.6043 GB Notification: Performance of sort global known variables: time 8e-08/0.00855, allocations: 0 / 0.6446 GB, free: 6.898 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001338/0.008684, allocations: 31.95 kB / 0.6447 GB, free: 6.867 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.00102/0.009704, allocations: 0.5168 MB / 0.6452 GB, free: 6.336 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.009809, allocations: 44.78 kB / 0.6452 GB, free: 6.289 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.009813, allocations: 4 kB / 0.6452 GB, free: 6.285 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.107e-05/0.009844, allocations: 28.83 kB / 0.6453 GB, free: 6.254 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.009983, allocations: 40.64 kB / 0.6453 GB, free: 6.211 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/0.0103, allocations: 277.5 kB / 0.6456 GB, free: 5.91 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.86e-05/0.01034, allocations: 71.83 kB / 0.6456 GB, free: 5.816 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 4.213e-05/0.01038, allocations: 29.78 kB / 0.6457 GB, free: 5.785 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.006e-05/0.01045, allocations: 75.36 kB / 0.6457 GB, free: 5.711 MB / 0.6043 GB Notification: Performance of SimCode: time 5.31e-07/0.01045, allocations: 0 / 0.6457 GB, free: 5.711 MB / 0.6043 GB Notification: Performance of Templates: time 0.004442/0.01489, allocations: 2.649 MB / 0.6483 GB, free: 3.07 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.408134727273136]