Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.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.04592/0.04592, 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.0008816/0.0008816, 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.001521/0.001521, 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.9744/0.9744, allocations: 177.1 MB / 219.2 MB, free: 10.1 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.00399/0.00399, allocations: 0.8261 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.746/1.746, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 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.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.638 GB, free: 14.01 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.266e-05/5.526e-05, allocations: 2.312 kB / 0.638 GB, free: 14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001984/0.002039, allocations: 0.7112 MB / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.003076, allocations: 0.8741 MB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.562e-05/0.003112, allocations: 4 kB / 0.6395 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.003141, allocations: 0 / 0.6395 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.199e-05/0.003223, allocations: 0 / 0.6395 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.003405, allocations: 15.92 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.52e-05/0.003481, allocations: 27.86 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.55e-05/0.003566, allocations: 4 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.638e-05/0.003652, allocations: 15.97 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.148e-05/0.003694, allocations: 8 kB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.00371, allocations: 4 kB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.028e-05/0.00378, allocations: 7.984 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.003799, allocations: 8 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.003817, allocations: 3.938 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.003933, allocations: 27.91 kB / 0.6396 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.003939, allocations: 0 / 0.6396 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.413e-06/0.00394, allocations: 0 / 0.6396 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.003946, allocations: 0 / 0.6396 GB, free: 12.28 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.0003121/0.004258, allocations: 229 kB / 0.6398 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.0043, allocations: 15.98 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.004408, allocations: 4.875 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.862e-05/0.004486, allocations: 109.8 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.004494, allocations: 4.312 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.004502, allocations: 12.38 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.712e-05/0.004599, allocations: 54.94 kB / 0.64 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.004605, allocations: 192 / 0.64 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.872e-06/0.004612, allocations: 384 / 0.64 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.004618, allocations: 384 / 0.64 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.999e-05/0.004638, allocations: 7.938 kB / 0.64 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002215/0.004859, allocations: 144.3 kB / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.424e-05/0.004903, allocations: 26.52 kB / 0.6402 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.344e-05/0.004917, allocations: 4.859 kB / 0.6402 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.004936, allocations: 8.062 kB / 0.6402 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.004956, allocations: 34.5 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.004957, allocations: 0 / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 0.0001039/0.005061, allocations: 37.73 kB / 0.6403 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.005092, allocations: 59.28 kB / 0.6403 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.398e-05/0.005146, allocations: 106.7 kB / 0.6405 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.005158, allocations: 25.7 kB / 0.6405 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/0.00519, allocations: 88.12 kB / 0.6406 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.005207, allocations: 7.953 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.005232, allocations: 17.72 kB / 0.6406 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.266e-05/0.005314, allocations: 311 kB / 0.6409 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.005325, allocations: 4 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.154e-05/0.005336, allocations: 7.984 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.452e-05/0.005361, allocations: 8.859 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.005363, allocations: 0 / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.309e-05/0.005416, allocations: 41.62 kB / 0.6409 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.005428, allocations: 4 kB / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.005433, allocations: 0 / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.005442, allocations: 0 / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.629e-05/0.005509, allocations: 8.031 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.005512, allocations: 8 kB / 0.641 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.515e-05/0.005527, allocations: 0 / 0.641 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.005532, allocations: 0 / 0.641 GB, free: 10.76 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.988e-05/0.005592, allocations: 117.8 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.005606, allocations: 4 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.35e-05/0.00568, allocations: 41 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.005682, allocations: 0 / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.005685, allocations: 3.938 kB / 0.6411 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.005687, allocations: 0 / 0.6411 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.721e-05/0.005775, allocations: 69.88 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005776, allocations: 0 / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-05/0.005806, allocations: 15.92 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.005809, allocations: 4 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.005813, allocations: 0 / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.005815, allocations: 3.984 kB / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.005816, allocations: 0 / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.757e-05/0.005893, allocations: 135.5 kB / 0.6413 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.005901, allocations: 3.938 kB / 0.6413 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.354e-06/0.005908, allocations: 4 kB / 0.6413 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.08e-05/0.005939, allocations: 4.031 kB / 0.6413 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.005969, allocations: 7.984 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.005972, allocations: 0 / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.209e-05/0.005984, allocations: 12.8 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005984, allocations: 0 / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001125/0.006096, allocations: 4 kB / 0.6414 GB, free: 10.29 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 9.268e-05/0.006189, allocations: 72.42 kB / 0.6414 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.494e-05/0.006244, allocations: 20.77 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.006247, allocations: 4 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-05/0.006261, allocations: 12.92 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.0064, allocations: 7.938 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.006814, allocations: 112.7 kB / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.44e-05/0.006849, allocations: 51.36 kB / 0.6416 GB, free: 9.949 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.999e-05/0.006869, allocations: 7.938 kB / 0.6416 GB, free: 9.941 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.006912, allocations: 51.38 kB / 0.6417 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of SimCode: time 9.01e-07/0.006913, allocations: 4.062 kB / 0.6417 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of Templates: time 0.00235/0.009263, allocations: 448.9 kB / 0.6421 GB, free: 9.449 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.454630820080638]