Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.001373/0.001373, allocations: 80.3 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.001602/0.001602, allocations: 161.4 kB / 22.45 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.426/1.426, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.248/1.248, allocations: 154.6 MB / 413.7 MB, free: 5.297 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.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.6185 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.978e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002622/0.002652, allocations: 1.072 MB / 0.6196 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002479/0.005132, allocations: 1.531 MB / 0.6211 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.005321, allocations: 7.938 kB / 0.6211 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.005495, allocations: 35.55 kB / 0.6211 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.005673, allocations: 67.5 kB / 0.6212 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.007014, allocations: 492.3 kB / 0.6216 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006945/0.007709, allocations: 0.5971 MB / 0.6222 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/0.007969, allocations: 100.9 kB / 0.6223 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003674/0.008336, allocations: 331.5 kB / 0.6226 GB, free: 416 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.008612, allocations: 170.3 kB / 0.6228 GB, free: 248 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.008717, allocations: 60 kB / 0.6229 GB, free: 188 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.00886, allocations: 75.92 kB / 0.6229 GB, free: 112 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.399e-05/0.008954, allocations: 83.69 kB / 0.623 GB, free: 28 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.009182, allocations: 175.6 kB / 0.6232 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007519/0.009934, allocations: 0.7051 MB / 0.6239 GB, free: 15.15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.009938, allocations: 0 / 0.6239 GB, free: 15.15 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.009939, allocations: 0 / 0.6239 GB, free: 15.15 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.009946, allocations: 0 / 0.6239 GB, free: 15.15 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001009/0.01095, allocations: 0.6639 MB / 0.6245 GB, free: 14.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.011, allocations: 13.47 kB / 0.6245 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.01112, allocations: 48.69 kB / 0.6246 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009813/0.0121, allocations: 333.2 kB / 0.6249 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/0.01214, allocations: 28.86 kB / 0.6249 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.507e-05/0.01221, allocations: 36.38 kB / 0.625 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.0127, allocations: 385 kB / 0.6253 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.01271, allocations: 192 / 0.6253 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.01274, allocations: 8.375 kB / 0.6253 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.01275, allocations: 8.125 kB / 0.6253 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.01301, allocations: 161.9 kB / 0.6255 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.01438, allocations: 0.6893 MB / 0.6262 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.01476, allocations: 213.1 kB / 0.6264 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.01504, allocations: 192.7 kB / 0.6266 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.01505, allocations: 0 / 0.6266 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004094/0.01546, allocations: 348.1 kB / 0.6269 GB, free: 11.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.462e-06/0.01546, allocations: 0 / 0.6269 GB, free: 11.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.00077/0.01623, allocations: 444.5 kB / 0.6273 GB, free: 11.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.01631, allocations: 106.8 kB / 0.6274 GB, free: 11.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.01667, allocations: 324.3 kB / 0.6277 GB, free: 10.97 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.991e-05/0.01674, allocations: 41.7 kB / 0.6278 GB, free: 10.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.01692, allocations: 184.7 kB / 0.6279 GB, free: 10.74 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.934e-05/0.01698, allocations: 59.52 kB / 0.628 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.01721, allocations: 146 kB / 0.6281 GB, free: 10.53 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.01739, allocations: 350.7 kB / 0.6285 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004669/0.01785, allocations: 335.5 kB / 0.6288 GB, free: 9.828 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000566/0.01842, allocations: 0.4917 MB / 0.6293 GB, free: 9.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006629/0.01908, allocations: 0.5359 MB / 0.6298 GB, free: 8.645 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.01909, allocations: 0 / 0.6298 GB, free: 8.645 MB / 0.545 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001234/0.02032, allocations: 0.8605 MB / 0.6306 GB, free: 7.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.02042, allocations: 126.8 kB / 0.6307 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.02044, allocations: 12.33 kB / 0.6308 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.02046, allocations: 8 kB / 0.6308 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.02067, allocations: 59.86 kB / 0.6308 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.02069, allocations: 7.984 kB / 0.6308 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/0.02136, allocations: 127.6 kB / 0.631 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.02148, allocations: 71.86 kB / 0.631 GB, free: 7.301 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,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.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.000257/0.02173, allocations: 193.6 kB / 0.6312 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.02179, allocations: 35.8 kB / 0.6312 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006394/0.02243, allocations: 368.5 kB / 0.6316 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.02243, allocations: 4 kB / 0.6316 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.02244, allocations: 7.938 kB / 0.6316 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.02245, allocations: 0 / 0.6316 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009183/0.02337, allocations: 0.6672 MB / 0.6323 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.02337, allocations: 0 / 0.6323 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.02349, allocations: 31.98 kB / 0.6323 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.0235, allocations: 4 kB / 0.6323 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.02351, allocations: 11.94 kB / 0.6323 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.02352, allocations: 4 kB / 0.6323 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02352, allocations: 3.938 kB / 0.6323 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.02402, allocations: 428.1 kB / 0.6327 GB, free: 5.496 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.02406, allocations: 31.75 kB / 0.6327 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.0241, allocations: 7.984 kB / 0.6328 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.02422, allocations: 8 kB / 0.6328 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.02429, allocations: 31.89 kB / 0.6328 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.02431, allocations: 12 kB / 0.6328 GB, free: 5.406 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002036/0.02451, allocations: 207.1 kB / 0.633 GB, free: 5.203 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.02451, allocations: 0 / 0.633 GB, free: 5.203 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003951/0.02491, allocations: 91.89 kB / 0.6331 GB, free: 5.113 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 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.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.0001977/0.02511, allocations: 133.2 kB / 0.6332 GB, free: 4.977 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009211/0.02603, allocations: 0.7427 MB / 0.6339 GB, free: 4.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.02603, allocations: 4.812 kB / 0.6339 GB, free: 4.156 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.02623, allocations: 128.3 kB / 0.6341 GB, free: 4.031 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.02676, allocations: 73.05 kB / 0.6341 GB, free: 3.957 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009209/0.02768, allocations: 0.5857 MB / 0.6347 GB, free: 3.344 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.02785, allocations: 174.5 kB / 0.6349 GB, free: 3.156 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001567/0.02801, allocations: 67.23 kB / 0.6349 GB, free: 3.094 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.243e-05/0.02808, allocations: 36.5 kB / 0.635 GB, free: 3.059 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.02808, allocations: 0 / 0.635 GB, free: 3.059 MB / 0.545 GB Notification: Performance of Templates: time 0.01197/0.04005, allocations: 5.881 MB / 0.6407 GB, free: 13.33 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.952529162168503] Failed to read output from testmodel.py, exit status != 0: 0.048734258860349655 0.06333419300000001 0.050242758000000005 Calling exit ...