Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sqrt.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.04245/0.04245, allocations: 9.131 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.001288/0.001288, allocations: 94.36 kB / 35.33 MB, free: 1.062 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.001194/0.001194, allocations: 169.6 kB / 38.73 MB, free: 2.473 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.9482/0.9482, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.005257/0.005257, allocations: 0.8223 MB / 276.5 MB, free: 0.75 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.672/1.672, allocations: 274.9 MB / 0.5419 GB, free: 0.6562 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.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sqrt") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sqrt") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.412e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001296/0.00132, allocations: 0.6718 MB / 0.6386 GB, free: 13.42 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.000781/0.002101, allocations: 0.8469 MB / 0.6394 GB, free: 12.56 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.002132, allocations: 0 / 0.6394 GB, free: 12.56 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.002158, allocations: 3.938 kB / 0.6394 GB, free: 12.56 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.845e-05/0.002226, allocations: 7.938 kB / 0.6394 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.002352, allocations: 11.98 kB / 0.6394 GB, free: 12.54 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.283e-05/0.002415, allocations: 19.92 kB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.593e-05/0.002491, allocations: 8 kB / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.158e-05/0.002573, allocations: 19.91 kB / 0.6395 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.002609, allocations: 0 / 0.6395 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.002627, allocations: 4 kB / 0.6395 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-06/0.002635, allocations: 0 / 0.6395 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.002654, allocations: 15.92 kB / 0.6395 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.385e-05/0.002668, allocations: 0 / 0.6395 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 6.99e-05/0.002738, allocations: 15.98 kB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.00274, allocations: 4 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.163e-06/0.002741, allocations: 0 / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.002745, allocations: 0 / 0.6395 GB, free: 12.45 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.0002632/0.003008, allocations: 232.9 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.003045, allocations: 19.97 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.232e-05/0.003068, allocations: 0.9375 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.351e-05/0.003141, allocations: 109.8 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.003151, allocations: 4.375 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.00316, allocations: 384 / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.47e-05/0.003255, allocations: 54.89 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-06/0.00326, allocations: 4.188 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.003267, allocations: 384 / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.003271, allocations: 384 / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.016e-05/0.003291, allocations: 11.92 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.003465, allocations: 144.3 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.244e-05/0.003507, allocations: 30.58 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.422e-05/0.003522, allocations: 8.922 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.003534, allocations: 3.938 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.003559, allocations: 30.56 kB / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.00356, allocations: 0 / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 9.505e-05/0.003655, allocations: 37.7 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.003688, allocations: 63.33 kB / 0.6402 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.079e-05/0.003739, allocations: 98.72 kB / 0.6403 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.003749, allocations: 25.7 kB / 0.6403 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.918e-05/0.003778, allocations: 84.14 kB / 0.6404 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.003795, allocations: 11.94 kB / 0.6404 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.003817, allocations: 13.7 kB / 0.6405 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.003895, allocations: 314.8 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-06/0.003903, allocations: 0 / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-06/0.003909, allocations: 3.938 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.155e-05/0.003931, allocations: 17.05 kB / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.003933, allocations: 0 / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.319e-05/0.003976, allocations: 33.69 kB / 0.6408 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.003988, allocations: 8 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.003993, allocations: 0 / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.004006, allocations: 0 / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.764e-05/0.004084, allocations: 11.92 kB / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.004088, allocations: 0 / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.653e-05/0.004104, allocations: 4 kB / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.00411, allocations: 4.031 kB / 0.6408 GB, free: 10.93 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 6.676e-05/0.004176, allocations: 117.8 kB / 0.6409 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.004188, allocations: 4 kB / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.929e-05/0.004208, allocations: 3.312 kB / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.004209, allocations: 0 / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.004212, allocations: 7.922 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.004215, allocations: 0 / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.637e-05/0.004291, allocations: 69.83 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.004292, allocations: 0 / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.615e-05/0.004308, allocations: 12 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.00431, allocations: 7.984 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-06/0.004313, allocations: 3.938 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.004314, allocations: 0 / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.004314, allocations: 0 / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.07e-05/0.004375, allocations: 127.5 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.004383, allocations: 11.98 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-06/0.00439, allocations: 3.938 kB / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.698e-05/0.004417, allocations: 4 kB / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.004439, allocations: 0 / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.00444, allocations: 0 / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.351e-05/0.004454, allocations: 16.81 kB / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004454, allocations: 4 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001086/0.004562, allocations: 4 kB / 0.6412 GB, free: 10.5 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 6.685e-05/0.004629, allocations: 72.42 kB / 0.6413 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.575e-05/0.004675, allocations: 8.859 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.004678, allocations: 4 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.14e-05/0.004689, allocations: 4.859 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.004813, allocations: 16.05 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002006/0.005014, allocations: 112.6 kB / 0.6414 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.94e-05/0.005043, allocations: 55.36 kB / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.393e-05/0.005057, allocations: 0 / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.005098, allocations: 55.38 kB / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of SimCode: time 2.71e-07/0.005098, allocations: 0 / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of Templates: time 0.001805/0.006903, allocations: 461.8 kB / 0.642 GB, free: 9.668 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3168505621142685]