Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.001512/0.001512, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.001627/0.001627, allocations: 169.7 kB / 23.27 MB, free: 1.227 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.9323/0.9323, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.7242/0.7242, allocations: 154.9 MB / 415.1 MB, free: 236 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.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.554e-06/2.554e-06, allocations: 0 / 0.5211 GB, free: 1.504 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.948e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.5 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.001965/0.001994, allocations: 0.9893 MB / 0.5221 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.003549, allocations: 1.506 MB / 0.5236 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.583e-05/0.003644, allocations: 5.719 kB / 0.5236 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.003774, allocations: 27.61 kB / 0.5236 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.859e-05/0.003853, allocations: 59.5 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007033/0.004556, allocations: 452.6 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006052/0.005161, allocations: 0.5121 MB / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.005339, allocations: 96.14 kB / 0.5247 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000256/0.005595, allocations: 301 kB / 0.525 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.005751, allocations: 144.9 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.82e-05/0.005799, allocations: 36 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.618e-05/0.005885, allocations: 60.91 kB / 0.5252 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.005938, allocations: 55.77 kB / 0.5252 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.739e-05/0.006035, allocations: 134.7 kB / 0.5254 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.0063, allocations: 354.9 kB / 0.5257 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.006302, allocations: 0 / 0.5257 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.61e-07/0.006303, allocations: 0 / 0.5257 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.006307, allocations: 0 / 0.5257 GB, free: 12.82 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0005355/0.006842, allocations: 0.7209 MB / 0.5264 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.006878, allocations: 12.03 kB / 0.5264 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.227e-05/0.006951, allocations: 57.3 kB / 0.5265 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.007169, allocations: 236.7 kB / 0.5267 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.007192, allocations: 24.75 kB / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.007227, allocations: 33.19 kB / 0.5268 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.007422, allocations: 298 kB / 0.5271 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.00743, allocations: 0.7188 kB / 0.5271 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.007444, allocations: 12.38 kB / 0.5271 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.00745, allocations: 5.844 kB / 0.5271 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.158e-05/0.007512, allocations: 63.62 kB / 0.5271 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006099/0.008122, allocations: 0.6177 MB / 0.5277 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.008229, allocations: 104.4 kB / 0.5278 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.008282, allocations: 63.98 kB / 0.5279 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.008291, allocations: 7.953 kB / 0.5279 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.008471, allocations: 310.8 kB / 0.5282 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 1.422e-06/0.008472, allocations: 0.75 kB / 0.5282 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.0002844/0.008757, allocations: 276.2 kB / 0.5285 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.008798, allocations: 120 kB / 0.5286 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.008972, allocations: 324 kB / 0.5289 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.009007, allocations: 37.7 kB / 0.5289 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.633e-05/0.009103, allocations: 216.8 kB / 0.5291 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.009135, allocations: 59.56 kB / 0.5292 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.009261, allocations: 147.2 kB / 0.5293 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.009383, allocations: 0.5234 MB / 0.5298 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.009551, allocations: 238.1 kB / 0.5301 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.009778, allocations: 448.2 kB / 0.5305 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.01005, allocations: 434.8 kB / 0.5309 GB, free: 7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.01005, allocations: 4 kB / 0.5309 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007774/0.01083, allocations: 0.7187 MB / 0.5316 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.411e-05/0.01089, allocations: 131.3 kB / 0.5317 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.0109, allocations: 4 kB / 0.5317 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.01091, allocations: 5.75 kB / 0.5317 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.268e-05/0.01096, allocations: 27.86 kB / 0.5318 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.01097, allocations: 4 kB / 0.5318 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.01123, allocations: 110 kB / 0.5319 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.464e-05/0.01129, allocations: 67.86 kB / 0.5319 GB, free: 5.863 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo.u[1],extIndBoo4.u[1],extIndBoo3.u[1],extIndBoo2.u[1],extIndBoo1.u[1],extIndBoo4.u[4],extIndBoo3.u[4],extIndBoo2.u[4],extIndBoo1.u[4],intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,extIndBoo4.y,extIndBoo4.u[3],extIndBoo4.u[2],extIndBoo3.y,extIndBoo3.u[3],extIndBoo3.u[2],extIndBoo2.y,extIndBoo2.u[3],extIndBoo2.u[2],extIndBoo1.y,extIndBoo1.u[3],extIndBoo1.u[2],extIndBoo.u[3],extIndBoo.u[2],extIndBoo.u[4],con1.y,con.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.000145/0.01144, allocations: 203 kB / 0.5321 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.01147, allocations: 43.75 kB / 0.5322 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.01175, allocations: 261.4 kB / 0.5324 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01175, allocations: 0.9375 kB / 0.5324 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.01175, allocations: 4 kB / 0.5324 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.01176, allocations: 5.547 kB / 0.5324 GB, free: 5.348 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004311/0.01219, allocations: 0.5488 MB / 0.533 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01219, allocations: 0 / 0.533 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/0.01223, allocations: 21.27 kB / 0.533 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.01224, allocations: 7.938 kB / 0.533 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.01225, allocations: 4 kB / 0.533 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01225, allocations: 4.656 kB / 0.533 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01225, allocations: 0 / 0.533 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.01246, allocations: 387.2 kB / 0.5334 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.01248, allocations: 31.75 kB / 0.5334 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.0125, allocations: 8.5 kB / 0.5334 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.445e-05/0.01256, allocations: 8 kB / 0.5334 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.0126, allocations: 24.98 kB / 0.5335 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.01261, allocations: 7.984 kB / 0.5335 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.973e-05/0.01269, allocations: 202.5 kB / 0.5337 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01269, allocations: 0 / 0.5337 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002425/0.01293, allocations: 88 kB / 0.5337 GB, free: 3.973 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: 32 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001322/0.01306, allocations: 130.4 kB / 0.5339 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004005/0.01346, allocations: 0.6239 MB / 0.5345 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01346, allocations: 0.9062 kB / 0.5345 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.979e-05/0.01353, allocations: 95.48 kB / 0.5346 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.01381, allocations: 74.61 kB / 0.5346 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/0.01428, allocations: 462.8 kB / 0.5351 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.107e-05/0.01434, allocations: 85.64 kB / 0.5352 GB, free: 2.398 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.254e-05/0.01441, allocations: 38.95 kB / 0.5352 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.01464, allocations: 193.3 kB / 0.5354 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of SimCode: time 1.122e-06/0.01464, allocations: 4 kB / 0.5354 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of Templates: time 0.007044/0.02168, allocations: 5.719 MB / 0.541 GB, free: 12.73 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5820707557722926]