Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0006946/0.0006946, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008283/0.001523, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006752/0.0006752, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008217/0.001497, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.029/1.029, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09984/1.129, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.8053/0.8053, allocations: 155.3 MB / 399.2 MB, free: 15.95 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3249/1.13, allocations: 49.14 MB / 448.4 MB, free: 6.043 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 449.6 MB, free: 4.801 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/2.035e-05, allocations: 5.078 kB / 449.6 MB, free: 4.797 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00135/0.00137, allocations: 0.638 MB / 450.3 MB, free: 4.191 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.002466, allocations: 1.173 MB / 451.5 MB, free: 3.008 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.724e-05/0.002503, allocations: 0 / 451.5 MB, free: 3.008 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.002525, allocations: 9.906 kB / 451.5 MB, free: 3 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.948e-05/0.002564, allocations: 3.172 kB / 451.5 MB, free: 3 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.002864, allocations: 119.6 kB / 451.6 MB, free: 2.883 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.003012, allocations: 89.12 kB / 451.7 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.25e-05/0.003095, allocations: 4 kB / 451.7 MB, free: 2.801 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.646e-05/0.003191, allocations: 58.11 kB / 451.7 MB, free: 2.75 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.568e-05/0.003277, allocations: 28.61 kB / 451.8 MB, free: 2.723 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.003297, allocations: 9.141 kB / 451.8 MB, free: 2.715 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.999e-05/0.003377, allocations: 20.61 kB / 451.8 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.003395, allocations: 2.406 kB / 451.8 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.003431, allocations: 22.67 kB / 451.8 MB, free: 2.676 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.003565, allocations: 62.34 kB / 451.9 MB, free: 2.617 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.806e-05/0.003583, allocations: 0 / 451.9 MB, free: 2.617 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.003585, allocations: 3.984 kB / 451.9 MB, free: 2.613 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.003601, allocations: 0 / 451.9 MB, free: 2.613 MB / 426.7 MB 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.0004565/0.004058, allocations: 285.2 kB / 452.2 MB, free: 2.305 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.004092, allocations: 12.03 kB / 452.2 MB, free: 2.293 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.004127, allocations: 10.69 kB / 452.2 MB, free: 2.285 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.858e-05/0.004205, allocations: 105.8 kB / 452.3 MB, free: 2.156 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.004223, allocations: 384 / 452.3 MB, free: 2.156 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.004238, allocations: 11.97 kB / 452.3 MB, free: 2.148 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.43e-05/0.004312, allocations: 46.95 kB / 452.3 MB, free: 2.094 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.004319, allocations: 0.6875 kB / 452.3 MB, free: 2.094 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.004326, allocations: 384 / 452.3 MB, free: 2.094 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.004331, allocations: 1.859 kB / 452.3 MB, free: 2.094 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.366e-05/0.004355, allocations: 17.14 kB / 452.4 MB, free: 2.078 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.004589, allocations: 156.3 kB / 452.5 MB, free: 1.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.06e-05/0.00464, allocations: 22.61 kB / 452.5 MB, free: 1.879 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.492e-05/0.004655, allocations: 9.609 kB / 452.5 MB, free: 1.867 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.004662, allocations: 1.969 kB / 452.5 MB, free: 1.867 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.469e-05/0.004756, allocations: 67.28 kB / 452.6 MB, free: 1.789 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.472e-06/0.004758, allocations: 0 / 452.6 MB, free: 1.789 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.000118/0.004876, allocations: 53.61 kB / 452.7 MB, free: 1.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.004909, allocations: 56.28 kB / 452.7 MB, free: 1.664 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.004981, allocations: 119.2 kB / 452.8 MB, free: 1.535 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.005001, allocations: 29.7 kB / 452.9 MB, free: 1.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.005036, allocations: 84.77 kB / 452.9 MB, free: 1.414 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.879e-06/0.005046, allocations: 7.953 kB / 453 MB, free: 1.406 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.005088, allocations: 31.34 kB / 453 MB, free: 1.371 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.848e-05/0.005166, allocations: 318.8 kB / 453.3 MB, free: 1.051 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.718e-05/0.005213, allocations: 54.59 kB / 453.4 MB, free: 0.9922 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.925e-05/0.005263, allocations: 68.27 kB / 453.4 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.961e-05/0.005332, allocations: 73.69 kB / 453.5 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.005335, allocations: 0 / 453.5 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001239/0.005459, allocations: 153.8 kB / 453.6 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.005496, allocations: 43.12 kB / 453.7 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.005501, allocations: 0 / 453.7 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.005511, allocations: 4.594 kB / 453.7 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.005786, allocations: 4 kB / 453.7 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.00579, allocations: 2.109 kB / 453.7 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.005907, allocations: 24.62 kB / 453.7 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.005924, allocations: 4 kB / 453.7 MB, free: 0.5742 MB / 426.7 MB 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 7.21e-05/0.005996, allocations: 114.7 kB / 453.8 MB, free: 464 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-06/0.006005, allocations: 0.625 kB / 453.8 MB, free: 464 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.006032, allocations: 11.98 kB / 453.8 MB, free: 448 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.006035, allocations: 5.438 kB / 453.9 MB, free: 444 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.006038, allocations: 1.594 kB / 453.9 MB, free: 444 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.006041, allocations: 0.5469 kB / 453.9 MB, free: 444 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.865e-05/0.00611, allocations: 73.89 kB / 453.9 MB, free: 352 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.006112, allocations: 2.094 kB / 453.9 MB, free: 352 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.474e-05/0.006127, allocations: 3.984 kB / 453.9 MB, free: 348 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.006136, allocations: 7.953 kB / 453.9 MB, free: 340 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.006138, allocations: 336 / 453.9 MB, free: 340 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/0.006142, allocations: 3.938 kB / 453.9 MB, free: 336 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.006143, allocations: 0 / 453.9 MB, free: 336 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.006147, allocations: 8.781 kB / 454 MB, free: 328 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.155e-05/0.006218, allocations: 69.11 kB / 454 MB, free: 240 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.006228, allocations: 1.188 kB / 454 MB, free: 240 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.208e-05/0.00624, allocations: 4 kB / 454 MB, free: 236 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-05/0.006262, allocations: 0 / 454 MB, free: 236 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.006266, allocations: 4.562 kB / 454 MB, free: 232 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.66e-05/0.006283, allocations: 24.81 kB / 454.1 MB, free: 204 kB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006283, allocations: 0.5938 kB / 454.1 MB, free: 204 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001178/0.006401, allocations: 16 kB / 454.1 MB, free: 188 kB / 426.7 MB 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.0001093/0.00651, allocations: 85.55 kB / 454.2 MB, free: 96 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.006664, allocations: 139.5 kB / 454.3 MB, free: 15.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.006669, allocations: 0.625 kB / 454.3 MB, free: 15.94 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.959e-05/0.006688, allocations: 16.86 kB / 454.3 MB, free: 15.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001117/0.0068, allocations: 17.95 kB / 454.3 MB, free: 15.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.007228, allocations: 130.2 kB / 454.5 MB, free: 15.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.209e-05/0.007261, allocations: 59.2 kB / 454.5 MB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.115e-05/0.007282, allocations: 4.719 kB / 454.5 MB, free: 15.67 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.007355, allocations: 64.27 kB / 454.6 MB, free: 15.61 MB / 442.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007356, allocations: 0 / 454.6 MB, free: 15.61 MB / 442.7 MB Notification: Performance of Templates: time 0.003077/0.01043, allocations: 1.325 MB / 455.9 MB, free: 14.38 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5392127986997366]