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.0007056/0.0007056, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007199/0.0007199, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8163/0.8163, allocations: 177.1 MB / 203.5 MB, free: 5.711 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-531:190: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-531:198: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.6655/0.6655, allocations: 154.5 MB / 414.5 MB, free: 0.8438 MB / 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 3.357e-06/3.357e-06, allocations: 0 / 0.6193 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.497e-05/3.832e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002591/0.002629, allocations: 0.9608 MB / 0.6202 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.00391, allocations: 1.501 MB / 0.6217 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.003959, allocations: 8 kB / 0.6217 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 6.674e-05/0.004026, allocations: 23.67 kB / 0.6217 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.47e-05/0.00408, allocations: 51.53 kB / 0.6218 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.004673, allocations: 468.4 kB / 0.6222 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.005021, allocations: 0.5114 MB / 0.6227 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.005161, allocations: 92.03 kB / 0.6228 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.005355, allocations: 295.6 kB / 0.6231 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.005496, allocations: 151.6 kB / 0.6232 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.208e-05/0.005538, allocations: 48 kB / 0.6233 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.441e-05/0.005603, allocations: 63.98 kB / 0.6233 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.947e-05/0.005652, allocations: 67.75 kB / 0.6234 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.00576, allocations: 151.7 kB / 0.6235 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.006135, allocations: 0.5805 MB / 0.6241 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.006138, allocations: 0 / 0.6241 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.62e-07/0.006139, allocations: 0 / 0.6241 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.006143, allocations: 4 kB / 0.6241 GB, free: 8.305 MB / 0.5886 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.0004795/0.006622, allocations: 0.6173 MB / 0.6247 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.319e-05/0.006645, allocations: 13.45 kB / 0.6247 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/0.006704, allocations: 44.69 kB / 0.6248 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.007153, allocations: 289.7 kB / 0.6251 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.007172, allocations: 20.75 kB / 0.6251 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.007208, allocations: 36.36 kB / 0.6251 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.007497, allocations: 361.6 kB / 0.6255 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.007504, allocations: 8.125 kB / 0.6255 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.007517, allocations: 8.375 kB / 0.6255 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.007522, allocations: 8.125 kB / 0.6255 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.007656, allocations: 151 kB / 0.6256 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006809/0.008337, allocations: 0.6131 MB / 0.6262 GB, free: 6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.0085, allocations: 177.2 kB / 0.6264 GB, free: 5.82 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.008664, allocations: 200.6 kB / 0.6266 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.008671, allocations: 4 kB / 0.6266 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.008892, allocations: 352.6 kB / 0.6269 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=28): time 1.052e-06/0.008893, allocations: 0 / 0.6269 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of matching and sorting (n=28): time 0.0004129/0.009306, allocations: 423.9 kB / 0.6273 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.009347, allocations: 110.8 kB / 0.6274 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.009514, allocations: 285.6 kB / 0.6277 GB, free: 4.391 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.00955, allocations: 45.64 kB / 0.6277 GB, free: 4.34 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.892e-05/0.009639, allocations: 156.9 kB / 0.6279 GB, free: 4.184 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.009671, allocations: 59.52 kB / 0.628 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.009808, allocations: 149.6 kB / 0.6281 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.883e-05/0.009887, allocations: 338.8 kB / 0.6284 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.01018, allocations: 323.5 kB / 0.6287 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.01049, allocations: 498.5 kB / 0.6292 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.01093, allocations: 0.5242 MB / 0.6297 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01093, allocations: 0 / 0.6297 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006975/0.01163, allocations: 0.8566 MB / 0.6305 GB, free: 1.219 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.725e-05/0.01167, allocations: 122.8 kB / 0.6307 GB, free: 1.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.01168, allocations: 4 kB / 0.6307 GB, free: 1.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.01169, allocations: 4 kB / 0.6307 GB, free: 1.066 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.435e-05/0.01173, allocations: 23.92 kB / 0.6307 GB, free: 1.043 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.01174, allocations: 15.92 kB / 0.6307 GB, free: 1.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.01203, allocations: 131.9 kB / 0.6308 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/0.01209, allocations: 63.92 kB / 0.6309 GB, free: 0.8359 MB / 0.5886 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,conInt.y,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo1.u[4],extIndBoo2.u[4],extIndBoo3.u[4],extIndBoo4.u[4],extIndBoo1.u[1],extIndBoo2.u[1],extIndBoo3.u[1],extIndBoo4.u[1],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]) * 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.0002459/0.01233, allocations: 189.6 kB / 0.6311 GB, free: 0.6445 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.01236, allocations: 35.75 kB / 0.6311 GB, free: 0.6094 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.01266, allocations: 349 kB / 0.6314 GB, free: 272 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01266, allocations: 4 kB / 0.6314 GB, free: 268 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.01267, allocations: 3.984 kB / 0.6315 GB, free: 264 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01267, allocations: 0 / 0.6315 GB, free: 264 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/0.01315, allocations: 0.6438 MB / 0.6321 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.01315, allocations: 0 / 0.6321 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.01319, allocations: 19.94 kB / 0.6321 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01319, allocations: 4 kB / 0.6321 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.0132, allocations: 11.92 kB / 0.6321 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.0132, allocations: 4 kB / 0.6321 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.0132, allocations: 0 / 0.6321 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.01346, allocations: 416.1 kB / 0.6325 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.01348, allocations: 27.75 kB / 0.6325 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.01349, allocations: 11.98 kB / 0.6326 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.012e-05/0.01355, allocations: 8 kB / 0.6326 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.01358, allocations: 27.95 kB / 0.6326 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.01359, allocations: 12 kB / 0.6326 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.766e-05/0.01369, allocations: 177.2 kB / 0.6328 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.01369, allocations: 0 / 0.6328 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002286/0.01392, allocations: 91.89 kB / 0.6329 GB, free: 14.77 MB / 0.6042 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 9.953e-05/0.01402, allocations: 121.2 kB / 0.633 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005193/0.01454, allocations: 0.7309 MB / 0.6337 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01454, allocations: 3.938 kB / 0.6337 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.01465, allocations: 128.4 kB / 0.6338 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.01488, allocations: 63.72 kB / 0.6339 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000717/0.0156, allocations: 0.5369 MB / 0.6344 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.15e-05/0.01568, allocations: 156.2 kB / 0.6345 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.01572, allocations: 40.44 kB / 0.6346 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.01572, allocations: 0 / 0.6346 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.003593/0.01931, allocations: 4.435 MB / 0.6389 GB, free: 8.461 MB / 0.6042 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.266870900057256] Failed to read output from testmodel.py, exit status != 0: 0.025477793999016285 0.037340369000000005 0.029318278000000003 Calling exit ...