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.0008502/0.0008502, allocations: 96.36 kB / 19.7 MB, free: 452 kB / 13.93 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.0008242/0.0008242, allocations: 207.2 kB / 22.99 MB, free: 2.984 MB / 13.93 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.9938/0.9938, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.03771/0.03771, allocations: 12.2 MB / 325.4 MB, free: 6.082 MB / 250.7 MB " [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.0004646/0.0004646, allocations: 31.94 kB / 384.8 MB, free: 10.51 MB / 314.7 MB " [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.828/1.828, allocations: 353.9 MB / 0.7794 GB, free: 4.527 MB / 0.5105 GB " [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: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 124.8 kB / 1.061 GB, free: 24.42 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.306, allocations: 134.9 MB / 1.193 GB, free: 6.977 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001802/0.3078, allocations: 0.5936 MB / 1.194 GB, free: 6.387 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008672/0.3087, allocations: 0.8436 MB / 1.194 GB, free: 5.531 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.3087, allocations: 4 kB / 1.194 GB, free: 5.527 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.296e-05/0.3087, allocations: 0 / 1.194 GB, free: 5.527 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.731e-05/0.3088, allocations: 7.922 kB / 1.194 GB, free: 5.52 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.3091, allocations: 15.88 kB / 1.194 GB, free: 5.504 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.488e-05/0.3092, allocations: 19.92 kB / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 6.395e-05/0.3092, allocations: 3.938 kB / 1.194 GB, free: 5.48 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.3094, allocations: 15.98 kB / 1.194 GB, free: 5.465 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.406e-05/0.3094, allocations: 7.938 kB / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.3095, allocations: 0 / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.048e-05/0.3095, allocations: 11.98 kB / 1.194 GB, free: 5.445 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.3095, allocations: 4 kB / 1.194 GB, free: 5.441 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.3095, allocations: 3.984 kB / 1.194 GB, free: 5.438 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.3097, allocations: 23.86 kB / 1.194 GB, free: 5.414 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3097, allocations: 0 / 1.194 GB, free: 5.414 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.106e-06/0.3097, allocations: 0 / 1.194 GB, free: 5.414 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.3097, allocations: 0 / 1.194 GB, free: 5.414 MB / 0.823 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.0004217/0.3101, allocations: 250.4 kB / 1.195 GB, free: 5.137 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.3102, allocations: 8.031 kB / 1.195 GB, free: 5.129 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.3103, allocations: 16.88 kB / 1.195 GB, free: 5.113 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.634e-05/0.3104, allocations: 110.5 kB / 1.195 GB, free: 4.98 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.3104, allocations: 4.375 kB / 1.195 GB, free: 4.977 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.3104, allocations: 4.359 kB / 1.195 GB, free: 4.973 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.3106, allocations: 30.27 kB / 1.195 GB, free: 4.938 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3106, allocations: 192 / 1.195 GB, free: 4.938 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3106, allocations: 3.938 kB / 1.195 GB, free: 4.934 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.3106, allocations: 3.984 kB / 1.195 GB, free: 4.93 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.47e-05/0.3106, allocations: 15.98 kB / 1.195 GB, free: 4.914 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.3108, allocations: 105.3 kB / 1.195 GB, free: 4.781 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.663e-05/0.3108, allocations: 30.55 kB / 1.195 GB, free: 4.742 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.3109, allocations: 12.91 kB / 1.195 GB, free: 4.727 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.3109, allocations: 3.938 kB / 1.195 GB, free: 4.723 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3109, allocations: 34.56 kB / 1.195 GB, free: 4.68 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.3109, allocations: 0 / 1.195 GB, free: 4.68 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001894/0.3111, allocations: 53.61 kB / 1.195 GB, free: 4.621 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.3111, allocations: 55.41 kB / 1.195 GB, free: 4.555 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/0.3112, allocations: 101.8 kB / 1.195 GB, free: 4.445 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.3112, allocations: 25.83 kB / 1.195 GB, free: 4.414 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.3113, allocations: 88.14 kB / 1.195 GB, free: 4.324 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.3113, allocations: 11.94 kB / 1.195 GB, free: 4.312 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.3113, allocations: 9.719 kB / 1.195 GB, free: 4.297 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.3114, allocations: 314.8 kB / 1.196 GB, free: 3.98 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.945e-05/0.3115, allocations: 4.25 kB / 1.196 GB, free: 3.977 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.878e-05/0.3115, allocations: 11.98 kB / 1.196 GB, free: 3.965 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.709e-05/0.3115, allocations: 24.84 kB / 1.196 GB, free: 3.938 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3115, allocations: 0 / 1.196 GB, free: 3.938 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.002e-05/0.3116, allocations: 45.75 kB / 1.196 GB, free: 3.887 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3116, allocations: 9.25 kB / 1.196 GB, free: 3.879 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3116, allocations: 3.938 kB / 1.196 GB, free: 3.875 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.3116, allocations: 7.875 kB / 1.196 GB, free: 3.867 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.307e-05/0.3117, allocations: 3.984 kB / 1.196 GB, free: 3.863 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3117, allocations: 4 kB / 1.196 GB, free: 3.859 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.781e-05/0.3117, allocations: 0 / 1.196 GB, free: 3.859 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-06/0.3117, allocations: 0 / 1.196 GB, free: 3.859 MB / 0.823 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 7.145e-05/0.3118, allocations: 113.9 kB / 1.196 GB, free: 3.738 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-06/0.3118, allocations: 7.953 kB / 1.196 GB, free: 3.73 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/0.3118, allocations: 3.156 kB / 1.196 GB, free: 3.727 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3118, allocations: 3.938 kB / 1.196 GB, free: 3.723 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.3118, allocations: 0 / 1.196 GB, free: 3.723 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3119, allocations: 7.984 kB / 1.196 GB, free: 3.715 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.595e-05/0.3119, allocations: 101.3 kB / 1.196 GB, free: 3.586 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3119, allocations: 0 / 1.196 GB, free: 3.586 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.57e-05/0.3119, allocations: 7.984 kB / 1.196 GB, free: 3.578 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.3119, allocations: 0 / 1.196 GB, free: 3.578 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.3119, allocations: 0 / 1.196 GB, free: 3.578 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.6e-07/0.3119, allocations: 8 kB / 1.196 GB, free: 3.57 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3119, allocations: 7.875 kB / 1.196 GB, free: 3.562 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.647e-05/0.312, allocations: 69.06 kB / 1.196 GB, free: 3.477 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.312, allocations: 8 kB / 1.196 GB, free: 3.469 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.3121, allocations: 0 / 1.196 GB, free: 3.469 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.111e-05/0.3121, allocations: 3.984 kB / 1.196 GB, free: 3.465 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.3121, allocations: 3.938 kB / 1.196 GB, free: 3.461 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.3121, allocations: 4 kB / 1.196 GB, free: 3.457 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.358e-05/0.3121, allocations: 83.28 kB / 1.196 GB, free: 3.375 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.3121, allocations: 0 / 1.196 GB, free: 3.375 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000118/0.3123, allocations: 4.031 kB / 1.196 GB, free: 3.371 MB / 0.823 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 (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 Backend phase and start with SimCode phase: time 0.0001285/0.3124, allocations: 103.2 kB / 1.196 GB, free: 3.258 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001123/0.3125, allocations: 11.98 kB / 1.196 GB, free: 3.246 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3125, allocations: 4 kB / 1.196 GB, free: 3.242 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.987e-05/0.3125, allocations: 8 kB / 1.196 GB, free: 3.234 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.3127, allocations: 0 / 1.196 GB, free: 3.234 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/0.3131, allocations: 144.5 kB / 1.196 GB, free: 3.062 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.549e-05/0.3131, allocations: 59.34 kB / 1.197 GB, free: 2.984 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.3132, allocations: 7.438 kB / 1.197 GB, free: 2.977 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/0.3132, allocations: 0 / 1.197 GB, free: 2.977 MB / 0.823 GB Notification: Performance of Templates: time 0.001713/0.3149, allocations: 479.2 kB / 1.197 GB, free: 2.508 MB / 0.823 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: 8.08722123503685] Failed to read output from testmodel.py, exit status != 0: 0.3218830954283476 0.33073120500000003 0.019109225 Calling exit ...