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.001874/0.001874, allocations: 79.52 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002274/0.002274, allocations: 160.9 kB / 22.46 MB, free: 5.375 MB / 14.72 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.435/1.435, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.249/1.249, allocations: 154.6 MB / 413.7 MB, free: 5.305 MB / 382.1 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 178] 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.605e-06/2.605e-06, allocations: 3.938 kB / 0.6185 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.148e-05/3.408e-05, allocations: 5.422 kB / 0.6185 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002358/0.002392, allocations: 0.9743 MB / 0.6195 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002403/0.004795, allocations: 1.493 MB / 0.6209 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.004944, allocations: 4 kB / 0.6209 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.005094, allocations: 27.67 kB / 0.621 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.005233, allocations: 47.58 kB / 0.621 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.006505, allocations: 467.5 kB / 0.6214 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008171/0.007322, allocations: 0.5191 MB / 0.622 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000285/0.007607, allocations: 88.09 kB / 0.622 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005072/0.008114, allocations: 295.6 kB / 0.6223 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002913/0.008405, allocations: 155.3 kB / 0.6225 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.528e-05/0.008491, allocations: 48 kB / 0.6225 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.008622, allocations: 67.97 kB / 0.6226 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.615e-05/0.008708, allocations: 63.77 kB / 0.6226 GB, free: 468 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.008902, allocations: 147.8 kB / 0.6228 GB, free: 320 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006497/0.009552, allocations: 0.5883 MB / 0.6234 GB, free: 15.72 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.009555, allocations: 0 / 0.6234 GB, free: 15.72 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.92e-07/0.009556, allocations: 0 / 0.6234 GB, free: 15.72 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.009567, allocations: 0 / 0.6234 GB, free: 15.72 MB / 0.545 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.0008867/0.01045, allocations: 0.6251 MB / 0.624 GB, free: 15.03 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.01049, allocations: 9.469 kB / 0.624 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.01059, allocations: 36.8 kB / 0.624 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009181/0.01151, allocations: 309.5 kB / 0.6243 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.01154, allocations: 20.75 kB / 0.6243 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-05/0.01161, allocations: 36.38 kB / 0.6244 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/0.01207, allocations: 361.6 kB / 0.6247 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.01208, allocations: 4.172 kB / 0.6247 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.01211, allocations: 8.375 kB / 0.6247 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.01212, allocations: 8.125 kB / 0.6247 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.01235, allocations: 147 kB / 0.6249 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.0135, allocations: 0.6209 MB / 0.6255 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.01377, allocations: 166.5 kB / 0.6256 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/0.01406, allocations: 200.7 kB / 0.6258 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.01407, allocations: 0 / 0.6258 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003821/0.01445, allocations: 348.4 kB / 0.6262 GB, free: 12.64 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.393e-06/0.01445, allocations: 4 kB / 0.6262 GB, free: 12.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.0007173/0.01517, allocations: 420.6 kB / 0.6266 GB, free: 12.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/0.01525, allocations: 114.8 kB / 0.6267 GB, free: 12.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.01556, allocations: 293.5 kB / 0.6269 GB, free: 11.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.438e-05/0.01562, allocations: 37.7 kB / 0.627 GB, free: 11.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.01578, allocations: 164.8 kB / 0.6271 GB, free: 11.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.019e-05/0.01584, allocations: 59.52 kB / 0.6272 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/0.0161, allocations: 145.6 kB / 0.6273 GB, free: 11.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.01628, allocations: 338.8 kB / 0.6277 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004494/0.01673, allocations: 323.5 kB / 0.628 GB, free: 10.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005768/0.0173, allocations: 498.5 kB / 0.6284 GB, free: 10.13 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007295/0.01803, allocations: 0.5242 MB / 0.629 GB, free: 9.539 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.01804, allocations: 0 / 0.629 GB, free: 9.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001239/0.01928, allocations: 0.8526 MB / 0.6298 GB, free: 8.633 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.01938, allocations: 126.8 kB / 0.6299 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.01939, allocations: 7.984 kB / 0.6299 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.01941, allocations: 4 kB / 0.6299 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.01952, allocations: 24.33 kB / 0.6299 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.01954, allocations: 15.94 kB / 0.63 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006895/0.02023, allocations: 123.6 kB / 0.6301 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.02034, allocations: 71.91 kB / 0.6301 GB, free: 8.242 MB / 0.545 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.0002502/0.02059, allocations: 193.6 kB / 0.6303 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.02064, allocations: 31.8 kB / 0.6304 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005862/0.02123, allocations: 352.4 kB / 0.6307 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.02123, allocations: 8 kB / 0.6307 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.02124, allocations: 0 / 0.6307 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.02124, allocations: 3.938 kB / 0.6307 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008528/0.0221, allocations: 0.6321 MB / 0.6313 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.0221, allocations: 0 / 0.6313 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.08e-05/0.02217, allocations: 19.92 kB / 0.6313 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.02218, allocations: 4 kB / 0.6313 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.02219, allocations: 4 kB / 0.6314 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.0222, allocations: 4 kB / 0.6314 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.0222, allocations: 8 kB / 0.6314 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.0227, allocations: 420.1 kB / 0.6318 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.02274, allocations: 35.73 kB / 0.6318 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.02278, allocations: 8 kB / 0.6318 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.0229, allocations: 11.98 kB / 0.6318 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.02296, allocations: 19.97 kB / 0.6318 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.02298, allocations: 15.92 kB / 0.6319 GB, free: 6.434 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001714/0.02315, allocations: 177.2 kB / 0.632 GB, free: 6.262 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.02315, allocations: 0 / 0.632 GB, free: 6.262 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004122/0.02356, allocations: 95.88 kB / 0.6321 GB, free: 6.168 MB / 0.545 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.0002318/0.02379, allocations: 129.2 kB / 0.6322 GB, free: 6.031 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000988/0.02478, allocations: 0.727 MB / 0.6329 GB, free: 5.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.02478, allocations: 0 / 0.6329 GB, free: 5.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.02497, allocations: 121.2 kB / 0.6331 GB, free: 5.113 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.02545, allocations: 56.47 kB / 0.6331 GB, free: 5.055 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008888/0.02634, allocations: 0.5117 MB / 0.6336 GB, free: 4.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.0265, allocations: 164.1 kB / 0.6338 GB, free: 4.336 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001572/0.02665, allocations: 70.91 kB / 0.6338 GB, free: 4.266 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.02672, allocations: 36.48 kB / 0.6339 GB, free: 4.23 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.02672, allocations: 0 / 0.6339 GB, free: 4.23 MB / 0.545 GB Notification: Performance of Templates: time 0.01031/0.03703, allocations: 5.301 MB / 0.639 GB, free: 15.06 MB / 0.5606 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.969701640307903] Failed to read output from testmodel.py, exit status != 0: 0.045797254890203476 0.059647898000000005 0.04713595 Calling exit ...