Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.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.04241/0.04241, allocations: 9.133 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.001294/0.001294, allocations: 95.14 kB / 35.33 MB, free: 1.066 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.0009969/0.0009969, allocations: 164.6 kB / 38.73 MB, free: 2.48 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.9691/0.9691, allocations: 177.2 MB / 219.2 MB, free: 10.1 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.004133/0.004133, allocations: 0.8218 MB / 276.5 MB, free: 0.7383 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.692/1.692, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.602e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001403/0.001429, allocations: 0.6146 MB / 0.6385 GB, free: 13.48 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 5.086e-05/0.00148, allocations: 0 / 0.6385 GB, free: 13.48 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.001507, allocations: 0 / 0.6385 GB, free: 13.48 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.001536, allocations: 0 / 0.6385 GB, free: 13.48 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.187e-05/0.001567, allocations: 0 / 0.6385 GB, free: 13.48 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 3.202e-05/0.001599, allocations: 0 / 0.6385 GB, free: 13.48 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.59e-05/0.001655, allocations: 4 kB / 0.6385 GB, free: 13.47 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.001697, allocations: 3.938 kB / 0.6385 GB, free: 13.47 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.367e-05/0.001731, allocations: 4 kB / 0.6385 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.437e-05/0.001755, allocations: 0 / 0.6385 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.00177, allocations: 0 / 0.6385 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.048e-06/0.001774, allocations: 7.938 kB / 0.6385 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.001789, allocations: 4 kB / 0.6385 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.415e-05/0.001803, allocations: 0 / 0.6385 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 6.231e-05/0.001865, allocations: 0 / 0.6385 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.001869, allocations: 3.984 kB / 0.6385 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.62e-07/0.001869, allocations: 0 / 0.6385 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.001874, allocations: 0 / 0.6385 GB, free: 13.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001959/0.00207, allocations: 213.1 kB / 0.6387 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.002105, allocations: 15.98 kB / 0.6388 GB, free: 13.2 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.963e-05/0.002125, allocations: 0.9375 kB / 0.6388 GB, free: 13.2 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.542e-05/0.0022, allocations: 105.8 kB / 0.6389 GB, free: 13.07 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.002209, allocations: 8.375 kB / 0.6389 GB, free: 13.06 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-06/0.002215, allocations: 4.359 kB / 0.6389 GB, free: 13.06 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.099e-05/0.002266, allocations: 26.27 kB / 0.6389 GB, free: 13.03 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.002273, allocations: 192 / 0.6389 GB, free: 13.03 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.431e-06/0.002279, allocations: 384 / 0.6389 GB, free: 13.03 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.002284, allocations: 384 / 0.6389 GB, free: 13.03 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.057e-06/0.002293, allocations: 11.88 kB / 0.6389 GB, free: 13.02 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.002463, allocations: 286.9 kB / 0.6392 GB, free: 12.72 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.71e-05/0.00252, allocations: 165.1 kB / 0.6393 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.002543, allocations: 84.17 kB / 0.6394 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.002563, allocations: 79.28 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.002609, allocations: 113.8 kB / 0.6396 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.00261, allocations: 0 / 0.6396 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0): time 5.66e-05/0.002667, allocations: 25.7 kB / 0.6396 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.002719, allocations: 134.6 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.588e-05/0.002795, allocations: 102.7 kB / 0.6398 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.002807, allocations: 25.7 kB / 0.6399 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.002842, allocations: 80.14 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.092e-06/0.002844, allocations: 7.938 kB / 0.64 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.809e-05/0.002862, allocations: 9.844 kB / 0.64 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.702e-05/0.002939, allocations: 314.8 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-06/0.002943, allocations: 0 / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-06/0.002951, allocations: 11.92 kB / 0.6403 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.032e-05/0.002972, allocations: 75.28 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-05/0.002992, allocations: 75.28 kB / 0.6404 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.902e-05/0.003031, allocations: 25.7 kB / 0.6404 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.003067, allocations: 87.19 kB / 0.6405 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.00309, allocations: 75.28 kB / 0.6406 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.163e-05/0.003141, allocations: 154.5 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.523e-05/0.003166, allocations: 83.22 kB / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.531e-05/0.003212, allocations: 166.5 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.369e-05/0.003255, allocations: 79.27 kB / 0.6411 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.003279, allocations: 83.28 kB / 0.6411 GB, free: 10.61 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 8.307e-05/0.003362, allocations: 260.3 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.003399, allocations: 101 kB / 0.6415 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.003437, allocations: 108 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.953e-05/0.003477, allocations: 180.2 kB / 0.6418 GB, free: 9.941 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-05/0.003523, allocations: 188.2 kB / 0.6419 GB, free: 9.75 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.972e-05/0.003563, allocations: 188.2 kB / 0.6421 GB, free: 9.559 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.003681, allocations: 317.5 kB / 0.6424 GB, free: 9.223 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/0.003704, allocations: 105 kB / 0.6425 GB, free: 9.113 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.547e-05/0.00373, allocations: 109.2 kB / 0.6426 GB, free: 9 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.941e-05/0.003769, allocations: 180.3 kB / 0.6428 GB, free: 8.816 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/0.003809, allocations: 184.2 kB / 0.643 GB, free: 8.629 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-05/0.003847, allocations: 176.3 kB / 0.6431 GB, free: 8.449 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.019e-05/0.003887, allocations: 180.3 kB / 0.6433 GB, free: 8.266 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.207e-05/0.003979, allocations: 311.7 kB / 0.6436 GB, free: 7.938 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/0.004011, allocations: 104.9 kB / 0.6437 GB, free: 7.828 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.004062, allocations: 184.3 kB / 0.6439 GB, free: 7.641 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.556e-05/0.004107, allocations: 101 kB / 0.644 GB, free: 7.535 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.004157, allocations: 184.2 kB / 0.6442 GB, free: 7.348 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.004184, allocations: 109 kB / 0.6443 GB, free: 7.234 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.475e-05/0.004199, allocations: 8.797 kB / 0.6443 GB, free: 7.223 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004199, allocations: 0 / 0.6443 GB, free: 7.223 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001328/0.004332, allocations: 3.938 kB / 0.6443 GB, free: 7.219 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.0001438/0.004476, allocations: 151.7 kB / 0.6444 GB, free: 7.062 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.844e-05/0.004524, allocations: 3.938 kB / 0.6444 GB, free: 7.059 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.004529, allocations: 0 / 0.6444 GB, free: 7.059 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.00453, allocations: 0 / 0.6444 GB, free: 7.059 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.004791, allocations: 467.8 kB / 0.6449 GB, free: 6.598 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000182/0.004973, allocations: 159 kB / 0.645 GB, free: 6.414 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.109e-05/0.005004, allocations: 51.36 kB / 0.6451 GB, free: 6.344 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.334e-06/0.005006, allocations: 0 / 0.6451 GB, free: 6.344 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.005034, allocations: 47.38 kB / 0.6451 GB, free: 6.297 MB / 0.6043 GB Notification: Performance of SimCode: time 1.092e-06/0.005035, allocations: 0 / 0.6451 GB, free: 6.297 MB / 0.6043 GB Notification: Performance of Templates: time 0.001564/0.006599, allocations: 172.7 kB / 0.6453 GB, free: 6.129 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.379411838017404]