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/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.0007096/0.0007096, allocations: 79.69 kB / 20.03 MB, free: 4.492 MB / 18.57 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.0007243/0.0007243, allocations: 165.3 kB / 23.33 MB, free: 1.191 MB / 18.57 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.8275/0.8275, allocations: 177.1 MB / 203.6 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.03474/0.03474, allocations: 9.124 MB / 269.2 MB, free: 4.445 MB / 250.7 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/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003654/0.0003654, allocations: 23.97 kB / 328.7 MB, free: 20.62 MB / 266.7 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/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.416/1.416, allocations: 275 MB / 0.6476 GB, free: 2.504 MB / 0.4949 GB [/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 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/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) 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) 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.854e-06/1.854e-06, allocations: 0 / 0.9294 GB, free: 8.199 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.162e-05, allocations: 2.281 kB / 0.9294 GB, free: 8.195 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001227/0.001249, allocations: 0.5835 MB / 0.93 GB, free: 7.633 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009282/0.002177, allocations: 1.156 MB / 0.9311 GB, free: 6.465 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.002212, allocations: 0 / 0.9311 GB, free: 6.465 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.021e-05/0.002232, allocations: 3.938 kB / 0.9311 GB, free: 6.461 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.354e-05/0.002285, allocations: 4.875 kB / 0.9311 GB, free: 6.457 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.002639, allocations: 122.6 kB / 0.9313 GB, free: 6.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.002747, allocations: 93.47 kB / 0.9313 GB, free: 6.25 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.749e-05/0.002814, allocations: 7.984 kB / 0.9314 GB, free: 6.242 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.697e-05/0.002881, allocations: 47.91 kB / 0.9314 GB, free: 6.195 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.645e-05/0.002958, allocations: 31.94 kB / 0.9314 GB, free: 6.164 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.002976, allocations: 8.5 kB / 0.9314 GB, free: 6.156 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.405e-05/0.00302, allocations: 20.44 kB / 0.9315 GB, free: 6.137 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.003037, allocations: 3.938 kB / 0.9315 GB, free: 6.133 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.003074, allocations: 32.47 kB / 0.9315 GB, free: 6.102 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.003195, allocations: 96.38 kB / 0.9316 GB, free: 6.008 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.003197, allocations: 0 / 0.9316 GB, free: 6.008 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003198, allocations: 0.7188 kB / 0.9316 GB, free: 6.008 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.796e-06/0.003201, allocations: 4 kB / 0.9316 GB, free: 6.004 MB / 0.698 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.0003096/0.003511, allocations: 301.2 kB / 0.9319 GB, free: 5.672 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.003543, allocations: 15.98 kB / 0.9319 GB, free: 5.656 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.003575, allocations: 8.891 kB / 0.9319 GB, free: 5.648 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.602e-05/0.003641, allocations: 114.4 kB / 0.932 GB, free: 5.512 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.003655, allocations: 4.375 kB / 0.932 GB, free: 5.508 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.003671, allocations: 9.172 kB / 0.932 GB, free: 5.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.768e-05/0.003739, allocations: 38.27 kB / 0.9321 GB, free: 5.457 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.003745, allocations: 0.7812 kB / 0.9321 GB, free: 5.457 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-06/0.003752, allocations: 4.359 kB / 0.9321 GB, free: 5.453 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.003756, allocations: 1.094 kB / 0.9321 GB, free: 5.453 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.741e-05/0.003783, allocations: 11.94 kB / 0.9321 GB, free: 5.441 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.004028, allocations: 223.1 kB / 0.9323 GB, free: 5.195 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.042e-05/0.004068, allocations: 34.5 kB / 0.9323 GB, free: 5.152 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.565e-05/0.004084, allocations: 12.86 kB / 0.9323 GB, free: 5.137 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.004091, allocations: 0 / 0.9323 GB, free: 5.137 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.185e-05/0.004173, allocations: 71.34 kB / 0.9324 GB, free: 5.055 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.004174, allocations: 0.5312 kB / 0.9324 GB, free: 5.055 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001459/0.00432, allocations: 74.2 kB / 0.9325 GB, free: 4.977 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.004342, allocations: 51.41 kB / 0.9325 GB, free: 4.914 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.655e-05/0.004398, allocations: 106.4 kB / 0.9326 GB, free: 4.801 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.004415, allocations: 34.23 kB / 0.9327 GB, free: 4.762 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.00445, allocations: 84.12 kB / 0.9327 GB, free: 4.676 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/0.00446, allocations: 21.23 kB / 0.9328 GB, free: 4.656 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.004498, allocations: 29.7 kB / 0.9328 GB, free: 4.621 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.616e-05/0.004564, allocations: 310.8 kB / 0.9331 GB, free: 4.309 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.477e-05/0.004629, allocations: 69.11 kB / 0.9331 GB, free: 4.238 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.308e-05/0.004692, allocations: 80.31 kB / 0.9332 GB, free: 4.145 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.263e-05/0.004765, allocations: 88.2 kB / 0.9333 GB, free: 4.043 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.004767, allocations: 0 / 0.9333 GB, free: 4.043 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001723/0.004939, allocations: 185 kB / 0.9335 GB, free: 3.844 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.004962, allocations: 29.7 kB / 0.9335 GB, free: 3.809 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.004968, allocations: 7.938 kB / 0.9335 GB, free: 3.801 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.004978, allocations: 2.531 kB / 0.9335 GB, free: 3.801 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.862e-05/0.005017, allocations: 4 kB / 0.9335 GB, free: 3.797 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.005025, allocations: 3.984 kB / 0.9335 GB, free: 3.793 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.00514, allocations: 27.91 kB / 0.9336 GB, free: 3.766 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.005152, allocations: 8 kB / 0.9336 GB, free: 3.758 MB / 0.698 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.371e-05/0.005206, allocations: 117.9 kB / 0.9337 GB, free: 3.637 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-06/0.005212, allocations: 11.89 kB / 0.9337 GB, free: 3.625 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.878e-05/0.005231, allocations: 15.92 kB / 0.9337 GB, free: 3.609 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.005234, allocations: 0 / 0.9337 GB, free: 3.609 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.5e-07/0.005234, allocations: 0 / 0.9337 GB, free: 3.609 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-06/0.00524, allocations: 8 kB / 0.9337 GB, free: 3.602 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.256e-06/0.005248, allocations: 0 / 0.9337 GB, free: 3.602 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-06/0.005255, allocations: 0 / 0.9337 GB, free: 3.602 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.005279, allocations: 7.562 kB / 0.9337 GB, free: 3.598 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.29e-05/0.005352, allocations: 133 kB / 0.9338 GB, free: 3.461 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.769e-05/0.005449, allocations: 238.7 kB / 0.9341 GB, free: 3.211 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.928e-05/0.005468, allocations: 11.98 kB / 0.9341 GB, free: 3.199 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.691e-05/0.005495, allocations: 83.28 kB / 0.9342 GB, free: 3.117 MB / 0.698 GB Notification: Performance of Backend: time 1.3e-07/0.005496, allocations: 0 / 0.9342 GB, free: 3.117 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003224/0.005818, allocations: 213.2 kB / 0.9344 GB, free: 2.883 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003209/0.006139, allocations: 0.5804 MB / 0.9349 GB, free: 2.254 MB / 0.698 GB Notification: Performance of Templates: time 0.002226/0.008365, allocations: 1.238 MB / 0.9361 GB, free: 1.062 MB / 0.698 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=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.335973599925637] Failed to read output from testmodel.py, exit status != 0: 0.012348348274827003 0.019929426 0.015170771000000001 Calling exit ...