Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos.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.04085/0.04085, allocations: 9.13 MB / 28.99 MB, free: 344 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.0008296/0.0008296, allocations: 91.27 kB / 35.32 MB, free: 0.9375 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.001071/0.001071, allocations: 168.4 kB / 38.73 MB, free: 2.398 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.9601/0.9601, allocations: 177.2 MB / 219.2 MB, free: 10.13 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.004218/0.004218, allocations: 0.818 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.671/1.671, 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.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.8e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001759/0.001787, allocations: 0.6718 MB / 0.6386 GB, free: 13.41 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.002891, allocations: 0.8625 MB / 0.6394 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.781e-05/0.002929, allocations: 0 / 0.6394 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.002961, allocations: 4 kB / 0.6394 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.019e-05/0.003041, allocations: 11.86 kB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.003228, allocations: 8 kB / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.95e-05/0.003297, allocations: 23.92 kB / 0.6395 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.565e-05/0.003373, allocations: 7.984 kB / 0.6395 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.781e-05/0.003451, allocations: 11.98 kB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.858e-05/0.003489, allocations: 11.92 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.003502, allocations: 0 / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.505e-05/0.003547, allocations: 11.94 kB / 0.6395 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.003561, allocations: 0 / 0.6395 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.424e-05/0.003576, allocations: 8 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 9.155e-05/0.003667, allocations: 31.89 kB / 0.6395 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.003669, allocations: 3.938 kB / 0.6396 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.71e-07/0.00367, allocations: 0 / 0.6396 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.003673, allocations: 0 / 0.6396 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.0002934/0.003966, allocations: 232.9 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.004004, allocations: 11.98 kB / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.726e-05/0.004091, allocations: 4.938 kB / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.004204, allocations: 113.7 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.004214, allocations: 384 / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.004227, allocations: 4.359 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.004335, allocations: 54.95 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.004341, allocations: 192 / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.004348, allocations: 4.375 kB / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.004354, allocations: 384 / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.23e-05/0.004376, allocations: 11.88 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000208/0.004584, allocations: 144.3 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.999e-05/0.004624, allocations: 18.58 kB / 0.6401 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.00464, allocations: 12.95 kB / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.004653, allocations: 0 / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.004675, allocations: 38.56 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.004676, allocations: 4 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 0.0001086/0.004785, allocations: 33.64 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.004822, allocations: 59.34 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.119e-05/0.004883, allocations: 106.7 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.004893, allocations: 25.7 kB / 0.6404 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.004923, allocations: 80.14 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.00494, allocations: 7.953 kB / 0.6405 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.004967, allocations: 9.719 kB / 0.6405 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.005092, allocations: 322.8 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-06/0.005101, allocations: 128 / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-06/0.005109, allocations: 4 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.863e-05/0.005137, allocations: 24.78 kB / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.005139, allocations: 0 / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.578e-05/0.005195, allocations: 33.69 kB / 0.6409 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.005208, allocations: 8 kB / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.005213, allocations: 0 / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.005226, allocations: 3.938 kB / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.913e-05/0.005295, allocations: 7.938 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.005298, allocations: 0 / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.309e-05/0.005321, allocations: 16.02 kB / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.005325, allocations: 0 / 0.6409 GB, free: 10.87 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 5.678e-05/0.005382, allocations: 105.8 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.005403, allocations: 4 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.827e-05/0.005471, allocations: 44.94 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.005473, allocations: 0 / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.005476, allocations: 3.938 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.005478, allocations: 4 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.005589, allocations: 65.89 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.005591, allocations: 8.031 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/0.005618, allocations: 4 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.00562, allocations: 0 / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-06/0.005623, allocations: 0 / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.005625, allocations: 0 / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.005626, allocations: 0 / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.742e-05/0.005703, allocations: 139.4 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-06/0.005709, allocations: 0 / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.256e-06/0.005717, allocations: 192 / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.845e-05/0.005766, allocations: 7.984 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.005793, allocations: 7.984 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.005795, allocations: 4.031 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.474e-05/0.00581, allocations: 12.8 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.00581, allocations: 0 / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000202/0.006012, 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 0.0001511/0.006163, allocations: 80.39 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.591e-05/0.006219, allocations: 12.86 kB / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.006222, allocations: 0 / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.714e-05/0.006239, allocations: 12.86 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.0001751/0.006414, allocations: 8.062 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.0003914/0.006805, allocations: 112.7 kB / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.441e-05/0.00684, allocations: 51.36 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.788e-05/0.006858, allocations: 0 / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.006902, allocations: 51.38 kB / 0.6416 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of SimCode: time 7.31e-07/0.006902, allocations: 3.938 kB / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of Templates: time 0.002279/0.009181, allocations: 477.5 kB / 0.6421 GB, free: 9.559 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3189158863388]