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.001259/0.001259, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001544/0.001544, allocations: 167.1 kB / 22.46 MB, free: 5.359 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.469/1.469, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.211/1.211, allocations: 154.6 MB / 413.7 MB, free: 5.316 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: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.6185 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.113e-05/3.376e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002146/0.002179, allocations: 0.9561 MB / 0.6194 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002065/0.004245, allocations: 1.36 MB / 0.6208 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.787e-05/0.004312, allocations: 4 kB / 0.6208 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.004436, allocations: 23.67 kB / 0.6208 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.004542, allocations: 44.25 kB / 0.6208 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007724/0.005314, allocations: 274.9 kB / 0.6211 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004613/0.005775, allocations: 387.2 kB / 0.6215 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.00593, allocations: 49.72 kB / 0.6215 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003306/0.00626, allocations: 215.6 kB / 0.6217 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.006464, allocations: 111.7 kB / 0.6218 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.095e-05/0.006535, allocations: 36 kB / 0.6219 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.006658, allocations: 43.98 kB / 0.6219 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.83e-05/0.006757, allocations: 59.77 kB / 0.622 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.006907, allocations: 103.8 kB / 0.6221 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005223/0.00743, allocations: 438.6 kB / 0.6225 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.007435, allocations: 3.984 kB / 0.6225 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.007437, allocations: 4 kB / 0.6225 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.007442, allocations: 4 kB / 0.6225 GB, free: 0.582 MB / 0.5294 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.001056/0.008498, allocations: 0.5433 MB / 0.623 GB, free: 15.99 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.008536, allocations: 9.469 kB / 0.623 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003624/0.008898, allocations: 68.7 kB / 0.6231 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009734/0.009872, allocations: 316.8 kB / 0.6234 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.009901, allocations: 16.38 kB / 0.6234 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.009949, allocations: 20.38 kB / 0.6234 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004792/0.01043, allocations: 198.9 kB / 0.6236 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.01044, allocations: 192 / 0.6236 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.01046, allocations: 12.36 kB / 0.6236 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.01047, allocations: 12.12 kB / 0.6236 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005209/0.01099, allocations: 151.7 kB / 0.6238 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.01216, allocations: 0.7859 MB / 0.6246 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.01251, allocations: 149 kB / 0.6247 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.0128, allocations: 76.23 kB / 0.6248 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.01282, allocations: 4 kB / 0.6248 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006493/0.01347, allocations: 171.4 kB / 0.6249 GB, free: 13.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.01347, allocations: 0 / 0.6249 GB, free: 13.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001039/0.01451, allocations: 261.3 kB / 0.6252 GB, free: 13.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001496/0.01466, allocations: 162.2 kB / 0.6253 GB, free: 13.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.015, allocations: 221.8 kB / 0.6256 GB, free: 13.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.707e-05/0.01505, allocations: 29.7 kB / 0.6256 GB, free: 13.13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.01518, allocations: 156.4 kB / 0.6257 GB, free: 12.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.01522, allocations: 32.03 kB / 0.6258 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.01534, allocations: 57.67 kB / 0.6258 GB, free: 12.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.0155, allocations: 326.8 kB / 0.6261 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.01592, allocations: 163.3 kB / 0.6263 GB, free: 12.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/0.0164, allocations: 298.9 kB / 0.6266 GB, free: 12.03 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007022/0.0171, allocations: 267 kB / 0.6268 GB, free: 11.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.0171, allocations: 11.94 kB / 0.6268 GB, free: 11.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001031/0.01813, allocations: 440 kB / 0.6273 GB, free: 11.26 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.319e-05/0.0182, allocations: 74.11 kB / 0.6273 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.0182, allocations: 4 kB / 0.6273 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.01823, allocations: 4 kB / 0.6273 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.01845, allocations: 23.97 kB / 0.6274 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.01846, allocations: 4 kB / 0.6274 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004322/0.01889, allocations: 77.19 kB / 0.6274 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.01893, allocations: 11.98 kB / 0.6274 GB, free: 11.05 MB / 0.545 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.0001984/0.01912, allocations: 157.1 kB / 0.6276 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.01917, allocations: 31.78 kB / 0.6276 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.706e-05/0.01925, allocations: 21.34 kB / 0.6276 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01925, allocations: 0 / 0.6276 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.01926, allocations: 4 kB / 0.6277 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.01927, allocations: 3.984 kB / 0.6277 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.0195, allocations: 169.3 kB / 0.6278 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.0195, allocations: 8 kB / 0.6278 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.01965, allocations: 23.97 kB / 0.6278 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01965, allocations: 0 / 0.6278 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.01967, allocations: 11.88 kB / 0.6279 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.01967, allocations: 3.984 kB / 0.6279 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.01967, allocations: 4 kB / 0.6279 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006838/0.02036, allocations: 236.2 kB / 0.6281 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.02039, allocations: 27.83 kB / 0.6281 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.02042, allocations: 11.88 kB / 0.6281 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.02055, allocations: 15.97 kB / 0.6281 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.968e-05/0.02063, allocations: 16.45 kB / 0.6282 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.02064, allocations: 4 kB / 0.6282 GB, free: 10.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001654/0.02081, allocations: 161.2 kB / 0.6283 GB, free: 10.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.02081, allocations: 4 kB / 0.6283 GB, free: 10.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000334/0.02114, allocations: 51.89 kB / 0.6284 GB, free: 10.04 MB / 0.545 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.0001899/0.02133, allocations: 111.2 kB / 0.6285 GB, free: 9.922 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009614/0.0223, allocations: 380.4 kB / 0.6288 GB, free: 9.516 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.0223, allocations: 0 / 0.6288 GB, free: 9.516 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002959/0.02259, allocations: 76.05 kB / 0.6289 GB, free: 9.441 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.02296, allocations: 60.89 kB / 0.629 GB, free: 9.383 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007052/0.02367, allocations: 378 kB / 0.6293 GB, free: 8.977 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.02382, allocations: 132.8 kB / 0.6295 GB, free: 8.828 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.02394, allocations: 37.61 kB / 0.6295 GB, free: 8.789 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.894e-05/0.02399, allocations: 24.5 kB / 0.6295 GB, free: 8.766 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.02399, allocations: 0 / 0.6295 GB, free: 8.766 MB / 0.545 GB Notification: Performance of Templates: time 0.007732/0.03172, allocations: 3.298 MB / 0.6327 GB, free: 5.555 MB / 0.545 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.8163101375103] Failed to read output from testmodel.py, exit status != 0: 0.04061858728528023 0.054936000000000006 0.044506107 Calling exit ...