Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.03975/0.03975, allocations: 9.129 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.0008704/0.0008704, allocations: 95.2 kB / 35.33 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.001034/0.001034, allocations: 165.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 0.9125/0.9125, allocations: 177.1 MB / 219.2 MB, free: 10.14 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.003999/0.003999, allocations: 0.8256 MB / 276.5 MB, free: 0.7578 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.623/1.623, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 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.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341e-05/1.534e-05, allocations: 6.312 kB / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001073/0.001088, allocations: 0.614 MB / 0.6384 GB, free: 13.55 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.002188, allocations: 1.174 MB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.002224, allocations: 4 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.44e-05/0.002249, allocations: 3.938 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.44e-05/0.002313, allocations: 3.984 kB / 0.6396 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.002659, allocations: 119.6 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.002786, allocations: 95.83 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.005e-05/0.002856, allocations: 7.984 kB / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.263e-05/0.002939, allocations: 51.89 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.359e-05/0.003013, allocations: 23.97 kB / 0.6399 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.00303, allocations: 8 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 5.257e-05/0.003082, allocations: 19.98 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.003099, allocations: 7.984 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.003133, allocations: 27.91 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.003242, allocations: 75.78 kB / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003243, allocations: 0 / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of FrontEnd: time 3.8e-07/0.003244, allocations: 0 / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.875e-06/0.003247, allocations: 4 kB / 0.64 GB, free: 11.92 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.0003033/0.00355, allocations: 282.2 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.003589, allocations: 15.98 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.487e-05/0.003624, allocations: 4.938 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.691e-05/0.003721, allocations: 109.8 kB / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.003738, allocations: 4.375 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.003757, allocations: 8.359 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.776e-05/0.003835, allocations: 50.89 kB / 0.6404 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.003842, allocations: 4.125 kB / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.003848, allocations: 384 / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.003853, allocations: 8.359 kB / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.75e-05/0.003871, allocations: 11.94 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.00408, allocations: 160.3 kB / 0.6406 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.262e-05/0.004122, allocations: 22.58 kB / 0.6406 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.296e-05/0.004135, allocations: 4.859 kB / 0.6407 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.004142, allocations: 3.938 kB / 0.6407 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.091e-05/0.004213, allocations: 63.41 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.004214, allocations: 0 / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 0.0001097/0.004324, allocations: 53.61 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.004359, allocations: 59.34 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.547e-05/0.004425, allocations: 114.7 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.004442, allocations: 29.7 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.00448, allocations: 88.12 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 8.766e-06/0.004489, allocations: 7.953 kB / 0.6411 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.004536, allocations: 33.69 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.004615, allocations: 318.8 kB / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.49e-05/0.004659, allocations: 45.69 kB / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-05/0.004708, allocations: 72.25 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.966e-05/0.004768, allocations: 72.19 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.004769, allocations: 4 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001135/0.004883, allocations: 141 kB / 0.6417 GB, free: 9.945 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.004911, allocations: 41.69 kB / 0.6417 GB, free: 9.898 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.004916, allocations: 0 / 0.6417 GB, free: 9.898 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.004929, allocations: 7.938 kB / 0.6418 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.388e-05/0.004963, allocations: 0 / 0.6418 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.004966, allocations: 4 kB / 0.6418 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.12e-05/0.005058, allocations: 20.03 kB / 0.6418 GB, free: 9.867 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.005071, allocations: 12.06 kB / 0.6418 GB, free: 9.855 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 5.755e-05/0.005129, allocations: 113.8 kB / 0.6419 GB, free: 9.734 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.563e-06/0.005135, allocations: 4 kB / 0.6419 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.767e-05/0.005153, allocations: 7.984 kB / 0.6419 GB, free: 9.723 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.005156, allocations: 3.938 kB / 0.6419 GB, free: 9.719 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.005157, allocations: 0 / 0.6419 GB, free: 9.719 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.00516, allocations: 3.938 kB / 0.6419 GB, free: 9.715 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.563e-05/0.005216, allocations: 73.89 kB / 0.642 GB, free: 9.625 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.005218, allocations: 7.922 kB / 0.642 GB, free: 9.617 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.553e-06/0.005224, allocations: 4 kB / 0.642 GB, free: 9.613 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.005225, allocations: 4 kB / 0.642 GB, free: 9.609 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-06/0.005229, allocations: 0 / 0.642 GB, free: 9.609 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.00523, allocations: 0 / 0.642 GB, free: 9.609 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.005231, allocations: 0 / 0.642 GB, free: 9.609 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.235e-05/0.005283, allocations: 69.06 kB / 0.6421 GB, free: 9.523 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.00529, allocations: 7.938 kB / 0.6421 GB, free: 9.516 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.714e-06/0.005298, allocations: 0 / 0.6421 GB, free: 9.516 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-06/0.005305, allocations: 4 kB / 0.6421 GB, free: 9.512 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.005322, allocations: 288 / 0.6421 GB, free: 9.512 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.005327, allocations: 7.938 kB / 0.6421 GB, free: 9.504 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.333e-05/0.00534, allocations: 16.84 kB / 0.6421 GB, free: 9.484 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.00534, allocations: 4 kB / 0.6421 GB, free: 9.48 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001107/0.005451, allocations: 12 kB / 0.6421 GB, free: 9.469 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: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.91e-05/0.00554, allocations: 92.28 kB / 0.6422 GB, free: 9.367 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.005659, allocations: 133.9 kB / 0.6423 GB, free: 9.215 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.005662, allocations: 4 kB / 0.6423 GB, free: 9.211 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.57e-05/0.005678, allocations: 16.8 kB / 0.6424 GB, free: 9.191 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.264e-05/0.005761, allocations: 11.98 kB / 0.6424 GB, free: 9.18 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001765/0.005937, allocations: 120.8 kB / 0.6425 GB, free: 9.035 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.859e-05/0.005966, allocations: 59.3 kB / 0.6425 GB, free: 8.957 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.409e-05/0.00598, allocations: 7.984 kB / 0.6425 GB, free: 8.949 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.00604, allocations: 59.36 kB / 0.6426 GB, free: 8.891 MB / 0.6043 GB Notification: Performance of SimCode: time 4.01e-07/0.006041, allocations: 0 / 0.6426 GB, free: 8.891 MB / 0.6043 GB Notification: Performance of Templates: time 0.002653/0.008693, allocations: 1.312 MB / 0.6439 GB, free: 7.574 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.378060534130782]