Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Asin.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.127 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.0009388/0.0009388, allocations: 87.28 kB / 35.32 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.001096/0.001096, 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 0.9822/0.9822, allocations: 177.1 MB / 219.2 MB, free: 10.09 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.0054/0.0054, allocations: 0.8221 MB / 276.5 MB, free: 0.7148 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.685/1.685, 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.Asin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Asin") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Asin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.151e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001347/0.001368, allocations: 0.7189 MB / 0.6386 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008419/0.00221, allocations: 0.839 MB / 0.6395 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.293e-05/0.002243, allocations: 0 / 0.6395 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.002273, allocations: 4 kB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.805e-05/0.002351, allocations: 3.938 kB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.002544, allocations: 11.98 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.998e-05/0.002614, allocations: 23.92 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.19e-05/0.002696, allocations: 8 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.148e-05/0.002777, allocations: 19.91 kB / 0.6395 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.788e-05/0.002815, allocations: 7.984 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.002829, allocations: 0 / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 5.835e-05/0.002888, allocations: 8 kB / 0.6396 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.002904, allocations: 4 kB / 0.6396 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.327e-05/0.002917, allocations: 4 kB / 0.6396 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.003018, allocations: 31.84 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.003022, allocations: 3.984 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.02e-07/0.003023, allocations: 0 / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.003026, allocations: 0 / 0.6396 GB, free: 12.34 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.0002766/0.003303, allocations: 225 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.003337, allocations: 19.92 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.471e-05/0.003422, allocations: 4.938 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.299e-05/0.003495, allocations: 117.7 kB / 0.6399 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.003503, allocations: 384 / 0.6399 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.781e-06/0.003509, allocations: 4.375 kB / 0.6399 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.36e-05/0.003592, allocations: 50.95 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.003599, allocations: 4.172 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.003605, allocations: 4.375 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.00361, allocations: 384 / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.852e-05/0.003628, allocations: 7.938 kB / 0.64 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.003808, allocations: 152.2 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.461e-05/0.003842, allocations: 18.58 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.234e-05/0.003854, allocations: 4.859 kB / 0.6402 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.003867, allocations: 0 / 0.6402 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.003886, allocations: 38.62 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 5.31e-07/0.003886, allocations: 0 / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 9.716e-05/0.003984, allocations: 41.67 kB / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.004012, allocations: 55.34 kB / 0.6403 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.283e-05/0.004064, allocations: 110.7 kB / 0.6404 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.004072, allocations: 25.7 kB / 0.6404 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.004101, allocations: 84.14 kB / 0.6405 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.004117, allocations: 3.953 kB / 0.6405 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.004139, allocations: 13.72 kB / 0.6405 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.004222, allocations: 310.8 kB / 0.6408 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-06/0.004231, allocations: 8.109 kB / 0.6408 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-06/0.00424, allocations: 7.938 kB / 0.6408 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.072e-05/0.00426, allocations: 12.84 kB / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.004262, allocations: 0 / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.247e-05/0.004304, allocations: 45.62 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.004315, allocations: 4 kB / 0.6409 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.004319, allocations: 0 / 0.6409 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-06/0.004328, allocations: 0 / 0.6409 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.441e-05/0.004383, allocations: 7.938 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.004385, allocations: 96 / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.487e-05/0.0044, allocations: 12 kB / 0.6409 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.004405, allocations: 3.984 kB / 0.6409 GB, free: 10.81 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.11e-05/0.004456, allocations: 109.8 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.004469, allocations: 0 / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.004526, allocations: 40.94 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.004527, allocations: 4 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.00453, allocations: 3.938 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.004532, allocations: 0 / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.778e-05/0.00461, allocations: 69.89 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.004611, allocations: 4.031 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.805e-05/0.004629, allocations: 8 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.00463, allocations: 0 / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.004635, allocations: 4 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.004635, allocations: 0 / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.004638, allocations: 3.984 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.461e-05/0.004703, allocations: 131.5 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-06/0.004708, allocations: 0 / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-06/0.004716, allocations: 4 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.901e-05/0.004745, allocations: 3.984 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.004772, allocations: 7.969 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.004774, allocations: 4 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 9.287e-06/0.004784, allocations: 8.984 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004784, allocations: 0 / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001103/0.004894, allocations: 4 kB / 0.6413 GB, free: 10.36 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.572e-05/0.00496, allocations: 88.39 kB / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.861e-05/0.005008, allocations: 8.859 kB / 0.6414 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.00501, allocations: 0 / 0.6414 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-05/0.005025, allocations: 16.86 kB / 0.6414 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.005158, allocations: 4 kB / 0.6414 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.005486, allocations: 120.5 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.207e-05/0.005518, allocations: 51.36 kB / 0.6416 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.6e-05/0.005534, allocations: 4.141 kB / 0.6416 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.005571, allocations: 47.38 kB / 0.6417 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of SimCode: time 7.01e-07/0.005572, allocations: 4.062 kB / 0.6417 GB, free: 9.957 MB / 0.6043 GB Notification: Performance of Templates: time 0.001745/0.007316, allocations: 473.4 kB / 0.6421 GB, free: 9.496 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Asin.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Asin.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Asin -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.272547977045178]