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.07658/0.07658, allocations: 9.13 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.001202/0.001202, allocations: 91.27 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.0009911/0.0009911, allocations: 164.2 kB / 38.73 MB, free: 2.512 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.9821/0.9821, 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.00686/0.00686, allocations: 0.8216 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.719/1.719, allocations: 274.9 MB / 0.5419 GB, free: 0.6328 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.185e-06/2.185e-06, allocations: 0 / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.609e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001671/0.001698, allocations: 0.5753 MB / 0.6384 GB, free: 13.55 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 5.023e-05/0.001748, allocations: 3.984 kB / 0.6384 GB, free: 13.55 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.001774, allocations: 0 / 0.6384 GB, free: 13.55 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.616e-05/0.0018, allocations: 0 / 0.6384 GB, free: 13.55 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.074e-05/0.001831, allocations: 0 / 0.6384 GB, free: 13.55 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 3.284e-05/0.001864, allocations: 0 / 0.6384 GB, free: 13.55 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.307e-05/0.001917, allocations: 4 kB / 0.6384 GB, free: 13.55 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 4.108e-05/0.001958, allocations: 4 kB / 0.6384 GB, free: 13.54 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.256e-05/0.001991, allocations: 4 kB / 0.6384 GB, free: 13.54 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.523e-05/0.002016, allocations: 0 / 0.6384 GB, free: 13.54 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.002034, allocations: 0 / 0.6384 GB, free: 13.54 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 5.601e-06/0.002039, allocations: 3.938 kB / 0.6384 GB, free: 13.54 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.002057, allocations: 4 kB / 0.6384 GB, free: 13.53 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.328e-05/0.002071, allocations: 0 / 0.6384 GB, free: 13.53 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 5.73e-05/0.002128, allocations: 3.938 kB / 0.6384 GB, free: 13.53 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00213, allocations: 0 / 0.6384 GB, free: 13.53 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002131, allocations: 0 / 0.6384 GB, free: 13.53 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.002134, allocations: 4 kB / 0.6384 GB, free: 13.52 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.0002239/0.002358, allocations: 217 kB / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.002394, allocations: 15.98 kB / 0.6387 GB, free: 13.27 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.225e-05/0.002417, allocations: 0.9375 kB / 0.6387 GB, free: 13.27 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.306e-05/0.0025, allocations: 101.8 kB / 0.6388 GB, free: 13.14 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.002512, allocations: 4.375 kB / 0.6388 GB, free: 13.14 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-06/0.00252, allocations: 384 / 0.6388 GB, free: 13.14 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.956e-05/0.00258, allocations: 34.25 kB / 0.6388 GB, free: 13.1 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.002586, allocations: 192 / 0.6388 GB, free: 13.1 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-06/0.002592, allocations: 384 / 0.6388 GB, free: 13.1 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.002598, allocations: 4.375 kB / 0.6388 GB, free: 13.1 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.859e-06/0.002608, allocations: 11.88 kB / 0.6388 GB, free: 13.09 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.002799, allocations: 282.9 kB / 0.6391 GB, free: 12.79 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.69e-05/0.002876, allocations: 165.1 kB / 0.6392 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.977e-05/0.002905, allocations: 88.16 kB / 0.6393 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.002926, allocations: 75.28 kB / 0.6394 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.002972, allocations: 109.8 kB / 0.6395 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.002973, allocations: 0 / 0.6395 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0): time 5.791e-05/0.003031, allocations: 29.69 kB / 0.6395 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.003087, allocations: 138.6 kB / 0.6397 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.242e-05/0.003149, allocations: 98.72 kB / 0.6398 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.016e-06/0.003158, allocations: 25.7 kB / 0.6398 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.003192, allocations: 84.12 kB / 0.6399 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/0.003194, allocations: 4 kB / 0.6399 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-05/0.003216, allocations: 9.719 kB / 0.6399 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.814e-05/0.003304, allocations: 310.8 kB / 0.6402 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.386e-06/0.003307, allocations: 0 / 0.6402 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.798e-06/0.003311, allocations: 0 / 0.6402 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.589e-05/0.003337, allocations: 79.28 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-05/0.003359, allocations: 79.22 kB / 0.6403 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.043e-05/0.003409, allocations: 29.81 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.003441, allocations: 87.28 kB / 0.6404 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/0.003464, allocations: 79.22 kB / 0.6405 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.905e-05/0.003513, allocations: 154.5 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.533e-05/0.003538, allocations: 83.22 kB / 0.6407 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.414e-05/0.003582, allocations: 158.5 kB / 0.6409 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.098e-05/0.003643, allocations: 79.28 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.003667, allocations: 83.27 kB / 0.6411 GB, free: 10.69 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 9.214e-05/0.003759, allocations: 260.4 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.745e-05/0.003807, allocations: 104.9 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/0.003851, allocations: 108 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.357e-05/0.003904, allocations: 184.2 kB / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-05/0.003952, allocations: 180.2 kB / 0.6418 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.982e-05/0.004002, allocations: 184.2 kB / 0.642 GB, free: 9.645 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.004167, allocations: 325.4 kB / 0.6423 GB, free: 9.301 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.818e-05/0.004195, allocations: 101 kB / 0.6424 GB, free: 9.195 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.004226, allocations: 105.2 kB / 0.6425 GB, free: 9.086 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.267e-05/0.004279, allocations: 184.3 kB / 0.6427 GB, free: 8.898 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/0.004335, allocations: 184.3 kB / 0.6429 GB, free: 8.711 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.821e-05/0.004383, allocations: 180.2 kB / 0.6431 GB, free: 8.527 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.838e-05/0.004432, allocations: 176.3 kB / 0.6432 GB, free: 8.348 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.004547, allocations: 319.7 kB / 0.6435 GB, free: 8.012 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-05/0.004583, allocations: 104.9 kB / 0.6436 GB, free: 7.902 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.249e-05/0.004646, allocations: 184.3 kB / 0.6438 GB, free: 7.715 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.39e-05/0.00471, allocations: 101 kB / 0.6439 GB, free: 7.609 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.004768, allocations: 180.2 kB / 0.6441 GB, free: 7.426 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.004799, allocations: 109 kB / 0.6442 GB, free: 7.312 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.825e-05/0.004818, allocations: 8.797 kB / 0.6442 GB, free: 7.301 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.004818, allocations: 0 / 0.6442 GB, free: 7.301 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002376/0.005055, allocations: 0 / 0.6442 GB, free: 7.301 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.0001095/0.005165, allocations: 155.8 kB / 0.6443 GB, free: 7.141 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 3.308e-05/0.005198, allocations: 3.938 kB / 0.6443 GB, free: 7.137 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.005202, allocations: 4 kB / 0.6443 GB, free: 7.133 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.005203, allocations: 0 / 0.6443 GB, free: 7.133 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.00546, allocations: 459.7 kB / 0.6448 GB, free: 6.68 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001805/0.005641, allocations: 159 kB / 0.6449 GB, free: 6.496 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.469e-05/0.005675, allocations: 51.36 kB / 0.645 GB, free: 6.426 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.297e-06/0.005679, allocations: 3.938 kB / 0.645 GB, free: 6.422 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.005704, allocations: 47.38 kB / 0.645 GB, free: 6.375 MB / 0.6043 GB Notification: Performance of SimCode: time 5.71e-07/0.005705, allocations: 0 / 0.645 GB, free: 6.375 MB / 0.6043 GB Notification: Performance of Templates: time 0.001645/0.00735, allocations: 172.8 kB / 0.6452 GB, free: 6.207 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 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.463439844083041]