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.03964/0.03964, allocations: 9.134 MB / 28.99 MB, free: 0.8203 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.001259/0.001259, allocations: 99.08 kB / 35.33 MB, free: 1.078 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.001206/0.001206, allocations: 157.6 kB / 38.72 MB, free: 2.523 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.9682/0.9682, 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.004252/0.004252, allocations: 0.8296 MB / 276.5 MB, free: 0.7422 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.628/1.628, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 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.523e-06/1.523e-06, allocations: 0 / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.412e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001181/0.001205, allocations: 0.6718 MB / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0001322/0.001337, allocations: 11.94 kB / 0.6386 GB, free: 13.38 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.001376, allocations: 0 / 0.6386 GB, free: 13.38 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 9.306e-05/0.001469, allocations: 4 kB / 0.6386 GB, free: 13.37 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.595e-05/0.001505, allocations: 0 / 0.6386 GB, free: 13.37 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 5.905e-05/0.001564, allocations: 4 kB / 0.6386 GB, free: 13.37 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.933e-05/0.001634, allocations: 31.84 kB / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.63e-05/0.00173, allocations: 23.97 kB / 0.6386 GB, free: 13.31 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.493e-05/0.001765, allocations: 19.92 kB / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.825e-05/0.001793, allocations: 8 kB / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.001812, allocations: 8 kB / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-06/0.00182, allocations: 0 / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.088e-05/0.001851, allocations: 19.91 kB / 0.6387 GB, free: 13.26 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.899e-05/0.00187, allocations: 8 kB / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.717e-05/0.001947, allocations: 35.84 kB / 0.6387 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.462e-06/0.001949, allocations: 0 / 0.6387 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.91e-07/0.001949, allocations: 0 / 0.6387 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.001953, allocations: 0 / 0.6387 GB, free: 13.21 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.0002132/0.002166, allocations: 248.8 kB / 0.639 GB, free: 12.95 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.002198, allocations: 15.98 kB / 0.639 GB, free: 12.93 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.002223, allocations: 8.938 kB / 0.639 GB, free: 12.92 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.676e-05/0.00232, allocations: 129.6 kB / 0.6391 GB, free: 12.77 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-06/0.002326, allocations: 384 / 0.6391 GB, free: 12.77 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.002337, allocations: 8.375 kB / 0.6391 GB, free: 12.76 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.007e-05/0.002417, allocations: 53.06 kB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.002422, allocations: 192 / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.00243, allocations: 384 / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.002435, allocations: 384 / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.981e-05/0.002455, allocations: 19.88 kB / 0.6392 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/0.002714, allocations: 340.4 kB / 0.6395 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.736e-05/0.002771, allocations: 169.1 kB / 0.6397 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/0.002793, allocations: 88.08 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.00281, allocations: 79.28 kB / 0.6398 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.002843, allocations: 109.8 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.002844, allocations: 0 / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0): time 3.948e-05/0.002883, allocations: 29.8 kB / 0.64 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.002929, allocations: 134.6 kB / 0.6401 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.852e-05/0.002998, allocations: 122.6 kB / 0.6402 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.003006, allocations: 25.7 kB / 0.6402 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.003043, allocations: 92.05 kB / 0.6403 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.003045, allocations: 0 / 0.6403 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.003066, allocations: 21.7 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.794e-05/0.003134, allocations: 318.8 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.281e-06/0.00314, allocations: 7.938 kB / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/0.003145, allocations: 0 / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.069e-05/0.003166, allocations: 4.859 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.003168, allocations: 7.938 kB / 0.6407 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.549e-05/0.003223, allocations: 33.69 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.003233, allocations: 4 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.003237, allocations: 0 / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.003246, allocations: 0 / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.792e-05/0.003284, allocations: 4.094 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.003287, allocations: 4 kB / 0.6407 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.194e-05/0.003299, allocations: 4 kB / 0.6407 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.003305, allocations: 3.938 kB / 0.6407 GB, free: 11 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.189e-05/0.003367, allocations: 195.9 kB / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.003397, allocations: 101 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.003429, allocations: 108.5 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-05/0.003468, allocations: 184.2 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.114e-05/0.003509, allocations: 180.3 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-05/0.003551, allocations: 188.2 kB / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.003675, allocations: 317.4 kB / 0.6419 GB, free: 9.688 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/0.003697, allocations: 113 kB / 0.6421 GB, free: 9.57 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.003719, allocations: 104.9 kB / 0.6422 GB, free: 9.461 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.805e-05/0.003757, allocations: 184.2 kB / 0.6423 GB, free: 9.273 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.003797, allocations: 184.2 kB / 0.6425 GB, free: 9.086 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.648e-05/0.003833, allocations: 180.3 kB / 0.6427 GB, free: 8.902 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.839e-05/0.003871, allocations: 180.2 kB / 0.6429 GB, free: 8.719 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.442e-05/0.003956, allocations: 308 kB / 0.6431 GB, free: 8.395 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.003988, allocations: 112.9 kB / 0.6433 GB, free: 8.277 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.004034, allocations: 184.2 kB / 0.6434 GB, free: 8.09 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.449e-05/0.004078, allocations: 104.9 kB / 0.6435 GB, free: 7.98 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.004118, allocations: 192.2 kB / 0.6437 GB, free: 7.785 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.004139, allocations: 101 kB / 0.6438 GB, free: 7.68 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.973e-05/0.004159, allocations: 20.83 kB / 0.6438 GB, free: 7.656 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4.1e-08/0.004159, allocations: 0 / 0.6438 GB, free: 7.656 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001173/0.004276, allocations: 11.89 kB / 0.6438 GB, free: 7.645 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 7.901e-05/0.004355, allocations: 147.7 kB / 0.644 GB, free: 7.488 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.033e-05/0.004396, allocations: 12.8 kB / 0.644 GB, free: 7.473 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.004398, allocations: 0 / 0.644 GB, free: 7.473 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.004399, allocations: 0 / 0.644 GB, free: 7.473 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.004602, allocations: 467.8 kB / 0.6444 GB, free: 7.012 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001974/0.004799, allocations: 211.5 kB / 0.6446 GB, free: 6.777 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.966e-05/0.004829, allocations: 59.34 kB / 0.6447 GB, free: 6.699 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.442e-05/0.004843, allocations: 4 kB / 0.6447 GB, free: 6.695 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.004876, allocations: 51.38 kB / 0.6448 GB, free: 6.645 MB / 0.6043 GB Notification: Performance of SimCode: time 5.71e-07/0.004876, allocations: 0 / 0.6448 GB, free: 6.645 MB / 0.6043 GB Notification: Performance of Templates: time 0.002151/0.007027, allocations: 340.9 kB / 0.6451 GB, free: 6.312 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 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.282401960808784]