Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax.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.042/0.042, 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.0008769/0.0008769, allocations: 95.2 kB / 35.33 MB, free: 1.062 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.0009919/0.0009919, allocations: 172.6 kB / 38.73 MB, free: 2.473 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 0.9561/0.9561, allocations: 177.1 MB / 219.2 MB, free: 10.12 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.004122/0.004122, allocations: 0.8182 MB / 276.5 MB, free: 0.75 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.73/1.73, allocations: 274.9 MB / 0.5419 GB, free: 0.6445 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.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.638 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.209e-05, allocations: 6.312 kB / 0.638 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001298/0.00132, allocations: 0.7033 MB / 0.6386 GB, free: 13.33 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00014/0.00146, allocations: 15.92 kB / 0.6387 GB, free: 13.31 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.706e-05/0.001497, allocations: 0 / 0.6387 GB, free: 13.31 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 9.915e-05/0.001597, allocations: 0 / 0.6387 GB, free: 13.31 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.043e-05/0.001637, allocations: 11.94 kB / 0.6387 GB, free: 13.3 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 5.83e-05/0.001695, allocations: 4 kB / 0.6387 GB, free: 13.3 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.763e-05/0.001773, allocations: 31.89 kB / 0.6387 GB, free: 13.27 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.00188, allocations: 19.98 kB / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.476e-05/0.001914, allocations: 15.94 kB / 0.6387 GB, free: 13.23 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.799e-05/0.001942, allocations: 15.97 kB / 0.6388 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.001959, allocations: 4 kB / 0.6388 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-06/0.001968, allocations: 4 kB / 0.6388 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.001994, allocations: 7.938 kB / 0.6388 GB, free: 13.2 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.002014, allocations: 11.98 kB / 0.6388 GB, free: 13.19 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.716e-05/0.002091, allocations: 35.84 kB / 0.6388 GB, free: 13.15 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.282e-06/0.002092, allocations: 4 kB / 0.6388 GB, free: 13.15 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002093, allocations: 0 / 0.6388 GB, free: 13.15 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.002096, allocations: 0 / 0.6388 GB, free: 13.15 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002009/0.002297, allocations: 248.9 kB / 0.6391 GB, free: 12.88 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.002325, allocations: 15.92 kB / 0.6391 GB, free: 12.86 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.18e-05/0.002347, allocations: 4.938 kB / 0.6391 GB, free: 12.86 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.938e-05/0.002447, allocations: 133.6 kB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-06/0.002453, allocations: 384 / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.002461, allocations: 4.375 kB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.912e-05/0.00254, allocations: 53.08 kB / 0.6393 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.002546, allocations: 192 / 0.6393 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.002553, allocations: 4.375 kB / 0.6393 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.002559, allocations: 12.34 kB / 0.6393 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.943e-05/0.002578, allocations: 15.88 kB / 0.6393 GB, free: 12.61 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.002823, allocations: 340.4 kB / 0.6396 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.353e-05/0.002876, allocations: 177 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.002894, allocations: 80.14 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002666/0.00316, allocations: 79.28 kB / 0.6399 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.003193, allocations: 105.8 kB / 0.64 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.003194, allocations: 0 / 0.64 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0): time 4.426e-05/0.003238, allocations: 25.7 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.003276, allocations: 138.8 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.648e-05/0.003342, allocations: 126.5 kB / 0.6403 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 6.702e-06/0.003349, allocations: 29.7 kB / 0.6403 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.003386, allocations: 92.05 kB / 0.6404 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.003388, allocations: 0 / 0.6404 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.003409, allocations: 13.7 kB / 0.6404 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.398e-05/0.003473, allocations: 318.8 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.62e-06/0.003478, allocations: 0 / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-06/0.003483, allocations: 0 / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.413e-05/0.003508, allocations: 8.859 kB / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.00351, allocations: 8 kB / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.528e-05/0.003565, allocations: 33.69 kB / 0.6408 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.003576, allocations: 4 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.00358, allocations: 3.938 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.00359, allocations: 4 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.663e-05/0.003627, allocations: 0 / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.003629, allocations: 0 / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.163e-05/0.003641, allocations: 4 kB / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.003648, allocations: 0 / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * 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.27e-05/0.00371, allocations: 195.9 kB / 0.641 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.003745, allocations: 109 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.003778, allocations: 112.4 kB / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.485e-05/0.003813, allocations: 176.3 kB / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.746e-05/0.00385, allocations: 188.3 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.308e-05/0.003883, allocations: 184.2 kB / 0.6417 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.003995, allocations: 325.4 kB / 0.642 GB, free: 9.609 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.15e-05/0.004017, allocations: 108.9 kB / 0.6421 GB, free: 9.496 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.004039, allocations: 101 kB / 0.6422 GB, free: 9.391 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.573e-05/0.004075, allocations: 184.2 kB / 0.6424 GB, free: 9.203 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.00411, allocations: 180.2 kB / 0.6426 GB, free: 9.02 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.385e-05/0.004144, allocations: 180.3 kB / 0.6428 GB, free: 8.836 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.615e-05/0.00418, allocations: 184.2 kB / 0.6429 GB, free: 8.648 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.955e-05/0.00426, allocations: 308 kB / 0.6432 GB, free: 8.324 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.004286, allocations: 112.9 kB / 0.6433 GB, free: 8.207 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.004328, allocations: 184.2 kB / 0.6435 GB, free: 8.02 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.64e-05/0.004374, allocations: 108.9 kB / 0.6436 GB, free: 7.906 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.004412, allocations: 180.2 kB / 0.6438 GB, free: 7.723 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.004434, allocations: 104.9 kB / 0.6439 GB, free: 7.613 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.748e-05/0.004451, allocations: 16.84 kB / 0.6439 GB, free: 7.594 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.004451, allocations: 0 / 0.6439 GB, free: 7.594 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001106/0.004562, allocations: 11.89 kB / 0.6439 GB, free: 7.582 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 9.338e-05/0.004655, allocations: 155.7 kB / 0.6441 GB, free: 7.418 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.583e-05/0.004701, allocations: 8.859 kB / 0.6441 GB, free: 7.406 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.004704, allocations: 0 / 0.6441 GB, free: 7.406 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.004705, allocations: 4 kB / 0.6441 GB, free: 7.402 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.004909, allocations: 459.7 kB / 0.6445 GB, free: 6.949 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001812/0.00509, allocations: 215.4 kB / 0.6447 GB, free: 6.711 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.033e-05/0.00512, allocations: 63.34 kB / 0.6448 GB, free: 6.629 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.524e-05/0.005136, allocations: 0 / 0.6448 GB, free: 6.629 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.005169, allocations: 55.44 kB / 0.6448 GB, free: 6.574 MB / 0.6043 GB Notification: Performance of SimCode: time 5.51e-07/0.005169, allocations: 0 / 0.6448 GB, free: 6.574 MB / 0.6043 GB Notification: Performance of Templates: time 0.001705/0.006874, allocations: 332.9 kB / 0.6452 GB, free: 6.25 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.372746523935348]