Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin.conf.json 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.001083/0.001083, allocations: 79.69 kB / 20.03 MB, free: 4.492 MB / 18.57 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.0008227/0.0008227, allocations: 165.3 kB / 23.33 MB, free: 1.191 MB / 18.57 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.8515/0.8515, allocations: 177.1 MB / 203.6 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.03473/0.03473, allocations: 9.124 MB / 269.2 MB, free: 4.453 MB / 250.7 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/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003883/0.0003883, allocations: 23.95 kB / 328.7 MB, free: 5.785 MB / 298.7 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/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.524/1.524, allocations: 275 MB / 0.6476 GB, free: 2.844 MB / 0.4949 GB [/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 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/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) 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) Running command: translateModel(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.9295 GB, free: 20.91 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.249e-05, allocations: 13 kB / 0.9295 GB, free: 20.9 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001228/0.00125, allocations: 0.5986 MB / 0.9301 GB, free: 20.54 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0009837/0.002234, allocations: 0.8444 MB / 0.9309 GB, free: 19.9 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.419e-05/0.002288, allocations: 0 / 0.9309 GB, free: 19.9 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.002315, allocations: 3.938 kB / 0.9309 GB, free: 19.9 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 5.984e-05/0.002375, allocations: 9.797 kB / 0.9309 GB, free: 19.89 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.002555, allocations: 9.891 kB / 0.9309 GB, free: 19.89 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 5.657e-05/0.002611, allocations: 17.8 kB / 0.931 GB, free: 19.88 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 3.503e-05/0.002646, allocations: 1.906 kB / 0.931 GB, free: 19.88 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.002775, allocations: 23.08 kB / 0.931 GB, free: 19.87 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.002823, allocations: 9.594 kB / 0.931 GB, free: 19.86 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.002836, allocations: 1.469 kB / 0.931 GB, free: 19.86 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 3.725e-05/0.002873, allocations: 7.156 kB / 0.931 GB, free: 19.86 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 9.067e-06/0.002882, allocations: 0.6562 kB / 0.931 GB, free: 19.86 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 1.806e-05/0.0029, allocations: 7.797 kB / 0.931 GB, free: 19.86 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 9.065e-05/0.002991, allocations: 25.09 kB / 0.931 GB, free: 19.84 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.002993, allocations: 0 / 0.931 GB, free: 19.84 MB / 0.7293 GB Notification: Performance of FrontEnd: time 8.31e-07/0.002993, allocations: 1.281 kB / 0.931 GB, free: 19.84 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.002997, allocations: 0 / 0.931 GB, free: 19.84 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002677/0.003264, allocations: 252.8 kB / 0.9313 GB, free: 19.58 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.003304, allocations: 13.14 kB / 0.9313 GB, free: 19.57 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.003408, allocations: 11.44 kB / 0.9313 GB, free: 19.57 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.122e-05/0.003469, allocations: 108.1 kB / 0.9314 GB, free: 19.45 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.003477, allocations: 1.75 kB / 0.9314 GB, free: 19.45 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.003486, allocations: 8.312 kB / 0.9314 GB, free: 19.44 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.552e-05/0.003572, allocations: 42.97 kB / 0.9314 GB, free: 19.4 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.003578, allocations: 1.531 kB / 0.9314 GB, free: 19.4 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.003586, allocations: 4.312 kB / 0.9315 GB, free: 19.39 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.00359, allocations: 384 / 0.9315 GB, free: 19.39 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.858e-05/0.003629, allocations: 15.88 kB / 0.9315 GB, free: 19.39 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.47e-05/0.003714, allocations: 107.1 kB / 0.9316 GB, free: 19.26 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 3.924e-05/0.003753, allocations: 22.44 kB / 0.9316 GB, free: 19.24 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.458e-05/0.003777, allocations: 19.67 kB / 0.9316 GB, free: 19.22 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.003791, allocations: 0 / 0.9316 GB, free: 19.22 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.345e-05/0.003804, allocations: 37.11 kB / 0.9316 GB, free: 19.18 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.003805, allocations: 1.438 kB / 0.9316 GB, free: 19.18 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1): time 0.0001402/0.003945, allocations: 49.72 kB / 0.9317 GB, free: 19.14 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.284e-05/0.003958, allocations: 52.72 kB / 0.9317 GB, free: 19.08 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.433e-05/0.004002, allocations: 103 kB / 0.9318 GB, free: 18.98 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 4.308e-06/0.004006, allocations: 25.7 kB / 0.9319 GB, free: 18.95 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 1.468e-05/0.004021, allocations: 82.17 kB / 0.9319 GB, free: 18.87 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.004041, allocations: 4.641 kB / 0.932 GB, free: 18.86 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/0.004061, allocations: 17.05 kB / 0.932 GB, free: 18.84 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.733e-05/0.004088, allocations: 317.6 kB / 0.9323 GB, free: 18.53 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.004108, allocations: 6.312 kB / 0.9323 GB, free: 18.53 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.634e-05/0.004124, allocations: 5.656 kB / 0.9323 GB, free: 18.53 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.086e-05/0.004165, allocations: 30.17 kB / 0.9323 GB, free: 18.51 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.004167, allocations: 0 / 0.9323 GB, free: 18.51 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001128/0.00428, allocations: 55.33 kB / 0.9324 GB, free: 18.46 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.004295, allocations: 5.922 kB / 0.9324 GB, free: 18.46 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.0043, allocations: 0 / 0.9324 GB, free: 18.46 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.004312, allocations: 0 / 0.9324 GB, free: 18.46 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.223e-05/0.004364, allocations: 4.797 kB / 0.9324 GB, free: 18.46 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.004372, allocations: 0.6094 kB / 0.9324 GB, free: 18.46 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/0.004389, allocations: 7.406 kB / 0.9324 GB, free: 18.46 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.004394, allocations: 0 / 0.9324 GB, free: 18.46 MB / 0.7293 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 (1): * Single equations (assignments): 1 * 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.313e-05/0.004428, allocations: 109 kB / 0.9325 GB, free: 18.35 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-06/0.004433, allocations: 1.797 kB / 0.9325 GB, free: 18.35 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.489e-05/0.004448, allocations: 8.906 kB / 0.9325 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.00445, allocations: 3.938 kB / 0.9325 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.004451, allocations: 1.312 kB / 0.9325 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.004458, allocations: 6.109 kB / 0.9325 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.004467, allocations: 8.531 kB / 0.9325 GB, free: 18.33 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.185e-05/0.004479, allocations: 2.234 kB / 0.9325 GB, free: 18.33 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.004505, allocations: 1.938 kB / 0.9325 GB, free: 18.33 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.736e-05/0.004573, allocations: 119.2 kB / 0.9326 GB, free: 18.22 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.185e-05/0.004645, allocations: 227.6 kB / 0.9328 GB, free: 18 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.94e-05/0.004674, allocations: 14.66 kB / 0.9329 GB, free: 18 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 1.795e-05/0.004692, allocations: 80.62 kB / 0.9329 GB, free: 17.92 MB / 0.7293 GB Notification: Performance of Backend: time 3.11e-07/0.004692, allocations: 3.938 kB / 0.9329 GB, free: 17.92 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0002574/0.00495, allocations: 89 kB / 0.933 GB, free: 17.85 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0002317/0.005181, allocations: 0.5502 MB / 0.9336 GB, free: 17.27 MB / 0.7293 GB Notification: Performance of Templates: time 0.001794/0.006975, allocations: 420.8 kB / 0.934 GB, free: 17.21 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.707030612975359] Failed to read output from testmodel.py, exit status != 0: 0.01115303672850132 0.020041127000000002 0.015311154 Calling exit ...