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/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.0007249/0.0007249, allocations: 75.69 kB / 20.03 MB, free: 4.496 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.0007743/0.0007743, allocations: 169.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.8408/0.8408, allocations: 177.1 MB / 203.7 MB, free: 5.707 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.03934/0.03934, allocations: 9.123 MB / 269.2 MB, free: 4.438 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.0003751/0.0003751, allocations: 23.95 kB / 328.7 MB, free: 20.61 MB / 266.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.472/1.472, allocations: 275 MB / 0.6476 GB, free: 2.496 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.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.573e-06/1.573e-06, allocations: 0 / 0.9295 GB, free: 8.066 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.926e-05, allocations: 2.281 kB / 0.9295 GB, free: 8.062 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001103/0.001122, allocations: 0.6615 MB / 0.9302 GB, free: 7.426 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006962/0.001818, allocations: 0.821 MB / 0.931 GB, free: 6.594 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.00185, allocations: 0 / 0.931 GB, free: 6.594 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.191e-05/0.001872, allocations: 4.562 kB / 0.931 GB, free: 6.59 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.935e-05/0.001932, allocations: 10.75 kB / 0.931 GB, free: 6.582 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.002089, allocations: 8 kB / 0.931 GB, free: 6.574 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.562e-05/0.002145, allocations: 23.92 kB / 0.931 GB, free: 6.551 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.859e-05/0.002223, allocations: 11.97 kB / 0.931 GB, free: 6.539 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.189e-05/0.002285, allocations: 8 kB / 0.931 GB, free: 6.531 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.536e-05/0.00232, allocations: 11.92 kB / 0.931 GB, free: 6.52 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.002335, allocations: 4 kB / 0.931 GB, free: 6.516 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.96e-05/0.002374, allocations: 4 kB / 0.931 GB, free: 6.512 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.002386, allocations: 1.188 kB / 0.9311 GB, free: 6.512 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.002405, allocations: 11.98 kB / 0.9311 GB, free: 6.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.232e-05/0.002497, allocations: 27.95 kB / 0.9311 GB, free: 6.473 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.002499, allocations: 0.5938 kB / 0.9311 GB, free: 6.473 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.91e-07/0.0025, allocations: 1.031 kB / 0.9311 GB, free: 6.473 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.002503, allocations: 3.938 kB / 0.9311 GB, free: 6.469 MB / 0.698 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.0003112/0.002814, allocations: 268.4 kB / 0.9314 GB, free: 6.176 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.002852, allocations: 15.98 kB / 0.9314 GB, free: 6.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.02e-05/0.002912, allocations: 1.844 kB / 0.9314 GB, free: 6.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.466e-05/0.002986, allocations: 113.8 kB / 0.9315 GB, free: 6.023 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.555e-06/0.002994, allocations: 2.625 kB / 0.9315 GB, free: 6.023 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.003003, allocations: 384 / 0.9315 GB, free: 6.023 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.003119, allocations: 50.23 kB / 0.9315 GB, free: 5.969 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.003126, allocations: 192 / 0.9315 GB, free: 5.969 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.003134, allocations: 384 / 0.9315 GB, free: 5.969 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.003138, allocations: 384 / 0.9315 GB, free: 5.969 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.048e-05/0.003218, allocations: 37.03 kB / 0.9316 GB, free: 5.934 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002302/0.003448, allocations: 201.4 kB / 0.9318 GB, free: 5.707 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.248e-05/0.003521, allocations: 36.09 kB / 0.9318 GB, free: 5.664 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.277e-05/0.003564, allocations: 24.84 kB / 0.9318 GB, free: 5.637 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.00358, allocations: 0 / 0.9318 GB, free: 5.637 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.872e-05/0.003599, allocations: 35.16 kB / 0.9318 GB, free: 5.594 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.003599, allocations: 0.6875 kB / 0.9318 GB, free: 5.594 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002129/0.003812, allocations: 88.39 kB / 0.9319 GB, free: 5.504 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/0.003832, allocations: 51.41 kB / 0.932 GB, free: 5.441 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.504e-05/0.003887, allocations: 101.8 kB / 0.9321 GB, free: 5.332 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.437e-06/0.003897, allocations: 25.7 kB / 0.9321 GB, free: 5.301 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.003925, allocations: 84.14 kB / 0.9322 GB, free: 5.215 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.003941, allocations: 12.92 kB / 0.9322 GB, free: 5.203 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/0.003963, allocations: 13.72 kB / 0.9322 GB, free: 5.184 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.264e-05/0.004046, allocations: 314.8 kB / 0.9325 GB, free: 4.867 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.275e-05/0.004089, allocations: 16.48 kB / 0.9325 GB, free: 4.852 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.004123, allocations: 18.36 kB / 0.9325 GB, free: 4.836 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.687e-05/0.0042, allocations: 32.83 kB / 0.9326 GB, free: 4.801 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.004203, allocations: 11.55 kB / 0.9326 GB, free: 4.793 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001003/0.004303, allocations: 65.61 kB / 0.9326 GB, free: 4.723 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.004315, allocations: 4 kB / 0.9326 GB, free: 4.719 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.004319, allocations: 4 kB / 0.9327 GB, free: 4.715 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.004331, allocations: 3.938 kB / 0.9327 GB, free: 4.711 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.632e-05/0.004388, allocations: 7.984 kB / 0.9327 GB, free: 4.703 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.004395, allocations: 0 / 0.9327 GB, free: 4.703 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.185e-05/0.004417, allocations: 14.48 kB / 0.9327 GB, free: 4.691 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.004422, allocations: 4 kB / 0.9327 GB, free: 4.688 MB / 0.698 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 4.62e-05/0.004468, allocations: 109.8 kB / 0.9328 GB, free: 4.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.004482, allocations: 3.953 kB / 0.9328 GB, free: 4.566 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.004605, allocations: 78.84 kB / 0.9329 GB, free: 4.488 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.004609, allocations: 3.938 kB / 0.9329 GB, free: 4.484 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.00461, allocations: 0 / 0.9329 GB, free: 4.484 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-06/0.004615, allocations: 0 / 0.9329 GB, free: 4.484 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.004626, allocations: 7.984 kB / 0.9329 GB, free: 4.477 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.549e-05/0.004661, allocations: 4.25 kB / 0.9329 GB, free: 4.473 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.004695, allocations: 7.984 kB / 0.9329 GB, free: 4.465 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001232/0.004818, allocations: 144.9 kB / 0.933 GB, free: 4.316 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001477/0.004966, allocations: 238.7 kB / 0.9333 GB, free: 4.066 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.955e-05/0.005016, allocations: 20.17 kB / 0.9333 GB, free: 4.047 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.833e-05/0.005044, allocations: 87.31 kB / 0.9334 GB, free: 3.961 MB / 0.698 GB Notification: Performance of Backend: time 1.41e-07/0.005044, allocations: 0 / 0.9334 GB, free: 3.961 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003211/0.005365, allocations: 95.64 kB / 0.9334 GB, free: 3.863 MB / 0.698 GB Notification: Performance of SimCode: time 0.0004053/0.00577, allocations: 0.5613 MB / 0.934 GB, free: 3.254 MB / 0.698 GB Notification: Performance of Templates: time 0.00212/0.00789, allocations: 0.6436 MB / 0.9346 GB, free: 2.629 MB / 0.698 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=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.536979238502681] Failed to read output from testmodel.py, exit status != 0: 0.012422877363860607 0.021799873 0.017405873000000002 Calling exit ...