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.00196/0.00196, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002153/0.002153, allocations: 169.6 kB / 22.76 MB, free: 1.664 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 1.657/1.657, allocations: 177.1 MB / 203.1 MB, free: 5.27 MB / 186.7 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-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 1.325/1.325, allocations: 154.6 MB / 414.2 MB, free: 0.5469 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 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 4.048e-06/4.048e-06, allocations: 0 / 0.5196 GB, free: 2.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.812e-05/4.217e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002305/0.002347, allocations: 0.5996 MB / 0.5202 GB, free: 1.938 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.004477, allocations: 1.142 MB / 0.5213 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.974e-05/0.004536, allocations: 0 / 0.5213 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.784e-05/0.004574, allocations: 5.75 kB / 0.5213 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.004682, allocations: 7.969 kB / 0.5213 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005605/0.005243, allocations: 127.6 kB / 0.5214 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.005454, allocations: 85.55 kB / 0.5215 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.005568, allocations: 8 kB / 0.5215 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.005701, allocations: 51.89 kB / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.005816, allocations: 27.95 kB / 0.5216 GB, free: 492 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.005851, allocations: 8 kB / 0.5216 GB, free: 484 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-05/0.005923, allocations: 12.75 kB / 0.5216 GB, free: 472 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.998e-05/0.005953, allocations: 11.97 kB / 0.5216 GB, free: 460 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.319e-05/0.006026, allocations: 29.33 kB / 0.5216 GB, free: 432 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.006283, allocations: 103.7 kB / 0.5217 GB, free: 328 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.006289, allocations: 0 / 0.5217 GB, free: 328 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.00629, allocations: 1.344 kB / 0.5217 GB, free: 328 kB / 490.7 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.006298, allocations: 0 / 0.5217 GB, free: 328 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.0007348/0.007032, allocations: 401.9 kB / 0.5221 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.007083, allocations: 12.03 kB / 0.5221 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.204e-05/0.007155, allocations: 6.531 kB / 0.5221 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.007319, allocations: 116.6 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.007343, allocations: 384 / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.007368, allocations: 4.375 kB / 0.5223 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.007493, allocations: 44.56 kB / 0.5223 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.007503, allocations: 192 / 0.5223 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.007515, allocations: 384 / 0.5223 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.007521, allocations: 8.25 kB / 0.5223 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.875e-05/0.00758, allocations: 15.94 kB / 0.5223 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.008091, allocations: 283.8 kB / 0.5226 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.008203, allocations: 31.62 kB / 0.5226 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.228e-05/0.008245, allocations: 16.31 kB / 0.5226 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.008259, allocations: 0 / 0.5226 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.008419, allocations: 73.84 kB / 0.5227 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.00842, allocations: 0 / 0.5227 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0002879/0.008708, allocations: 78.09 kB / 0.5228 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.00877, allocations: 60.88 kB / 0.5228 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.008935, allocations: 170.1 kB / 0.523 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.008972, allocations: 33.7 kB / 0.523 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.009075, allocations: 130.9 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.009104, allocations: 12.83 kB / 0.5232 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.781e-05/0.009192, allocations: 39.36 kB / 0.5232 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006077/0.0098, allocations: 0.4884 MB / 0.5237 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.009925, allocations: 67.22 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.01009, allocations: 104.8 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.01025, allocations: 101.8 kB / 0.524 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01025, allocations: 0 / 0.524 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000357/0.01061, allocations: 201.6 kB / 0.5241 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.33e-05/0.01068, allocations: 41.62 kB / 0.5242 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.01069, allocations: 5.281 kB / 0.5242 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.01071, allocations: 240 / 0.5242 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.522e-05/0.01078, allocations: 4 kB / 0.5242 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.01079, allocations: 3.25 kB / 0.5242 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.01098, allocations: 15.98 kB / 0.5242 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.01102, allocations: 7.984 kB / 0.5242 GB, free: 13.52 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 0.0001591/0.01118, allocations: 164.6 kB / 0.5244 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.0112, allocations: 7.984 kB / 0.5244 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/0.01123, allocations: 11.94 kB / 0.5244 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01124, allocations: 0 / 0.5244 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.01124, allocations: 3.031 kB / 0.5244 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01125, allocations: 0 / 0.5244 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.0114, allocations: 120.6 kB / 0.5245 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01141, allocations: 3.938 kB / 0.5245 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-05/0.01143, allocations: 11.92 kB / 0.5245 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.01143, allocations: 0 / 0.5245 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.01144, allocations: 0 / 0.5245 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.01145, allocations: 3.938 kB / 0.5245 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01145, allocations: 1.5 kB / 0.5245 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.01161, allocations: 96.39 kB / 0.5246 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.916e-06/0.01162, allocations: 4 kB / 0.5246 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.01164, allocations: 7.984 kB / 0.5246 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.587e-05/0.01165, allocations: 4.438 kB / 0.5246 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.01169, allocations: 6.5 kB / 0.5247 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.0117, allocations: 4 kB / 0.5247 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.882e-05/0.01179, allocations: 135.2 kB / 0.5248 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01179, allocations: 0 / 0.5248 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002136/0.012, allocations: 16 kB / 0.5248 GB, free: 12.87 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.0002115/0.01221, allocations: 105.6 kB / 0.5249 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003261/0.01254, allocations: 172.8 kB / 0.5251 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.01254, allocations: 0 / 0.5251 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.55e-05/0.01261, allocations: 35.59 kB / 0.5251 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.01282, allocations: 7.672 kB / 0.5251 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.01322, allocations: 143.9 kB / 0.5252 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.454e-05/0.0133, allocations: 66.59 kB / 0.5253 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.521e-05/0.01332, allocations: 4 kB / 0.5253 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.01335, allocations: 9.531 kB / 0.5253 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of SimCode: time 3.9e-07/0.01335, allocations: 0 / 0.5253 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of Templates: time 0.005028/0.01838, allocations: 1.181 MB / 0.5265 GB, free: 11.16 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: 6.435993893072009]