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.001452/0.001452, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001581/0.001581, allocations: 208.7 kB / 22.24 MB, free: 5.262 MB / 14.72 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.06357/0.06357, allocations: 12.18 MB / 324.6 MB, free: 7.078 MB / 254.1 MB " [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.001118/0.001118, allocations: 29.17 kB / 384.1 MB, free: 47.46 MB / 302.1 MB " [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 2.608/2.608, allocations: 353.9 MB / 0.7787 GB, free: 1.613 MB / 0.5138 GB " [Timeout remaining time 177] 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: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004522/0.004522, allocations: 121.3 kB / 1.06 GB, free: 12.61 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3378, allocations: 134.9 MB / 1.192 GB, free: 5.82 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001771/0.3395, allocations: 0.59 MB / 1.193 GB, free: 5.234 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.341, allocations: 1.149 MB / 1.194 GB, free: 4.074 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/0.3411, allocations: 0 / 1.194 GB, free: 4.074 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.3411, allocations: 0 / 1.194 GB, free: 4.074 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 6.802e-05/0.3412, allocations: 7.938 kB / 1.194 GB, free: 4.066 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.3416, allocations: 122.3 kB / 1.194 GB, free: 3.949 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.000159/0.3418, allocations: 95.81 kB / 1.194 GB, free: 3.855 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 7.795e-05/0.3419, allocations: 4 kB / 1.194 GB, free: 3.852 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 7.613e-05/0.3419, allocations: 43.91 kB / 1.194 GB, free: 3.809 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 8.73e-05/0.342, allocations: 23.91 kB / 1.194 GB, free: 3.785 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.3421, allocations: 8 kB / 1.194 GB, free: 3.777 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 6.634e-05/0.3421, allocations: 23.97 kB / 1.194 GB, free: 3.754 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.3421, allocations: 7.938 kB / 1.194 GB, free: 3.746 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 4.871e-05/0.3422, allocations: 19.98 kB / 1.194 GB, free: 3.727 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.3423, allocations: 91.72 kB / 1.194 GB, free: 3.637 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3424, allocations: 0 / 1.194 GB, free: 3.637 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3424, allocations: 3.938 kB / 1.194 GB, free: 3.633 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.3424, allocations: 0 / 1.194 GB, free: 3.633 MB / 0.8263 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.0004571/0.3428, allocations: 304 kB / 1.195 GB, free: 3.297 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3429, allocations: 11.98 kB / 1.195 GB, free: 3.285 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.844e-05/0.3429, allocations: 8.922 kB / 1.195 GB, free: 3.277 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.343, allocations: 114.4 kB / 1.195 GB, free: 3.141 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.343, allocations: 4.375 kB / 1.195 GB, free: 3.137 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.3431, allocations: 8.375 kB / 1.195 GB, free: 3.129 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.027e-05/0.3432, allocations: 38.19 kB / 1.195 GB, free: 3.086 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3432, allocations: 192 / 1.195 GB, free: 3.086 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3432, allocations: 7.922 kB / 1.195 GB, free: 3.078 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3432, allocations: 4 kB / 1.195 GB, free: 3.074 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.796e-05/0.3432, allocations: 8 kB / 1.195 GB, free: 3.066 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.3436, allocations: 228.6 kB / 1.195 GB, free: 2.812 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 6.444e-05/0.3437, allocations: 26.52 kB / 1.195 GB, free: 2.777 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.3437, allocations: 12.92 kB / 1.195 GB, free: 2.762 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.3437, allocations: 3.938 kB / 1.195 GB, free: 2.758 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.3438, allocations: 67.38 kB / 1.195 GB, free: 2.68 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.3438, allocations: 7.938 kB / 1.195 GB, free: 2.672 MB / 0.8263 GB Notification: Performance of matching and sorting (n=4): time 0.0002022/0.344, allocations: 69.62 kB / 1.195 GB, free: 2.598 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.3441, allocations: 55.34 kB / 1.195 GB, free: 2.531 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.606e-05/0.3442, allocations: 113.8 kB / 1.195 GB, free: 2.41 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.3442, allocations: 29.7 kB / 1.195 GB, free: 2.375 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.3443, allocations: 88.14 kB / 1.195 GB, free: 2.285 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/0.3443, allocations: 3.953 kB / 1.195 GB, free: 2.281 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-05/0.3443, allocations: 33.7 kB / 1.195 GB, free: 2.242 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3445, allocations: 318.8 kB / 1.196 GB, free: 1.922 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.3446, allocations: 57.69 kB / 1.196 GB, free: 1.859 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.3447, allocations: 80.25 kB / 1.196 GB, free: 1.766 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.3448, allocations: 88.2 kB / 1.196 GB, free: 1.664 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3448, allocations: 0 / 1.196 GB, free: 1.664 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002882/0.3451, allocations: 188.9 kB / 1.196 GB, free: 1.461 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/0.3451, allocations: 37.69 kB / 1.196 GB, free: 1.418 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3451, allocations: 0 / 1.196 GB, free: 1.418 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3451, allocations: 3.938 kB / 1.196 GB, free: 1.414 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.494e-05/0.3452, allocations: 8 kB / 1.196 GB, free: 1.406 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3452, allocations: 0 / 1.196 GB, free: 1.406 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.3454, allocations: 23.97 kB / 1.196 GB, free: 1.383 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.3454, allocations: 8 kB / 1.196 GB, free: 1.375 MB / 0.8263 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.0001042/0.3455, allocations: 121.9 kB / 1.196 GB, free: 1.246 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.3455, allocations: 11.89 kB / 1.196 GB, free: 1.234 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.3455, allocations: 4 kB / 1.196 GB, free: 1.223 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.3455, allocations: 0 / 1.196 GB, free: 1.223 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3455, allocations: 0 / 1.196 GB, free: 1.223 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3455, allocations: 0 / 1.196 GB, free: 1.223 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.3456, allocations: 109.3 kB / 1.196 GB, free: 1.086 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3456, allocations: 3.938 kB / 1.196 GB, free: 1.082 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-05/0.3457, allocations: 3.938 kB / 1.196 GB, free: 1.078 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3457, allocations: 4 kB / 1.197 GB, free: 1.074 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.3457, allocations: 4 kB / 1.197 GB, free: 1.07 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3457, allocations: 4.375 kB / 1.197 GB, free: 1.066 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3457, allocations: 64 / 1.197 GB, free: 1.066 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.3458, allocations: 89.12 kB / 1.197 GB, free: 0.9609 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.3458, allocations: 11.83 kB / 1.197 GB, free: 0.9492 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.3458, allocations: 0 / 1.197 GB, free: 0.9492 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.331e-05/0.3458, allocations: 0 / 1.197 GB, free: 0.9492 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.3459, allocations: 11.92 kB / 1.197 GB, free: 0.9375 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.3459, allocations: 288 / 1.197 GB, free: 0.9375 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.114e-05/0.3459, allocations: 91.27 kB / 1.197 GB, free: 0.8477 MB / 0.8263 GB Notification: Performance of sort global known variables: time 7e-08/0.3459, allocations: 0 / 1.197 GB, free: 0.8477 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.000205/0.3461, allocations: 23.98 kB / 1.197 GB, free: 0.8242 MB / 0.8263 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.0001322/0.3463, allocations: 107.2 kB / 1.197 GB, free: 0.7109 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.3465, allocations: 145 kB / 1.197 GB, free: 0.5508 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3465, allocations: 0 / 1.197 GB, free: 0.5508 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 4.651e-05/0.3465, allocations: 11.94 kB / 1.197 GB, free: 0.5391 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.3467, allocations: 11.98 kB / 1.197 GB, free: 0.5273 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.347, allocations: 126.1 kB / 1.197 GB, free: 388 kB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.904e-05/0.3471, allocations: 67.47 kB / 1.197 GB, free: 300 kB / 0.8263 GB Notification: Performance of simCode: alias equations: time 2.02e-05/0.3471, allocations: 4 kB / 1.197 GB, free: 296 kB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.3471, allocations: 11.38 kB / 1.197 GB, free: 284 kB / 0.8263 GB Notification: Performance of SimCode: time 2.81e-07/0.3471, allocations: 0 / 1.197 GB, free: 284 kB / 0.8263 GB Notification: Performance of Templates: time 0.003711/0.3508, allocations: 1.195 MB / 1.198 GB, free: 15.12 MB / 0.8419 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: 8.579727821052074] Failed to read output from testmodel.py, exit status != 0: 0.35986556857824326 0.37206467099999996 0.026880569 Calling exit ...