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.001319/0.001319, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.001427/0.001427, allocations: 164.2 kB / 22.46 MB, free: 5.375 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.42/1.42, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.176/1.176, allocations: 154.6 MB / 413.8 MB, free: 5.211 MB / 382.1 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. " [Timeout remaining time 178] 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 1.623e-06/1.623e-06, allocations: 0 / 0.6185 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.542e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001802/0.001827, allocations: 0.5864 MB / 0.6191 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.003673, allocations: 1.125 MB / 0.6202 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.187e-05/0.003715, allocations: 0.5 kB / 0.6202 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.003742, allocations: 5.031 kB / 0.6202 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.183e-05/0.003804, allocations: 11.92 kB / 0.6202 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005591/0.004363, allocations: 123.4 kB / 0.6203 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.004524, allocations: 91.81 kB / 0.6204 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.131e-05/0.004605, allocations: 13.62 kB / 0.6204 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.00471, allocations: 47.97 kB / 0.6205 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.96e-05/0.0048, allocations: 31.88 kB / 0.6205 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.004825, allocations: 8 kB / 0.6205 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.004991, allocations: 15.94 kB / 0.6205 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.005013, allocations: 15.98 kB / 0.6206 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.005065, allocations: 19.98 kB / 0.6206 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.005243, allocations: 103.8 kB / 0.6207 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.005245, allocations: 0 / 0.6207 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.41e-07/0.005246, allocations: 0 / 0.6207 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.005254, allocations: 0 / 0.6207 GB, free: 2.422 MB / 0.5294 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.0005328/0.005787, allocations: 307.9 kB / 0.621 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.005821, allocations: 13.47 kB / 0.621 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.00587, allocations: 4.938 kB / 0.621 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.00597, allocations: 109.8 kB / 0.6211 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.005998, allocations: 12.38 kB / 0.6211 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.006021, allocations: 8.375 kB / 0.6211 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.32e-05/0.006115, allocations: 42.23 kB / 0.6212 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.006122, allocations: 192 / 0.6212 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.006133, allocations: 4.375 kB / 0.6212 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.006137, allocations: 384 / 0.6212 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.914e-05/0.006177, allocations: 11.88 kB / 0.6212 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.006613, allocations: 228.5 kB / 0.6214 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.506e-05/0.006688, allocations: 30.58 kB / 0.6214 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.006715, allocations: 16.92 kB / 0.6214 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-06/0.006724, allocations: 4 kB / 0.6214 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.006851, allocations: 63.33 kB / 0.6215 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.006852, allocations: 0 / 0.6215 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002029/0.007055, allocations: 73.61 kB / 0.6216 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.007102, allocations: 55.41 kB / 0.6216 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.358e-05/0.007196, allocations: 113.7 kB / 0.6217 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.007225, allocations: 29.7 kB / 0.6218 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.007396, allocations: 84.14 kB / 0.6218 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.007409, allocations: 11.94 kB / 0.6219 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.036e-05/0.00748, allocations: 29.7 kB / 0.6219 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.00763, allocations: 318.8 kB / 0.6222 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.007826, allocations: 69.62 kB / 0.6223 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.007939, allocations: 80.25 kB / 0.6223 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.008066, allocations: 84.27 kB / 0.6224 GB, free: 452 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.008067, allocations: 0 / 0.6224 GB, free: 452 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002977/0.008365, allocations: 177 kB / 0.6226 GB, free: 256 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.569e-05/0.008411, allocations: 41.62 kB / 0.6226 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.008417, allocations: 7.938 kB / 0.6226 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.008431, allocations: 0 / 0.6226 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.963e-05/0.008491, allocations: 12 kB / 0.6226 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.008496, allocations: 0 / 0.6226 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.008707, allocations: 31.86 kB / 0.6227 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.008727, allocations: 4 kB / 0.6227 GB, free: 152 kB / 0.5294 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.0001028/0.008829, allocations: 118.8 kB / 0.6228 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.008839, allocations: 4 kB / 0.6228 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.008866, allocations: 7.938 kB / 0.6228 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.008867, allocations: 0 / 0.6228 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.00887, allocations: 8.047 kB / 0.6228 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.008873, allocations: 0 / 0.6228 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.00898, allocations: 105.3 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.008983, allocations: 4 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.723e-05/0.009, allocations: 4 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.009002, allocations: 0 / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.009009, allocations: 0 / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.009013, allocations: 3.938 kB / 0.6229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.009016, allocations: 4 kB / 0.6229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.009151, allocations: 93.23 kB / 0.623 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-06/0.00916, allocations: 4 kB / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.009173, allocations: 4.047 kB / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.815e-05/0.009191, allocations: 7.922 kB / 0.623 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.009223, allocations: 7.922 kB / 0.623 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.009229, allocations: 4 kB / 0.623 GB, free: 15.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.983e-05/0.009279, allocations: 83.28 kB / 0.6231 GB, free: 15.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.009279, allocations: 0 / 0.6231 GB, free: 15.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002133/0.009492, allocations: 16 kB / 0.6231 GB, free: 15.61 MB / 0.545 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.0001749/0.009667, allocations: 103.2 kB / 0.6232 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.009917, allocations: 141.1 kB / 0.6234 GB, free: 15.35 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009918, allocations: 4.062 kB / 0.6234 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.6e-05/0.009954, allocations: 15.98 kB / 0.6234 GB, free: 15.33 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.01017, allocations: 6.5 kB / 0.6234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.01051, allocations: 136.6 kB / 0.6235 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.039e-05/0.01057, allocations: 67.28 kB / 0.6236 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.019e-05/0.01059, allocations: 3.906 kB / 0.6236 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.01061, allocations: 12.5 kB / 0.6236 GB, free: 15.06 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.01061, allocations: 4 kB / 0.6236 GB, free: 15.06 MB / 0.545 GB Notification: Performance of Templates: time 0.004215/0.01483, allocations: 1.174 MB / 0.6247 GB, free: 13.93 MB / 0.545 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.595286797732115] Failed to read output from testmodel.py, exit status != 0: 0.02368699014186859 0.039366147000000004 0.030833823000000003 Calling exit ...