Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.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.0007093/0.0007093, allocations: 80.48 kB / 19.93 MB, free: 4.621 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.000703/0.000703, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.8456/0.8456, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.6709/0.6709, allocations: 154.5 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.Reals.Validation.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.816e-06/2.816e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.77e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.001409/0.001436, allocations: 0.8269 MB / 0.6202 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.00245, allocations: 0.921 MB / 0.6211 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.469e-05/0.002534, allocations: 3.938 kB / 0.6211 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.077e-05/0.002575, allocations: 7.875 kB / 0.6211 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.425e-05/0.002649, allocations: 15.86 kB / 0.6211 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.002861, allocations: 67.84 kB / 0.6211 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.003041, allocations: 131.7 kB / 0.6213 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.003197, allocations: 49.56 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.028e-05/0.003287, allocations: 75.86 kB / 0.6214 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.003345, allocations: 47.86 kB / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.003378, allocations: 12 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.427e-05/0.003392, allocations: 12 kB / 0.6215 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.003422, allocations: 31.86 kB / 0.6215 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.003457, allocations: 39.89 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.003609, allocations: 151.5 kB / 0.6217 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.003612, allocations: 0 / 0.6217 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.563e-06/0.003613, allocations: 0 / 0.6217 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.003618, allocations: 0 / 0.6217 GB, free: 10.79 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004617/0.00408, allocations: 369.8 kB / 0.622 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.004116, allocations: 9.469 kB / 0.622 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.004155, allocations: 16.84 kB / 0.622 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.004357, allocations: 157.5 kB / 0.6222 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.00437, allocations: 16.36 kB / 0.6222 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.004385, allocations: 16.31 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.004629, allocations: 219.3 kB / 0.6224 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.004638, allocations: 4.188 kB / 0.6224 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.004655, allocations: 8.375 kB / 0.6225 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.00466, allocations: 4.375 kB / 0.6225 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.004831, allocations: 135.8 kB / 0.6226 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.005308, allocations: 380.1 kB / 0.6229 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.005434, allocations: 82.53 kB / 0.623 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.645e-05/0.005501, allocations: 40.84 kB / 0.6231 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.005519, allocations: 192 / 0.6231 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.005542, allocations: 46.42 kB / 0.6231 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.005543, allocations: 0 / 0.6231 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0002945/0.005838, allocations: 153.5 kB / 0.6233 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.00587, allocations: 55.41 kB / 0.6233 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.005972, allocations: 147.7 kB / 0.6235 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.005986, allocations: 29.7 kB / 0.6235 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.006044, allocations: 123.8 kB / 0.6236 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.006062, allocations: 35.72 kB / 0.6236 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.006099, allocations: 25.72 kB / 0.6237 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003606/0.006459, allocations: 322.8 kB / 0.624 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.566e-05/0.006535, allocations: 43.97 kB / 0.624 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.062e-05/0.006606, allocations: 39.97 kB / 0.624 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.006739, allocations: 96.33 kB / 0.6241 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006741, allocations: 0 / 0.6241 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001749/0.006916, allocations: 145.5 kB / 0.6243 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.006931, allocations: 7.938 kB / 0.6243 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.006936, allocations: 0 / 0.6243 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.00695, allocations: 3.984 kB / 0.6243 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.409e-05/0.007044, allocations: 27.98 kB / 0.6243 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.00705, allocations: 0 / 0.6243 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.007088, allocations: 16.36 kB / 0.6243 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.007097, allocations: 4 kB / 0.6243 GB, free: 7.871 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 6.675e-05/0.007164, allocations: 126.8 kB / 0.6245 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.007181, allocations: 11.91 kB / 0.6245 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.007387, allocations: 142.2 kB / 0.6246 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.00739, allocations: 3.984 kB / 0.6246 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.007394, allocations: 0 / 0.6246 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.007396, allocations: 0 / 0.6246 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.007727, allocations: 380.6 kB / 0.625 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.00773, allocations: 4 kB / 0.625 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.007783, allocations: 23.92 kB / 0.625 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.007785, allocations: 0 / 0.625 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.007795, allocations: 11.98 kB / 0.625 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.007797, allocations: 0 / 0.625 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.007798, allocations: 0 / 0.625 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.007979, allocations: 246 kB / 0.6252 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.00799, allocations: 11.89 kB / 0.6252 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.008003, allocations: 4 kB / 0.6253 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.26e-05/0.008066, allocations: 11.98 kB / 0.6253 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.008105, allocations: 11.98 kB / 0.6253 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.008112, allocations: 4 kB / 0.6253 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.971e-05/0.008162, allocations: 117.6 kB / 0.6254 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008162, allocations: 0 / 0.6254 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001572/0.008319, allocations: 27.89 kB / 0.6254 GB, free: 6.668 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001004/0.008419, allocations: 103.7 kB / 0.6255 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001825/0.008602, allocations: 95.88 kB / 0.6256 GB, free: 6.465 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.008605, allocations: 4 kB / 0.6256 GB, free: 6.461 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.441e-05/0.00867, allocations: 39.92 kB / 0.6257 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.008881, allocations: 24.11 kB / 0.6257 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003866/0.009268, allocations: 267 kB / 0.6259 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.565e-05/0.009333, allocations: 98.27 kB / 0.626 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.009373, allocations: 16.44 kB / 0.626 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of SimCode: time 4.51e-07/0.009373, allocations: 8 kB / 0.626 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of Templates: time 0.002285/0.01166, allocations: 1.448 MB / 0.6275 GB, free: 4.508 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.896275925450027] Failed to read output from testmodel.py, exit status != 0: 0.01704420428723097 0.02928984399999994 0.02311419399999994 Calling exit ...