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.001023/0.001023, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001064/0.001064, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 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.969/0.969, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.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.7814/0.7814, allocations: 154.6 MB / 414.9 MB, free: 0.6797 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. " [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.645e-06/2.645e-06, allocations: 0 / 0.5203 GB, free: 2.562 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.894e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001633/0.001662, allocations: 0.5906 MB / 0.5209 GB, free: 1.988 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.003227, allocations: 1.16 MB / 0.522 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.00328, allocations: 1.156 kB / 0.522 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.846e-05/0.003319, allocations: 7.922 kB / 0.522 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.977e-05/0.003398, allocations: 3.984 kB / 0.522 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.003892, allocations: 128.7 kB / 0.5221 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.00406, allocations: 84.77 kB / 0.5222 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.726e-05/0.004157, allocations: 4 kB / 0.5222 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.004275, allocations: 55.89 kB / 0.5223 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.004376, allocations: 24.92 kB / 0.5223 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.004403, allocations: 11.94 kB / 0.5223 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.563e-05/0.004469, allocations: 17.73 kB / 0.5223 GB, free: 500 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.004496, allocations: 15.92 kB / 0.5224 GB, free: 484 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.004552, allocations: 19.98 kB / 0.5224 GB, free: 464 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.004728, allocations: 75.83 kB / 0.5224 GB, free: 388 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.004731, allocations: 0 / 0.5224 GB, free: 388 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.004732, allocations: 0.5 kB / 0.5224 GB, free: 388 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.004737, allocations: 1 kB / 0.5224 GB, free: 388 kB / 490.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.0004843/0.005221, allocations: 402.3 kB / 0.5228 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.005265, allocations: 12.03 kB / 0.5228 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.235e-05/0.005327, allocations: 9.75 kB / 0.5229 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.005435, allocations: 116.5 kB / 0.523 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.005465, allocations: 12.92 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.005485, allocations: 4.375 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.005602, allocations: 52.08 kB / 0.523 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.00561, allocations: 192 / 0.523 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.00562, allocations: 384 / 0.523 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.005629, allocations: 1.094 kB / 0.523 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.386e-05/0.005663, allocations: 7.938 kB / 0.523 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.00605, allocations: 285.4 kB / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.974e-05/0.006119, allocations: 31 kB / 0.5233 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.407e-05/0.006143, allocations: 11.75 kB / 0.5234 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.006154, allocations: 5.578 kB / 0.5234 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/0.006264, allocations: 69.05 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.006266, allocations: 0 / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0002128/0.006479, allocations: 73.5 kB / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.006516, allocations: 52.16 kB / 0.5235 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.006618, allocations: 169.9 kB / 0.5237 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.006641, allocations: 34.89 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.006701, allocations: 130.9 kB / 0.5239 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.006715, allocations: 7.953 kB / 0.5239 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/0.006781, allocations: 36.58 kB / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.006934, allocations: 0.4884 MB / 0.5244 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.934e-05/0.007024, allocations: 53.69 kB / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.548e-05/0.007119, allocations: 88.73 kB / 0.5245 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.007223, allocations: 87 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.007226, allocations: 0 / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00027/0.007496, allocations: 177 kB / 0.5248 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/0.007538, allocations: 43.31 kB / 0.5248 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.007544, allocations: 0 / 0.5248 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.00756, allocations: 0 / 0.5248 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.147e-05/0.007621, allocations: 4 kB / 0.5248 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.007628, allocations: 0 / 0.5248 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.007781, allocations: 21.42 kB / 0.5248 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.007799, allocations: 11.98 kB / 0.5248 GB, free: 13.66 MB / 0.4948 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 8.967e-05/0.007888, allocations: 165.6 kB / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.007904, allocations: 8 kB / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.007931, allocations: 7.938 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.007933, allocations: 0.5312 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.007936, allocations: 2.844 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.00794, allocations: 0 / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.487e-05/0.008035, allocations: 124.6 kB / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.008037, allocations: 0 / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-05/0.008056, allocations: 0 / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.008059, allocations: 4 kB / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.008069, allocations: 3.984 kB / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.008074, allocations: 8.391 kB / 0.5252 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.008075, allocations: 3.031 kB / 0.5252 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.008199, allocations: 92.44 kB / 0.5252 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-06/0.008208, allocations: 7.891 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.008222, allocations: 0 / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.761e-05/0.008239, allocations: 7.922 kB / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.008271, allocations: 4 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.008282, allocations: 0 / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.353e-05/0.008336, allocations: 135.2 kB / 0.5254 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.008336, allocations: 5.5 kB / 0.5254 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002192/0.008555, allocations: 15.94 kB / 0.5254 GB, free: 13.01 MB / 0.4948 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.0001343/0.008689, allocations: 99.25 kB / 0.5255 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002203/0.00891, allocations: 145.5 kB / 0.5256 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.008913, allocations: 7.094 kB / 0.5257 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.157e-05/0.008944, allocations: 15.69 kB / 0.5257 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.009152, allocations: 15.25 kB / 0.5257 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.009455, allocations: 130.7 kB / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.776e-05/0.009492, allocations: 59.34 kB / 0.5259 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.264e-05/0.009515, allocations: 0 / 0.5259 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.009537, allocations: 14.94 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of SimCode: time 6.92e-07/0.009538, allocations: 0 / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of Templates: time 0.003389/0.01293, allocations: 1.185 MB / 0.527 GB, free: 11.35 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.75129327387549]