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.0006642/0.0006642, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008661/0.00153, allocations: 440 kB / 10.41 MB, free: 284 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.0008973/0.0008973, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009168/0.001814, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9183/0.9183, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08711/1.005, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.8407/0.8407, allocations: 155.3 MB / 399.5 MB, free: 15.81 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.2769/1.118, allocations: 49.14 MB / 448.6 MB, free: 5.926 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 1.553e-06/1.553e-06, allocations: 0 / 449.9 MB, free: 4.664 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.041e-05, allocations: 5.703 kB / 449.9 MB, free: 4.66 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001268/0.001289, allocations: 0.6418 MB / 450.6 MB, free: 4.051 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009894/0.002278, allocations: 1.17 MB / 451.7 MB, free: 2.871 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.549e-05/0.002314, allocations: 1.281 kB / 451.7 MB, free: 2.871 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.002335, allocations: 7.922 kB / 451.7 MB, free: 2.863 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.489e-05/0.00237, allocations: 2.406 kB / 451.7 MB, free: 2.863 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.00267, allocations: 124.9 kB / 451.9 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.002835, allocations: 90.03 kB / 451.9 MB, free: 2.668 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.63e-05/0.002912, allocations: 8.875 kB / 452 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.939e-05/0.003011, allocations: 57.58 kB / 452 MB, free: 2.605 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.602e-05/0.003087, allocations: 21.72 kB / 452 MB, free: 2.586 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.003107, allocations: 8 kB / 452 MB, free: 2.578 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.758e-05/0.003175, allocations: 20.55 kB / 452.1 MB, free: 2.559 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.003195, allocations: 6.594 kB / 452.1 MB, free: 2.555 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.003226, allocations: 17.75 kB / 452.1 MB, free: 2.539 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.003343, allocations: 67 kB / 452.1 MB, free: 2.477 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.003353, allocations: 0 / 452.1 MB, free: 2.477 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.003354, allocations: 0 / 452.1 MB, free: 2.477 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.003361, allocations: 0 / 452.1 MB, free: 2.477 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.0003444/0.003706, allocations: 289.4 kB / 452.4 MB, free: 2.164 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.003736, allocations: 10.03 kB / 452.4 MB, free: 2.156 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.003772, allocations: 12.92 kB / 452.5 MB, free: 2.145 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.789e-05/0.00385, allocations: 109.8 kB / 452.6 MB, free: 2.012 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.003864, allocations: 4.375 kB / 452.6 MB, free: 2.008 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.003879, allocations: 4.375 kB / 452.6 MB, free: 2.004 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.183e-05/0.003951, allocations: 53.02 kB / 452.6 MB, free: 1.945 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.003958, allocations: 1.969 kB / 452.6 MB, free: 1.945 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-06/0.003964, allocations: 384 / 452.6 MB, free: 1.945 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.003971, allocations: 4.922 kB / 452.6 MB, free: 1.941 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.536e-05/0.003987, allocations: 7.922 kB / 452.6 MB, free: 1.934 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/0.004188, allocations: 157 kB / 452.8 MB, free: 1.766 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.794e-05/0.004226, allocations: 22.61 kB / 452.8 MB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.159e-05/0.004238, allocations: 10.89 kB / 452.8 MB, free: 1.723 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.004244, allocations: 4.703 kB / 452.8 MB, free: 1.719 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.478e-05/0.004329, allocations: 63.33 kB / 452.9 MB, free: 1.645 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.00433, allocations: 0 / 452.9 MB, free: 1.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001052/0.004435, allocations: 55.03 kB / 452.9 MB, free: 1.586 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.004464, allocations: 55.39 kB / 453 MB, free: 1.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.745e-05/0.004521, allocations: 119.4 kB / 453.1 MB, free: 1.391 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.004537, allocations: 33.7 kB / 453.1 MB, free: 1.352 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.077e-05/0.004568, allocations: 85.75 kB / 453.2 MB, free: 1.266 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.378e-06/0.004578, allocations: 7.938 kB / 453.2 MB, free: 1.258 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.004616, allocations: 31.2 kB / 453.3 MB, free: 1.223 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.05e-05/0.004687, allocations: 318.8 kB / 453.6 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.563e-05/0.004733, allocations: 49.69 kB / 453.6 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.198e-05/0.004784, allocations: 68.27 kB / 453.7 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.661e-05/0.004841, allocations: 74.28 kB / 453.8 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004843, allocations: 4 kB / 453.8 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001142/0.004957, allocations: 145.5 kB / 453.9 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.004991, allocations: 38.59 kB / 454 MB, free: 484 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.004996, allocations: 4 kB / 454 MB, free: 480 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.005008, allocations: 4.938 kB / 454 MB, free: 476 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.949e-05/0.005047, allocations: 4 kB / 454 MB, free: 472 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.005051, allocations: 1.375 kB / 454 MB, free: 472 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.75e-05/0.005148, allocations: 16.86 kB / 454 MB, free: 456 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.00516, allocations: 8.891 kB / 454 MB, free: 448 kB / 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 5.76e-05/0.005218, allocations: 117.8 kB / 454.1 MB, free: 320 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.005226, allocations: 6.219 kB / 454.1 MB, free: 316 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.005247, allocations: 7.984 kB / 454.1 MB, free: 300 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.005253, allocations: 4.562 kB / 454.1 MB, free: 296 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.005256, allocations: 4.062 kB / 454.1 MB, free: 292 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.005259, allocations: 5.312 kB / 454.1 MB, free: 288 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.887e-05/0.005318, allocations: 66.45 kB / 454.2 MB, free: 204 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.005319, allocations: 0 / 454.2 MB, free: 204 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.168e-05/0.005331, allocations: 11.92 kB / 454.2 MB, free: 192 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-06/0.005337, allocations: 4.453 kB / 454.2 MB, free: 188 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.00534, allocations: 5.375 kB / 454.2 MB, free: 184 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-06/0.005344, allocations: 0.5469 kB / 454.2 MB, free: 184 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.005344, allocations: 0 / 454.2 MB, free: 184 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.005346, allocations: 3.938 kB / 454.2 MB, free: 180 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.097e-05/0.005407, allocations: 70.88 kB / 454.3 MB, free: 92 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-06/0.005415, allocations: 3.984 kB / 454.3 MB, free: 88 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.056e-05/0.005426, allocations: 1.594 kB / 454.3 MB, free: 88 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.005441, allocations: 0 / 454.3 MB, free: 88 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.005446, allocations: 8.844 kB / 454.3 MB, free: 80 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.452e-05/0.005461, allocations: 20.83 kB / 454.3 MB, free: 56 kB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005461, allocations: 0 / 454.3 MB, free: 56 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.000113/0.005574, allocations: 16.59 kB / 454.3 MB, free: 40 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.000105/0.005679, allocations: 88.64 kB / 454.4 MB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.005807, allocations: 135.5 kB / 454.6 MB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.005811, allocations: 4.781 kB / 454.6 MB, free: 15.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.985e-05/0.005831, allocations: 17.84 kB / 454.6 MB, free: 15.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001131/0.005944, allocations: 68.81 kB / 454.7 MB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.006317, allocations: 123.3 kB / 454.8 MB, free: 15.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.907e-05/0.006346, allocations: 64.05 kB / 454.8 MB, free: 15.47 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.795e-05/0.006364, allocations: 0 / 454.8 MB, free: 15.47 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.476e-05/0.006429, allocations: 64.03 kB / 454.9 MB, free: 15.41 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.00643, allocations: 0.9062 kB / 454.9 MB, free: 15.41 MB / 442.7 MB Notification: Performance of Templates: time 0.002811/0.00924, allocations: 1.298 MB / 456.2 MB, free: 14.2 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.5343239661306143]