Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.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.04125/0.04125, allocations: 9.132 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.0008205/0.0008205, allocations: 91.27 kB / 35.33 MB, free: 1.066 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.001536/0.001536, allocations: 164.2 kB / 38.73 MB, free: 2.512 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.9483/0.9483, allocations: 177.2 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.003812/0.003812, allocations: 0.8333 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.601/1.601, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.901e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001147/0.001166, allocations: 0.6757 MB / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0007284/0.001894, allocations: 0.8548 MB / 0.6394 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.678e-05/0.001921, allocations: 0 / 0.6394 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.001946, allocations: 3.938 kB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.811e-05/0.002004, allocations: 7.938 kB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.002153, allocations: 11.98 kB / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.714e-05/0.00221, allocations: 23.92 kB / 0.6395 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.246e-05/0.002273, allocations: 7.984 kB / 0.6395 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.076e-05/0.002334, allocations: 11.98 kB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.187e-05/0.002365, allocations: 8 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.002376, allocations: 3.938 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.077e-05/0.002417, allocations: 11.88 kB / 0.6395 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.002431, allocations: 3.984 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.243e-05/0.002443, allocations: 8 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.301e-05/0.002516, allocations: 15.97 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.002518, allocations: 4 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.82e-07/0.002519, allocations: 0 / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.765e-06/0.002521, allocations: 4 kB / 0.6395 GB, free: 12.4 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002389/0.00276, allocations: 233 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.002793, allocations: 11.98 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.441e-05/0.002867, allocations: 8.875 kB / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.003072, allocations: 113.7 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.00308, allocations: 384 / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.003088, allocations: 384 / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.609e-05/0.003174, allocations: 62.92 kB / 0.6399 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.003179, allocations: 4.188 kB / 0.6399 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.411e-06/0.003185, allocations: 384 / 0.6399 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.003188, allocations: 384 / 0.6399 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.782e-05/0.003206, allocations: 11.88 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.003376, allocations: 144.3 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.255e-05/0.003409, allocations: 18.58 kB / 0.6401 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.238e-05/0.003421, allocations: 8.922 kB / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.003433, allocations: 0 / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.003451, allocations: 38.5 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 5.51e-07/0.003452, allocations: 0 / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 8.495e-05/0.003537, allocations: 41.69 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.003564, allocations: 55.34 kB / 0.6402 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.736e-05/0.003611, allocations: 106.7 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.003618, allocations: 25.7 kB / 0.6404 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.446e-05/0.003643, allocations: 80.14 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.003658, allocations: 7.938 kB / 0.6405 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.00368, allocations: 17.72 kB / 0.6405 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.162e-05/0.003741, allocations: 314.8 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-06/0.003748, allocations: 4 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-06/0.003756, allocations: 4.125 kB / 0.6408 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.124e-05/0.003777, allocations: 20.77 kB / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.003779, allocations: 0 / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.51e-05/0.003814, allocations: 33.7 kB / 0.6408 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.567e-06/0.003822, allocations: 4 kB / 0.6408 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.003826, allocations: 0 / 0.6408 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.003834, allocations: 4 kB / 0.6408 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.038e-05/0.003885, allocations: 11.92 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.003887, allocations: 0 / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.465e-05/0.003902, allocations: 4.094 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.003905, allocations: 4 kB / 0.6409 GB, free: 10.88 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 (2): * Single equations (assignments): 2 * 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 3.928e-05/0.003945, allocations: 105.8 kB / 0.641 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.003957, allocations: 11.88 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.322e-05/0.00401, allocations: 41 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.004013, allocations: 3.984 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.004015, allocations: 3.938 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.004017, allocations: 0 / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.761e-05/0.004085, allocations: 61.91 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.004087, allocations: 8 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.634e-05/0.004103, allocations: 12.02 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.004104, allocations: 0 / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-06/0.004107, allocations: 0 / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.004108, allocations: 0 / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.004108, allocations: 0 / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.536e-05/0.004164, allocations: 135.4 kB / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-06/0.004169, allocations: 4 kB / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-06/0.004175, allocations: 0 / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.678e-05/0.004202, allocations: 4 kB / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.004227, allocations: 4 kB / 0.6412 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.004229, allocations: 8.016 kB / 0.6412 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.193e-05/0.004241, allocations: 20.95 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004241, allocations: 0 / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001101/0.004351, allocations: 4 kB / 0.6413 GB, free: 10.41 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 (2): * Single equations (assignments): 2 * 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 6.116e-05/0.004412, allocations: 76.42 kB / 0.6413 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.35e-05/0.004456, allocations: 8.859 kB / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.004458, allocations: 4 kB / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.247e-05/0.00447, allocations: 12.78 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.004584, allocations: 8.125 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001746/0.004759, allocations: 108.6 kB / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.746e-05/0.004786, allocations: 55.36 kB / 0.6415 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.179e-05/0.004798, allocations: 0 / 0.6415 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.004832, allocations: 51.38 kB / 0.6416 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of SimCode: time 7.02e-07/0.004833, allocations: 0 / 0.6416 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of Templates: time 0.001641/0.006474, allocations: 456.6 kB / 0.642 GB, free: 9.582 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.206413580104709]