Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.0007994/0.0007994, allocations: 80.48 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.0006943/0.0006943, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8481/0.8481, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.6893/0.6893, allocations: 154.6 MB / 414.5 MB, free: 0.832 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.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.176e-06/3.176e-06, allocations: 0 / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.793e-05, allocations: 5.344 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001459/0.001487, allocations: 0.938 MB / 0.6202 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.002842, allocations: 1.373 MB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.079e-05/0.002923, allocations: 4 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.003027, allocations: 19.73 kB / 0.6216 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.362e-05/0.003111, allocations: 47.66 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.003738, allocations: 274 kB / 0.6219 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.004089, allocations: 383.2 kB / 0.6222 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.004227, allocations: 41.78 kB / 0.6223 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.004449, allocations: 223.6 kB / 0.6225 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.004585, allocations: 109.6 kB / 0.6226 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.004627, allocations: 40 kB / 0.6226 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.998e-05/0.004717, allocations: 44 kB / 0.6227 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.79e-05/0.004785, allocations: 67.75 kB / 0.6227 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.682e-05/0.004881, allocations: 95.8 kB / 0.6228 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.005227, allocations: 446.6 kB / 0.6232 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.00523, allocations: 0 / 0.6232 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.582e-06/0.005231, allocations: 0 / 0.6232 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.005237, allocations: 0 / 0.6232 GB, free: 9.152 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006749/0.005912, allocations: 0.5394 MB / 0.6238 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.005948, allocations: 17.45 kB / 0.6238 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002411/0.006189, allocations: 80.7 kB / 0.6239 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004962/0.006685, allocations: 300.8 kB / 0.6241 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.006707, allocations: 24.36 kB / 0.6242 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.006736, allocations: 24.31 kB / 0.6242 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.007011, allocations: 194.4 kB / 0.6244 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.007021, allocations: 8.125 kB / 0.6244 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.007034, allocations: 384 / 0.6244 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.007041, allocations: 12.11 kB / 0.6244 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.007274, allocations: 139.8 kB / 0.6245 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006393/0.007913, allocations: 0.782 MB / 0.6253 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.008086, allocations: 153 kB / 0.6254 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.008193, allocations: 76.3 kB / 0.6255 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.008206, allocations: 4 kB / 0.6255 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.008464, allocations: 175.4 kB / 0.6257 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.008465, allocations: 0 / 0.6257 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0004628/0.008927, allocations: 253.6 kB / 0.6259 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.008988, allocations: 170.1 kB / 0.6261 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.009129, allocations: 217.7 kB / 0.6263 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.009154, allocations: 37.7 kB / 0.6263 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.66e-05/0.009231, allocations: 152.4 kB / 0.6265 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.009255, allocations: 27.75 kB / 0.6265 GB, free: 5.52 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.946e-05/0.009325, allocations: 53.69 kB / 0.6266 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.034e-05/0.009405, allocations: 330.8 kB / 0.6269 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.0096, allocations: 167.4 kB / 0.627 GB, free: 4.953 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.009822, allocations: 290.3 kB / 0.6273 GB, free: 4.613 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.01011, allocations: 270.9 kB / 0.6276 GB, free: 4.309 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01011, allocations: 0 / 0.6276 GB, free: 4.309 MB / 0.5886 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004739/0.01059, allocations: 455.9 kB / 0.628 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.01063, allocations: 63.39 kB / 0.6281 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01063, allocations: 7.938 kB / 0.6281 GB, free: 3.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.01065, allocations: 0 / 0.6281 GB, free: 3.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.987e-05/0.01075, allocations: 36.12 kB / 0.6281 GB, free: 3.715 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.01075, allocations: 0 / 0.6281 GB, free: 3.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.01094, allocations: 75.81 kB / 0.6282 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.01096, allocations: 15.98 kB / 0.6282 GB, free: 3.625 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0001015/0.01106, allocations: 154.8 kB / 0.6283 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.01108, allocations: 23.8 kB / 0.6284 GB, free: 3.441 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.01112, allocations: 25.33 kB / 0.6284 GB, free: 3.414 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.01112, allocations: 0 / 0.6284 GB, free: 3.414 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01113, allocations: 4 kB / 0.6284 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01113, allocations: 480 / 0.6284 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.01126, allocations: 177.2 kB / 0.6286 GB, free: 3.207 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01126, allocations: 3.938 kB / 0.6286 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-05/0.01132, allocations: 23.97 kB / 0.6286 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01132, allocations: 8 kB / 0.6286 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.01133, allocations: 7.938 kB / 0.6286 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.01133, allocations: 7.938 kB / 0.6286 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01133, allocations: 0 / 0.6286 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.01162, allocations: 240.2 kB / 0.6288 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.985e-05/0.01164, allocations: 19.83 kB / 0.6289 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.01166, allocations: 11.94 kB / 0.6289 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.665e-05/0.01171, allocations: 11.98 kB / 0.6289 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.01176, allocations: 23.91 kB / 0.6289 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.01177, allocations: 8 kB / 0.6289 GB, free: 2.816 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.566e-05/0.01186, allocations: 161.2 kB / 0.6291 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.01186, allocations: 0 / 0.6291 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001961/0.01205, allocations: 51.89 kB / 0.6291 GB, free: 2.609 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001307/0.01218, allocations: 118.7 kB / 0.6292 GB, free: 2.484 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004296/0.01261, allocations: 373.9 kB / 0.6296 GB, free: 2.082 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01261, allocations: 0 / 0.6296 GB, free: 2.082 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.01276, allocations: 84.3 kB / 0.6297 GB, free: 2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.01298, allocations: 55.16 kB / 0.6297 GB, free: 1.949 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/0.01345, allocations: 416 kB / 0.6301 GB, free: 1.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.429e-05/0.01353, allocations: 136.8 kB / 0.6302 GB, free: 1.348 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.01357, allocations: 20.5 kB / 0.6303 GB, free: 1.328 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.01357, allocations: 0 / 0.6303 GB, free: 1.328 MB / 0.5886 GB Notification: Performance of Templates: time 0.003566/0.01714, allocations: 3.146 MB / 0.6333 GB, free: 14.23 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.295060321688652] Failed to read output from testmodel.py, exit status != 0: 0.021840411238372326 0.029316895000000003 0.022520327 Calling exit ...