Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.0463/0.0463, allocations: 9.13 MB / 28.99 MB, free: 0.8203 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.001129/0.001129, allocations: 101.9 kB / 35.34 MB, free: 1.078 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.001452/0.001452, allocations: 164.1 kB / 38.73 MB, free: 2.492 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 1.064/1.064, allocations: 177.2 MB / 219.2 MB, free: 10.11 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.00811/0.00811, allocations: 0.822 MB / 276.5 MB, free: 0.7422 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.708/1.708, allocations: 274.9 MB / 0.5419 GB, free: 0.625 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.489e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001414/0.001439, allocations: 0.6395 MB / 0.6386 GB, free: 13.4 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 5.127e-05/0.00149, allocations: 7.938 kB / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.268e-05/0.001513, allocations: 4 kB / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.001535, allocations: 0 / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 2.848e-05/0.001564, allocations: 0 / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 2.955e-05/0.001593, allocations: 0 / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 4.431e-05/0.001637, allocations: 0 / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/0.001674, allocations: 4 kB / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 2.965e-05/0.001703, allocations: 0 / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.096e-05/0.001724, allocations: 0 / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.001737, allocations: 0 / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 3.487e-06/0.00174, allocations: 0 / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.001753, allocations: 0 / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.445e-05/0.001768, allocations: 11.94 kB / 0.6386 GB, free: 13.38 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 5.574e-05/0.001823, allocations: 4 kB / 0.6386 GB, free: 13.37 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.001825, allocations: 0 / 0.6386 GB, free: 13.37 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.122e-06/0.001827, allocations: 0 / 0.6386 GB, free: 13.37 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.001831, allocations: 0 / 0.6386 GB, free: 13.37 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001966/0.002028, allocations: 217 kB / 0.6388 GB, free: 13.13 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.002065, allocations: 15.98 kB / 0.6388 GB, free: 13.12 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.128e-05/0.002086, allocations: 0.9375 kB / 0.6388 GB, free: 13.12 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.004e-05/0.002166, allocations: 105.7 kB / 0.6389 GB, free: 12.99 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.002175, allocations: 384 / 0.6389 GB, free: 12.99 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-06/0.002181, allocations: 4.375 kB / 0.6389 GB, free: 12.98 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.715e-05/0.002238, allocations: 34.25 kB / 0.639 GB, free: 12.95 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.002248, allocations: 192 / 0.639 GB, free: 12.95 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.002254, allocations: 384 / 0.639 GB, free: 12.95 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.00226, allocations: 384 / 0.639 GB, free: 12.95 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.348e-06/0.00227, allocations: 7.938 kB / 0.639 GB, free: 12.94 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.002459, allocations: 290.9 kB / 0.6392 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.448e-05/0.002524, allocations: 165.1 kB / 0.6394 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.002545, allocations: 80.14 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.002565, allocations: 79.28 kB / 0.6395 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.002601, allocations: 105.8 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.002602, allocations: 4 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0): time 5.58e-05/0.002658, allocations: 33.62 kB / 0.6397 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.002709, allocations: 138.6 kB / 0.6398 GB, free: 12 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.001e-05/0.002769, allocations: 94.72 kB / 0.6399 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.146e-06/0.002777, allocations: 25.7 kB / 0.6399 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.002808, allocations: 80.14 kB / 0.64 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 6.51e-07/0.002808, allocations: 0 / 0.64 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/0.002824, allocations: 13.72 kB / 0.64 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.463e-05/0.002899, allocations: 314.8 kB / 0.6403 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-06/0.002905, allocations: 0 / 0.6403 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-06/0.002909, allocations: 8.062 kB / 0.6403 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.869e-05/0.002928, allocations: 75.28 kB / 0.6404 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.719e-05/0.002945, allocations: 79.28 kB / 0.6405 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.036e-05/0.002985, allocations: 33.62 kB / 0.6405 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.003013, allocations: 83.28 kB / 0.6406 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.00303, allocations: 75.28 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002982/0.003329, allocations: 150.6 kB / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.888e-05/0.003347, allocations: 83.16 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.279e-05/0.00338, allocations: 162.6 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.003423, allocations: 79.22 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.003438, allocations: 75.28 kB / 0.6412 GB, free: 10.55 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 (0): * Single equations (assignments): 0 * 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.602e-05/0.003514, allocations: 268.4 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.003551, allocations: 112.9 kB / 0.6416 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.003585, allocations: 108 kB / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-05/0.003621, allocations: 176.3 kB / 0.6418 GB, free: 9.867 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.944e-05/0.003661, allocations: 188.1 kB / 0.642 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.895e-05/0.0037, allocations: 188.2 kB / 0.6422 GB, free: 9.484 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.003815, allocations: 313.4 kB / 0.6425 GB, free: 9.152 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.323e-05/0.003838, allocations: 105 kB / 0.6426 GB, free: 9.043 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.406e-05/0.003862, allocations: 105.3 kB / 0.6427 GB, free: 8.934 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.881e-05/0.003901, allocations: 188.2 kB / 0.6429 GB, free: 8.742 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.003939, allocations: 184.3 kB / 0.643 GB, free: 8.555 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.639e-05/0.003976, allocations: 180.2 kB / 0.6432 GB, free: 8.371 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.404e-05/0.00401, allocations: 176.3 kB / 0.6434 GB, free: 8.191 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.957e-05/0.004099, allocations: 311.7 kB / 0.6437 GB, free: 7.863 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.004129, allocations: 101 kB / 0.6438 GB, free: 7.758 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.975e-05/0.004178, allocations: 188.2 kB / 0.6439 GB, free: 7.566 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.957e-05/0.004228, allocations: 105 kB / 0.644 GB, free: 7.457 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.004277, allocations: 176.3 kB / 0.6442 GB, free: 7.277 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.004305, allocations: 108.9 kB / 0.6443 GB, free: 7.164 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.448e-05/0.004319, allocations: 12.8 kB / 0.6443 GB, free: 7.148 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004319, allocations: 4.094 kB / 0.6443 GB, free: 7.145 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001342/0.004454, allocations: 0 / 0.6443 GB, free: 7.145 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 (0): * Single equations (assignments): 0 * 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.0001136/0.004567, allocations: 151.7 kB / 0.6445 GB, free: 6.988 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 3.288e-05/0.0046, allocations: 4 kB / 0.6445 GB, free: 6.984 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.004603, allocations: 0 / 0.6445 GB, free: 6.984 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 9.11e-07/0.004604, allocations: 3.938 kB / 0.6445 GB, free: 6.98 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.004807, allocations: 463.6 kB / 0.6449 GB, free: 6.523 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001665/0.004974, allocations: 155 kB / 0.6451 GB, free: 6.344 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.76e-05/0.005001, allocations: 59.36 kB / 0.6451 GB, free: 6.266 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.944e-06/0.005003, allocations: 0 / 0.6451 GB, free: 6.266 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.005023, allocations: 47.38 kB / 0.6452 GB, free: 6.219 MB / 0.6043 GB Notification: Performance of SimCode: time 4.4e-07/0.005024, allocations: 0 / 0.6452 GB, free: 6.219 MB / 0.6043 GB Notification: Performance of Templates: time 0.001353/0.006377, allocations: 168.8 kB / 0.6453 GB, free: 6.055 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.452350511215627]