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.0009259/0.0009259, 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.0008986/0.0008986, allocations: 169.3 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.129/1.129, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.8644/0.8644, allocations: 154.8 MB / 414.7 MB, free: 500 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 3.637e-06/3.637e-06, allocations: 0.5469 kB / 0.5205 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.851e-05/4.215e-05, allocations: 2.312 kB / 0.5205 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002125/0.002168, allocations: 0.5999 MB / 0.5211 GB, free: 296 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.003851, allocations: 1.158 MB / 0.5222 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.418e-05/0.003905, allocations: 0 / 0.5222 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 4.094e-05/0.003946, allocations: 8.375 kB / 0.5223 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.758e-05/0.004033, allocations: 9.203 kB / 0.5223 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005576/0.004591, allocations: 120.2 kB / 0.5224 GB, free: 14.99 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.004768, allocations: 91.83 kB / 0.5225 GB, free: 14.9 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.004877, allocations: 1.812 kB / 0.5225 GB, free: 14.9 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.004988, allocations: 59.88 kB / 0.5225 GB, free: 14.84 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.005094, allocations: 19.97 kB / 0.5225 GB, free: 14.82 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.005121, allocations: 8 kB / 0.5226 GB, free: 14.81 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.757e-05/0.005199, allocations: 27.92 kB / 0.5226 GB, free: 14.79 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.005224, allocations: 5.703 kB / 0.5226 GB, free: 14.78 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.094e-05/0.005285, allocations: 27.92 kB / 0.5226 GB, free: 14.75 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.005478, allocations: 71.83 kB / 0.5227 GB, free: 14.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.005481, allocations: 0 / 0.5227 GB, free: 14.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.005483, allocations: 5.375 kB / 0.5227 GB, free: 14.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.005489, allocations: 0 / 0.5227 GB, free: 14.68 MB / 458.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.0005302/0.006019, allocations: 402.3 kB / 0.5231 GB, free: 14.24 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.006071, allocations: 8.031 kB / 0.5231 GB, free: 14.23 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.54e-05/0.006137, allocations: 5.469 kB / 0.5231 GB, free: 14.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.006255, allocations: 121.3 kB / 0.5232 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.006282, allocations: 4.375 kB / 0.5232 GB, free: 14.08 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.006306, allocations: 9.781 kB / 0.5232 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.006421, allocations: 46.95 kB / 0.5233 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.006433, allocations: 192 / 0.5233 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.006444, allocations: 384 / 0.5233 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.006454, allocations: 384 / 0.5233 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.79e-05/0.006491, allocations: 13.28 kB / 0.5233 GB, free: 14.01 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006018/0.007093, allocations: 279.8 kB / 0.5235 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.349e-05/0.007167, allocations: 38.47 kB / 0.5236 GB, free: 13.65 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.454e-05/0.007191, allocations: 11.75 kB / 0.5236 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.425e-06/0.0072, allocations: 0 / 0.5236 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.007324, allocations: 69.03 kB / 0.5237 GB, free: 13.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.007325, allocations: 0 / 0.5237 GB, free: 13.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002293/0.007555, allocations: 73.5 kB / 0.5237 GB, free: 13.48 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.007596, allocations: 55.41 kB / 0.5238 GB, free: 13.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.007714, allocations: 177.8 kB / 0.5239 GB, free: 13.22 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.007735, allocations: 25.7 kB / 0.524 GB, free: 13.19 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.007799, allocations: 131.4 kB / 0.5241 GB, free: 13.05 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.007812, allocations: 7.953 kB / 0.5241 GB, free: 13.05 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.426e-05/0.007876, allocations: 39.92 kB / 0.5241 GB, free: 13 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.008022, allocations: 497.1 kB / 0.5246 GB, free: 12.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.96e-05/0.008111, allocations: 53.69 kB / 0.5247 GB, free: 12.45 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.416e-05/0.008206, allocations: 88.73 kB / 0.5247 GB, free: 12.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.008312, allocations: 90.22 kB / 0.5248 GB, free: 12.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.008315, allocations: 0 / 0.5248 GB, free: 12.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002547/0.00857, allocations: 177.8 kB / 0.525 GB, free: 12.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.008617, allocations: 45.62 kB / 0.525 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.008623, allocations: 0.9062 kB / 0.525 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.008643, allocations: 4.234 kB / 0.5251 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.647e-05/0.008709, allocations: 1.656 kB / 0.5251 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.008716, allocations: 0 / 0.5251 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.008864, allocations: 19.98 kB / 0.5251 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.008885, allocations: 8.734 kB / 0.5251 GB, free: 11.96 MB / 458.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 9.775e-05/0.008983, allocations: 165.7 kB / 0.5252 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.009, allocations: 7.984 kB / 0.5252 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.009036, allocations: 7.938 kB / 0.5253 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.009039, allocations: 0 / 0.5253 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.009044, allocations: 6.406 kB / 0.5253 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.00905, allocations: 3.984 kB / 0.5253 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.009151, allocations: 112.6 kB / 0.5254 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.009153, allocations: 0 / 0.5254 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.368e-05/0.009177, allocations: 7.984 kB / 0.5254 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.00918, allocations: 0 / 0.5254 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.009189, allocations: 6.688 kB / 0.5254 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.009192, allocations: 3.938 kB / 0.5254 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.009194, allocations: 0 / 0.5254 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.009331, allocations: 96.39 kB / 0.5255 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.009341, allocations: 3.984 kB / 0.5255 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.009355, allocations: 4 kB / 0.5255 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.883e-05/0.009374, allocations: 3.938 kB / 0.5255 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.009408, allocations: 3.938 kB / 0.5255 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.009415, allocations: 5.25 kB / 0.5255 GB, free: 11.46 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.318e-05/0.009478, allocations: 131.2 kB / 0.5256 GB, free: 11.34 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009478, allocations: 0 / 0.5256 GB, free: 11.34 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002132/0.009691, allocations: 16.94 kB / 0.5256 GB, free: 11.32 MB / 458.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.0001655/0.009857, allocations: 104.1 kB / 0.5257 GB, free: 11.21 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.01008, allocations: 144.8 kB / 0.5259 GB, free: 11.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01008, allocations: 0.6562 kB / 0.5259 GB, free: 11.05 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.965e-05/0.01011, allocations: 24.7 kB / 0.5259 GB, free: 11.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.01034, allocations: 12 kB / 0.5259 GB, free: 11.01 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.01069, allocations: 140.4 kB / 0.526 GB, free: 10.85 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.938e-05/0.01073, allocations: 55.36 kB / 0.5261 GB, free: 10.77 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.762e-05/0.01076, allocations: 4 kB / 0.5261 GB, free: 10.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.01078, allocations: 8.5 kB / 0.5261 GB, free: 10.76 MB / 458.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01078, allocations: 0 / 0.5261 GB, free: 10.76 MB / 458.7 MB Notification: Performance of Templates: time 0.004897/0.01568, allocations: 1.193 MB / 0.5273 GB, free: 9.656 MB / 458.7 MB " [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.969660086557269]