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.001494/0.001494, allocations: 83 kB / 19.16 MB, free: 2.535 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.001554/0.001554, allocations: 166.4 kB / 22.43 MB, free: 5.34 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.415/1.415, allocations: 177.2 MB / 202.8 MB, free: 9.188 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.193/1.193, allocations: 155 MB / 414.2 MB, free: 4.93 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.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 71.77 kB / 0.6191 GB, free: 4.16 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5634/0.5655, allocations: 102 MB / 0.7187 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002241/0.5677, allocations: 0.9645 MB / 0.7197 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.5695, allocations: 1.356 MB / 0.721 GB, free: 164 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.241e-05/0.5696, allocations: 1.406 kB / 0.721 GB, free: 164 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.5698, allocations: 20.59 kB / 0.721 GB, free: 148 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.5699, allocations: 47.09 kB / 0.7211 GB, free: 112 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008248/0.5707, allocations: 270.6 kB / 0.7213 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0005004/0.5712, allocations: 385.5 kB / 0.7217 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.5714, allocations: 60.05 kB / 0.7217 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003227/0.5717, allocations: 223.9 kB / 0.7219 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.5719, allocations: 116.5 kB / 0.7221 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.79e-05/0.572, allocations: 34.53 kB / 0.7221 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.5721, allocations: 53.19 kB / 0.7221 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.5722, allocations: 59.38 kB / 0.7222 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.5724, allocations: 120.5 kB / 0.7223 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006068/0.573, allocations: 454.6 kB / 0.7227 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.573, allocations: 0.6562 kB / 0.7227 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.773e-06/0.573, allocations: 1.062 kB / 0.7227 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.573, allocations: 0 / 0.7227 GB, free: 15.31 MB / 0.6231 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.001144/0.5742, allocations: 0.5482 MB / 0.7233 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.5742, allocations: 8.906 kB / 0.7233 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000459/0.5747, allocations: 79.16 kB / 0.7234 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.5757, allocations: 311.2 kB / 0.7237 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.5757, allocations: 13.86 kB / 0.7237 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.5758, allocations: 21.2 kB / 0.7237 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005835/0.5764, allocations: 211.2 kB / 0.7239 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.5764, allocations: 4.438 kB / 0.7239 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.5764, allocations: 6.391 kB / 0.7239 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.5764, allocations: 3.75 kB / 0.7239 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006026/0.577, allocations: 143.1 kB / 0.724 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.5783, allocations: 0.7869 MB / 0.7248 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004306/0.5788, allocations: 147.6 kB / 0.725 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.5791, allocations: 80.69 kB / 0.725 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.5791, allocations: 11.53 kB / 0.725 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005202/0.5796, allocations: 163.1 kB / 0.7252 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=11): time 4.388e-06/0.5796, allocations: 3.984 kB / 0.7252 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11): time 0.0009711/0.5806, allocations: 262.6 kB / 0.7255 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.5807, allocations: 158.8 kB / 0.7256 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.5809, allocations: 218.9 kB / 0.7258 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.581, allocations: 37.12 kB / 0.7259 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.5811, allocations: 157.5 kB / 0.726 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.5812, allocations: 40.27 kB / 0.726 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.5813, allocations: 57.08 kB / 0.7261 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5814, allocations: 334.3 kB / 0.7264 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/0.5818, allocations: 163.7 kB / 0.7266 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005043/0.5824, allocations: 280.6 kB / 0.7268 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006604/0.583, allocations: 279.6 kB / 0.7271 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.583, allocations: 7.938 kB / 0.7271 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001147/0.5842, allocations: 437.4 kB / 0.7275 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/0.5842, allocations: 70.45 kB / 0.7276 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.5843, allocations: 5.797 kB / 0.7276 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/0.5843, allocations: 4.031 kB / 0.7276 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.5845, allocations: 28.48 kB / 0.7276 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.5845, allocations: 3.656 kB / 0.7276 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/0.585, allocations: 71.52 kB / 0.7277 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/0.585, allocations: 17.67 kB / 0.7277 GB, free: 11.7 MB / 0.6231 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.0002211/0.5852, allocations: 150 kB / 0.7279 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.5853, allocations: 21.7 kB / 0.7279 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.404e-05/0.5853, allocations: 26.7 kB / 0.7279 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.5854, allocations: 2.594 kB / 0.7279 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.5854, allocations: 1.281 kB / 0.7279 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.5854, allocations: 2.469 kB / 0.7279 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.5856, allocations: 189.4 kB / 0.7281 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.5857, allocations: 8.641 kB / 0.7281 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.5858, allocations: 24.95 kB / 0.7281 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5858, allocations: 1.031 kB / 0.7281 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.5858, allocations: 5.297 kB / 0.7281 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.5858, allocations: 2.344 kB / 0.7281 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5858, allocations: 0 / 0.7281 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006851/0.5865, allocations: 249.3 kB / 0.7284 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.5865, allocations: 16.02 kB / 0.7284 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.5866, allocations: 3.938 kB / 0.7284 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.5867, allocations: 15.89 kB / 0.7284 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.5868, allocations: 24.64 kB / 0.7284 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.5868, allocations: 4.719 kB / 0.7284 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001692/0.587, allocations: 162.7 kB / 0.7286 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.587, allocations: 5.406 kB / 0.7286 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003253/0.5873, allocations: 52.45 kB / 0.7286 GB, free: 11.09 MB / 0.6231 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.0001756/0.5875, allocations: 107 kB / 0.7287 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008937/0.5884, allocations: 377 kB / 0.7291 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5884, allocations: 1.25 kB / 0.7291 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003019/0.5887, allocations: 74.67 kB / 0.7292 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.5891, allocations: 56.3 kB / 0.7292 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000772/0.5898, allocations: 384.1 kB / 0.7296 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.59, allocations: 134.9 kB / 0.7297 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001235/0.5901, allocations: 41.08 kB / 0.7298 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.5902, allocations: 19.72 kB / 0.7298 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of SimCode: time 2.81e-07/0.5902, allocations: 0 / 0.7298 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of Templates: time 0.00879/0.599, allocations: 3.35 MB / 0.7331 GB, free: 9.949 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.240961814299226] Failed to read output from testmodel.py, exit status != 0: 0.6077005639672279 0.62311428 0.04671999 Calling exit ...