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.04938/0.04938, allocations: 9.131 MB / 28.99 MB, free: 328 kB / 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.000839/0.000839, allocations: 99.14 kB / 35.33 MB, free: 0.9219 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.001131/0.001131, allocations: 167.4 kB / 38.73 MB, free: 2.402 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.023/1.023, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.004819/0.004819, allocations: 0.8224 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.786/1.786, 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.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 3.176e-06/3.176e-06, allocations: 0 / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.952e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001534/0.001563, allocations: 0.6612 MB / 0.6385 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.002894, allocations: 1.174 MB / 0.6397 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.002938, allocations: 0 / 0.6397 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.002963, allocations: 0 / 0.6397 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.62e-05/0.003039, allocations: 7.875 kB / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.003473, allocations: 119.6 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.003617, allocations: 95.81 kB / 0.6399 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.003701, allocations: 7.984 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 9.959e-05/0.0038, allocations: 47.91 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.003906, allocations: 35.94 kB / 0.64 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.003929, allocations: 8 kB / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.203e-05/0.004012, allocations: 16 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.326e-05/0.004035, allocations: 7.984 kB / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.004081, allocations: 23.92 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.004215, allocations: 75.83 kB / 0.6401 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.004219, allocations: 3.938 kB / 0.6401 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.122e-06/0.00422, allocations: 0 / 0.6401 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.004227, allocations: 3.984 kB / 0.6401 GB, free: 11.83 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.0003675/0.004594, allocations: 282.2 kB / 0.6404 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.004638, allocations: 15.98 kB / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.004672, allocations: 4.938 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.004776, allocations: 109.8 kB / 0.6405 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.004798, allocations: 4.375 kB / 0.6405 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.004811, allocations: 4.375 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.434e-05/0.004906, allocations: 46.95 kB / 0.6405 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.004916, allocations: 192 / 0.6405 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.004932, allocations: 8.359 kB / 0.6405 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.004938, allocations: 384 / 0.6405 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.864e-05/0.004967, allocations: 11.88 kB / 0.6406 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.005309, allocations: 160.3 kB / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.073e-05/0.00537, allocations: 26.58 kB / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.005389, allocations: 12.8 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.0054, allocations: 4.062 kB / 0.6407 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.005531, allocations: 59.28 kB / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 2.595e-06/0.005534, allocations: 0 / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 0.00018/0.005714, allocations: 57.61 kB / 0.6409 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.00576, allocations: 51.41 kB / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.005858, allocations: 114.7 kB / 0.641 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.005881, allocations: 33.7 kB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.005924, allocations: 84.14 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.005938, allocations: 11.94 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.00599, allocations: 33.69 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.006093, allocations: 318.8 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.102e-05/0.006154, allocations: 45.69 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.732e-05/0.006212, allocations: 72.2 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.155e-05/0.006293, allocations: 68.25 kB / 0.6417 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.006296, allocations: 0 / 0.6417 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005433/0.006839, allocations: 157 kB / 0.6418 GB, free: 9.855 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/0.006883, allocations: 33.77 kB / 0.6418 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.006891, allocations: 4 kB / 0.6418 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.006911, allocations: 3.938 kB / 0.6418 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.052e-05/0.006991, allocations: 7.938 kB / 0.6419 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.006997, allocations: 3.984 kB / 0.6419 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.007137, allocations: 15.98 kB / 0.6419 GB, free: 9.781 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.007152, allocations: 4 kB / 0.6419 GB, free: 9.777 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 0.0001038/0.007255, allocations: 113.8 kB / 0.642 GB, free: 9.656 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.007272, allocations: 11.98 kB / 0.642 GB, free: 9.645 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.007304, allocations: 4 kB / 0.642 GB, free: 9.645 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.00731, allocations: 3.938 kB / 0.642 GB, free: 9.641 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.007314, allocations: 4 kB / 0.642 GB, free: 9.637 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.00732, allocations: 0 / 0.642 GB, free: 9.637 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.007425, allocations: 73.88 kB / 0.6421 GB, free: 9.547 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.007427, allocations: 0 / 0.6421 GB, free: 9.547 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.007449, allocations: 4 kB / 0.6421 GB, free: 9.543 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.007452, allocations: 0 / 0.6421 GB, free: 9.543 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.007458, allocations: 0 / 0.6421 GB, free: 9.543 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.007459, allocations: 3.938 kB / 0.6421 GB, free: 9.539 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.00746, allocations: 4 kB / 0.6421 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.007577, allocations: 76.98 kB / 0.6422 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.00759, allocations: 7.953 kB / 0.6422 GB, free: 9.434 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.007601, allocations: 288 / 0.6422 GB, free: 9.434 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.305e-05/0.007614, allocations: 0 / 0.6422 GB, free: 9.434 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.007636, allocations: 0 / 0.6422 GB, free: 9.434 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.007643, allocations: 15.92 kB / 0.6422 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.69e-05/0.007659, allocations: 12.84 kB / 0.6422 GB, free: 9.402 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.00766, allocations: 0 / 0.6422 GB, free: 9.402 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000125/0.007785, allocations: 16 kB / 0.6422 GB, free: 9.387 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 0.0001303/0.007915, allocations: 92.33 kB / 0.6423 GB, free: 9.285 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.008052, allocations: 137.9 kB / 0.6424 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.008055, allocations: 0 / 0.6424 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.818e-05/0.008073, allocations: 12.86 kB / 0.6424 GB, free: 9.113 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.008193, allocations: 7.984 kB / 0.6425 GB, free: 9.105 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002262/0.008419, allocations: 124.6 kB / 0.6426 GB, free: 8.957 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.173e-05/0.008451, allocations: 63.28 kB / 0.6426 GB, free: 8.875 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.968e-05/0.00847, allocations: 4.125 kB / 0.6426 GB, free: 8.871 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.303e-05/0.008543, allocations: 67.36 kB / 0.6427 GB, free: 8.805 MB / 0.6043 GB Notification: Performance of SimCode: time 9.01e-07/0.008544, allocations: 0 / 0.6427 GB, free: 8.805 MB / 0.6043 GB Notification: Performance of Templates: time 0.002906/0.01145, allocations: 1.312 MB / 0.644 GB, free: 7.488 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.559795327950269]