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.001197/0.001197, allocations: 93.06 kB / 19.65 MB, free: 280 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.001309/0.001309, allocations: 169 kB / 23.02 MB, free: 1.551 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.029/1.029, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.8227/0.8227, allocations: 154.9 MB / 414.8 MB, free: 412 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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 2.264e-06/2.264e-06, allocations: 0 / 0.5207 GB, free: 1.844 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.981e-05, allocations: 3.75 kB / 0.5207 GB, free: 1.84 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00118/0.001199, allocations: 0.6036 MB / 0.5213 GB, free: 1.262 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.002315, allocations: 1.163 MB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.472e-05/0.00236, allocations: 3.938 kB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.002393, allocations: 3.938 kB / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.851e-05/0.002461, allocations: 4 kB / 0.5224 GB, free: 80 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.002896, allocations: 121.1 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.003034, allocations: 95.81 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.609e-05/0.00312, allocations: 3.984 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.503e-05/0.003205, allocations: 53.12 kB / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.451e-05/0.00329, allocations: 23.95 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.003311, allocations: 8 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.65e-05/0.003368, allocations: 20.61 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.003387, allocations: 4 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.768e-05/0.003434, allocations: 29.31 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.003573, allocations: 75.78 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.003576, allocations: 0 / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.61e-07/0.003577, allocations: 0 / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.003581, allocations: 4.531 kB / 0.5228 GB, free: 15.65 MB / 0.4948 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.0003996/0.003981, allocations: 403 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.004016, allocations: 12.03 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.004065, allocations: 6.094 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.741e-05/0.004152, allocations: 120.5 kB / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.004172, allocations: 4.375 kB / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.004186, allocations: 9.344 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.848e-05/0.004274, allocations: 46.95 kB / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.004282, allocations: 192 / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.004291, allocations: 5.344 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.004299, allocations: 384 / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.606e-05/0.004325, allocations: 11.92 kB / 0.5234 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.004646, allocations: 284.4 kB / 0.5237 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.918e-05/0.004695, allocations: 27.78 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.004716, allocations: 15.73 kB / 0.5237 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.004723, allocations: 0.75 kB / 0.5237 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.82e-05/0.004811, allocations: 69.92 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.004812, allocations: 0 / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001646/0.004977, allocations: 69.7 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.00501, allocations: 58.19 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.199e-05/0.005092, allocations: 169.9 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.005108, allocations: 29.7 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.005156, allocations: 138.8 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.388e-06/0.005165, allocations: 7.953 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.005211, allocations: 39.36 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.005321, allocations: 492.1 kB / 0.5247 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.325e-05/0.005384, allocations: 58.89 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.209e-05/0.005456, allocations: 84.75 kB / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.434e-05/0.005531, allocations: 81.31 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.005533, allocations: 4.5 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001789/0.005712, allocations: 185.9 kB / 0.5251 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.005742, allocations: 37.64 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.005746, allocations: 1.344 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.00576, allocations: 4 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.604e-05/0.005806, allocations: 0 / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.005811, allocations: 0 / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.005924, allocations: 29.47 kB / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.005938, allocations: 4 kB / 0.5252 GB, free: 12.93 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 7.234e-05/0.006011, allocations: 158.5 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.00602, allocations: 8 kB / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.006043, allocations: 11.92 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006045, allocations: 0 / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.006049, allocations: 0 / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.006052, allocations: 5 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.923e-05/0.006121, allocations: 124.6 kB / 0.5255 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.006122, allocations: 0 / 0.5255 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.188e-05/0.006134, allocations: 9.031 kB / 0.5255 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-06/0.006135, allocations: 3.938 kB / 0.5255 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.006142, allocations: 0 / 0.5255 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.006143, allocations: 6.688 kB / 0.5255 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006144, allocations: 0 / 0.5255 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.247e-05/0.006227, allocations: 96.42 kB / 0.5256 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-06/0.006232, allocations: 0 / 0.5256 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.00624, allocations: 0 / 0.5256 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-06/0.00625, allocations: 7.938 kB / 0.5256 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.006275, allocations: 3.984 kB / 0.5256 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.006279, allocations: 2.562 kB / 0.5256 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.657e-05/0.006316, allocations: 131.2 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.006316, allocations: 0 / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004326/0.006748, allocations: 23.89 kB / 0.5258 GB, free: 12.29 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 9.841e-05/0.006847, allocations: 103.2 kB / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001644/0.007011, allocations: 141.3 kB / 0.526 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.007012, allocations: 1.125 kB / 0.526 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.476e-05/0.007037, allocations: 23.62 kB / 0.526 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.00719, allocations: 12.64 kB / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002292/0.007419, allocations: 129.6 kB / 0.5262 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.077e-05/0.00745, allocations: 55.36 kB / 0.5262 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.725e-05/0.007467, allocations: 3.984 kB / 0.5262 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.681e-05/0.007484, allocations: 12.5 kB / 0.5262 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.007484, allocations: 0 / 0.5262 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.003112/0.0106, allocations: 1.294 MB / 0.5275 GB, free: 10.52 MB / 0.4948 GB " [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.7005709116347134]