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.04232/0.04232, 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.001274/0.001274, allocations: 90.72 kB / 35.33 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.001557/0.001557, 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.9858/0.9858, allocations: 177.2 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.006314/0.006314, allocations: 0.8224 MB / 276.5 MB, free: 0.7188 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.591/1.591, allocations: 274.9 MB / 0.5419 GB, free: 0.5859 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 2.515e-06/2.515e-06, allocations: 0 / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.653e-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.001463/0.001489, allocations: 0.6757 MB / 0.6386 GB, free: 13.36 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0007989/0.002288, allocations: 0.8353 MB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.002317, allocations: 0 / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.002342, allocations: 7.875 kB / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.044e-05/0.002413, allocations: 0 / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.002578, allocations: 15.92 kB / 0.6394 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.108e-05/0.002639, allocations: 19.94 kB / 0.6394 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.292e-05/0.002712, allocations: 11.97 kB / 0.6394 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.908e-05/0.002781, allocations: 15.94 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.427e-05/0.002815, allocations: 11.98 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.002829, allocations: 0 / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.419e-05/0.002873, allocations: 4 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.002888, allocations: 4 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.447e-05/0.002903, allocations: 7.984 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.625e-05/0.002989, allocations: 27.84 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.002991, allocations: 0 / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002992, allocations: 0 / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.002996, allocations: 0 / 0.6395 GB, free: 12.39 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.0002536/0.003249, allocations: 229 kB / 0.6397 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.003282, allocations: 15.98 kB / 0.6397 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.345e-05/0.003366, allocations: 8.922 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.323e-05/0.003439, allocations: 113.7 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.003446, allocations: 384 / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.003454, allocations: 4.312 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.311e-05/0.003548, allocations: 58.94 kB / 0.6399 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.003553, allocations: 192 / 0.6399 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.003559, allocations: 4.359 kB / 0.6399 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.003566, allocations: 8.375 kB / 0.6399 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.779e-05/0.003584, allocations: 7.922 kB / 0.6399 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.003753, allocations: 144.4 kB / 0.6401 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.801e-05/0.003791, allocations: 26.52 kB / 0.6401 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.08e-05/0.003802, allocations: 4.859 kB / 0.6401 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.003814, allocations: 0 / 0.6401 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.003834, allocations: 38.62 kB / 0.6401 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 6.21e-07/0.003835, allocations: 0 / 0.6401 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 9.085e-05/0.003926, allocations: 37.69 kB / 0.6402 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.003956, allocations: 55.34 kB / 0.6402 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.907e-05/0.004005, allocations: 106.6 kB / 0.6403 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.004016, allocations: 29.83 kB / 0.6404 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/0.004045, allocations: 80.14 kB / 0.6404 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.004061, allocations: 11.94 kB / 0.6405 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.004083, allocations: 9.719 kB / 0.6405 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.692e-05/0.00417, allocations: 322.8 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.605e-06/0.004178, allocations: 0 / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.428e-06/0.004187, allocations: 4 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.214e-05/0.004209, allocations: 12.84 kB / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.004212, allocations: 3.938 kB / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.001e-05/0.004252, allocations: 29.8 kB / 0.6408 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.004263, allocations: 12 kB / 0.6408 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.004268, allocations: 3.938 kB / 0.6408 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.004277, allocations: 0 / 0.6408 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.964e-05/0.004347, allocations: 11.92 kB / 0.6408 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.00435, allocations: 0 / 0.6408 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.494e-05/0.004365, allocations: 4 kB / 0.6408 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.004369, allocations: 0 / 0.6408 GB, free: 10.86 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.172e-05/0.004421, allocations: 105.8 kB / 0.6409 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.004432, allocations: 4 kB / 0.641 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.163e-05/0.004503, allocations: 45 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.004505, allocations: 0 / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.004508, allocations: 7.938 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.004511, allocations: 3.984 kB / 0.641 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.14e-05/0.004592, allocations: 65.91 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.004593, allocations: 0 / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-05/0.004621, allocations: 4 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.004623, allocations: 3.938 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.004628, allocations: 3.984 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.004629, allocations: 0 / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.00463, allocations: 0 / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.985e-05/0.0047, allocations: 135.5 kB / 0.6412 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.004707, allocations: 3.984 kB / 0.6412 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-06/0.004714, allocations: 0 / 0.6412 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.943e-05/0.004743, allocations: 4 kB / 0.6412 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.004774, allocations: 8 kB / 0.6412 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.004777, allocations: 0 / 0.6412 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.438e-05/0.004791, allocations: 24.94 kB / 0.6412 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.004791, allocations: 0 / 0.6412 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.00011/0.004901, allocations: 4 kB / 0.6413 GB, free: 10.39 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 8.991e-05/0.004991, allocations: 76.45 kB / 0.6413 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.207e-05/0.005043, allocations: 16.8 kB / 0.6413 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.005045, allocations: 0 / 0.6413 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.256e-05/0.005058, allocations: 8.859 kB / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.005193, allocations: 15.86 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.005532, allocations: 116.8 kB / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.885e-05/0.005561, allocations: 51.36 kB / 0.6415 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.702e-05/0.005578, allocations: 3.984 kB / 0.6415 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.005615, allocations: 55.31 kB / 0.6416 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of SimCode: time 5.01e-07/0.005616, allocations: 0 / 0.6416 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of Templates: time 0.001954/0.007569, allocations: 473.6 kB / 0.642 GB, free: 9.535 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 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.341247612144798]