Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007163/0.0007163, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008997/0.001616, 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.001102/0.001102, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001239/0.002342, 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.091/1.091, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09924/1.19, allocations: 53.66 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/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8117/0.8117, allocations: 154.6 MB / 398.5 MB, free: 0.5312 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.2624/1.074, allocations: 49.04 MB / 447.6 MB, free: 6.707 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/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_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_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0.6562 kB / 448.8 MB, free: 5.461 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.879e-05, allocations: 7.375 kB / 448.8 MB, free: 5.457 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00185/0.001879, allocations: 0.6354 MB / 449.5 MB, free: 4.859 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.003312, allocations: 1.165 MB / 450.6 MB, free: 3.688 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.773e-05/0.003349, allocations: 1.156 kB / 450.6 MB, free: 3.688 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.003376, allocations: 12.91 kB / 450.7 MB, free: 3.676 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.552e-05/0.003422, allocations: 2.188 kB / 450.7 MB, free: 3.676 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.003772, allocations: 124.8 kB / 450.8 MB, free: 3.555 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.003946, allocations: 88.84 kB / 450.9 MB, free: 3.473 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.142e-05/0.004017, allocations: 0 / 450.9 MB, free: 3.473 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.004131, allocations: 67.72 kB / 450.9 MB, free: 3.414 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.013e-05/0.004221, allocations: 20.95 kB / 450.9 MB, free: 3.395 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.004245, allocations: 8.547 kB / 451 MB, free: 3.387 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.869e-05/0.004324, allocations: 23.98 kB / 451 MB, free: 3.363 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.004342, allocations: 1.75 kB / 451 MB, free: 3.363 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.004383, allocations: 23.14 kB / 451 MB, free: 3.344 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.004533, allocations: 61.78 kB / 451.1 MB, free: 3.285 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.53e-05/0.004548, allocations: 0 / 451.1 MB, free: 3.285 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.093e-06/0.004549, allocations: 0 / 451.1 MB, free: 3.285 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.004565, allocations: 0.6562 kB / 451.1 MB, free: 3.285 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.0003597/0.004925, allocations: 285.2 kB / 451.3 MB, free: 2.977 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.004956, allocations: 12.03 kB / 451.4 MB, free: 2.965 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.004989, allocations: 9.734 kB / 451.4 MB, free: 2.957 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.515e-05/0.005064, allocations: 109.8 kB / 451.5 MB, free: 2.824 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.005081, allocations: 1.359 kB / 451.5 MB, free: 2.824 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.005093, allocations: 8.938 kB / 451.5 MB, free: 2.816 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.017e-05/0.005164, allocations: 53.41 kB / 451.5 MB, free: 2.758 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.00517, allocations: 192 / 451.5 MB, free: 2.758 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.005176, allocations: 384 / 451.5 MB, free: 2.758 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.005181, allocations: 2.312 kB / 451.5 MB, free: 2.758 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.993e-05/0.005201, allocations: 15.86 kB / 451.6 MB, free: 2.742 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.005397, allocations: 148.3 kB / 451.7 MB, free: 2.582 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.002e-05/0.005437, allocations: 26.61 kB / 451.7 MB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.247e-05/0.005449, allocations: 10.03 kB / 451.7 MB, free: 2.535 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-06/0.005455, allocations: 0.625 kB / 451.7 MB, free: 2.535 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.483e-05/0.005539, allocations: 68.3 kB / 451.8 MB, free: 2.457 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.00554, allocations: 1.312 kB / 451.8 MB, free: 2.457 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001013/0.005642, allocations: 49.62 kB / 451.9 MB, free: 2.402 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.005672, allocations: 60.7 kB / 451.9 MB, free: 2.332 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.883e-05/0.005731, allocations: 123.1 kB / 452 MB, free: 2.199 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.005745, allocations: 25.7 kB / 452.1 MB, free: 2.168 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.124e-05/0.005777, allocations: 84.98 kB / 452.1 MB, free: 2.082 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.806e-06/0.005785, allocations: 11.94 kB / 452.2 MB, free: 2.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.005826, allocations: 26.8 kB / 452.2 MB, free: 2.039 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.521e-05/0.005901, allocations: 322.8 kB / 452.5 MB, free: 1.715 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.311e-05/0.005944, allocations: 45.69 kB / 452.5 MB, free: 1.664 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.521e-05/0.005989, allocations: 72.83 kB / 452.6 MB, free: 1.578 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.964e-05/0.006049, allocations: 82.92 kB / 452.7 MB, free: 1.484 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.006051, allocations: 0 / 452.7 MB, free: 1.484 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001063/0.006158, allocations: 149.7 kB / 452.8 MB, free: 1.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.006194, allocations: 37.69 kB / 452.9 MB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.006198, allocations: 0 / 452.9 MB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.006208, allocations: 5.719 kB / 452.9 MB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.2e-05/0.00625, allocations: 7.938 kB / 452.9 MB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-06/0.006252, allocations: 0 / 452.9 MB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.006352, allocations: 22.12 kB / 452.9 MB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.006365, allocations: 11.98 kB / 452.9 MB, free: 1.234 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 5.337e-05/0.006419, allocations: 110.9 kB / 453 MB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-06/0.006424, allocations: 0 / 453 MB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.006446, allocations: 16.61 kB / 453 MB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.006448, allocations: 3.938 kB / 453 MB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.006449, allocations: 0.625 kB / 453 MB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.006453, allocations: 2.031 kB / 453 MB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.116e-05/0.006514, allocations: 66.53 kB / 453.1 MB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.006515, allocations: 0.625 kB / 453.1 MB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.128e-05/0.006526, allocations: 3.984 kB / 453.1 MB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-06/0.006532, allocations: 8.578 kB / 453.1 MB, free: 1.004 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.006534, allocations: 0 / 453.1 MB, free: 1.004 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-06/0.006537, allocations: 0.625 kB / 453.1 MB, free: 1.004 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.006537, allocations: 0.7188 kB / 453.1 MB, free: 1.004 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.006539, allocations: 3.938 kB / 453.1 MB, free: 1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.692e-05/0.006596, allocations: 76.44 kB / 453.2 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.875e-06/0.006604, allocations: 5.188 kB / 453.2 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.116e-05/0.006615, allocations: 8.75 kB / 453.2 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.006631, allocations: 0 / 453.2 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.006634, allocations: 5.125 kB / 453.2 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.321e-05/0.006647, allocations: 12.84 kB / 453.2 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006648, allocations: 0 / 453.2 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000107/0.006754, allocations: 16.91 kB / 453.3 MB, free: 0.8633 MB / 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.0001063/0.006861, allocations: 85.11 kB / 453.3 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.006984, allocations: 142.5 kB / 453.5 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.006987, allocations: 0 / 453.5 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.473e-05/0.007002, allocations: 15.05 kB / 453.5 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.668e-05/0.007099, allocations: 11.98 kB / 453.5 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.007469, allocations: 128.1 kB / 453.6 MB, free: 452 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.758e-05/0.007497, allocations: 60.5 kB / 453.7 MB, free: 372 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.809e-05/0.007515, allocations: 4 kB / 453.7 MB, free: 368 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.007577, allocations: 64.42 kB / 453.8 MB, free: 304 kB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.007578, allocations: 3.938 kB / 453.8 MB, free: 300 kB / 426.7 MB Notification: Performance of Templates: time 0.002623/0.0102, allocations: 1.327 MB / 455.1 MB, free: 15.05 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9031261885538697]