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.0007605/0.0007605, allocations: 72.45 kB / 19.9 MB, free: 16 kB / 13.93 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.0007874/0.0007874, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8799/0.8799, allocations: 177.2 MB / 203.6 MB, free: 5.773 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.6953/0.6953, allocations: 155 MB / 414.9 MB, free: 492 kB / 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: 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.0008747/0.0008747, allocations: 67.89 kB / 0.62 GB, free: 12.68 MB / 0.5886 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.4299/0.4308, allocations: 102 MB / 0.7196 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.001366/0.4321, allocations: 0.8354 MB / 0.7204 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007376/0.4329, allocations: 0.9085 MB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.155e-05/0.4329, allocations: 2.625 kB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.433, allocations: 14.06 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.091e-05/0.433, allocations: 8.938 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.4332, allocations: 65.23 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.4334, allocations: 148.4 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.4335, allocations: 53.64 kB / 0.7215 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.773e-05/0.4336, allocations: 74.17 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.825e-05/0.4337, allocations: 55.14 kB / 0.7217 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.4337, allocations: 13.06 kB / 0.7217 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.845e-05/0.4337, allocations: 13.47 kB / 0.7217 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.51e-05/0.4337, allocations: 29.83 kB / 0.7217 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.4338, allocations: 53.73 kB / 0.7218 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.4339, allocations: 161.7 kB / 0.7219 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4339, allocations: 0 / 0.7219 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4339, allocations: 0 / 0.7219 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.4339, allocations: 1 kB / 0.7219 GB, free: 21.87 MB / 0.6355 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.0004153/0.4344, allocations: 370.1 kB / 0.7223 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.4344, allocations: 11.34 kB / 0.7223 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.4344, allocations: 17.62 kB / 0.7223 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.4346, allocations: 156.8 kB / 0.7225 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.4346, allocations: 10.06 kB / 0.7225 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.4346, allocations: 12.47 kB / 0.7225 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.4349, allocations: 231.5 kB / 0.7227 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.4349, allocations: 5.312 kB / 0.7227 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.4349, allocations: 9.734 kB / 0.7227 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.4349, allocations: 3.5 kB / 0.7227 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.4351, allocations: 124.3 kB / 0.7228 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.4355, allocations: 391.9 kB / 0.7232 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.4356, allocations: 73.84 kB / 0.7233 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.887e-05/0.4357, allocations: 44.45 kB / 0.7233 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.4357, allocations: 7.172 kB / 0.7233 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.4358, allocations: 32.66 kB / 0.7234 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.4358, allocations: 0 / 0.7234 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002915/0.436, allocations: 156 kB / 0.7235 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.895e-05/0.4361, allocations: 60.38 kB / 0.7236 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.985e-05/0.4361, allocations: 145.5 kB / 0.7237 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.4362, allocations: 30.73 kB / 0.7237 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.4362, allocations: 124.8 kB / 0.7238 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.4362, allocations: 33.95 kB / 0.7239 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.4362, allocations: 29.02 kB / 0.7239 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.004e-05/0.4363, allocations: 319.9 kB / 0.7242 GB, free: 20 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.263e-05/0.4364, allocations: 41.12 kB / 0.7243 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.724e-05/0.4364, allocations: 47.03 kB / 0.7243 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.4366, allocations: 93.52 kB / 0.7244 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4366, allocations: 0 / 0.7244 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001762/0.4367, allocations: 146.6 kB / 0.7245 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.4367, allocations: 5.312 kB / 0.7245 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.4368, allocations: 0 / 0.7245 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.4368, allocations: 1.094 kB / 0.7245 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.4369, allocations: 33.39 kB / 0.7246 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.4369, allocations: 1.25 kB / 0.7246 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.4369, allocations: 14.78 kB / 0.7246 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.4369, allocations: 3.594 kB / 0.7246 GB, free: 19.84 MB / 0.6355 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 5.057e-05/0.437, allocations: 124.5 kB / 0.7247 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.437, allocations: 13.23 kB / 0.7247 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.4372, allocations: 137.1 kB / 0.7248 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.4372, allocations: 3.094 kB / 0.7248 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.4372, allocations: 4 kB / 0.7249 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4372, allocations: 0.8438 kB / 0.7249 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.4375, allocations: 382.2 kB / 0.7252 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4375, allocations: 1.344 kB / 0.7252 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.769e-05/0.4375, allocations: 21.17 kB / 0.7252 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4375, allocations: 1.406 kB / 0.7252 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.4376, allocations: 6.625 kB / 0.7252 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.4376, allocations: 10.03 kB / 0.7253 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4376, allocations: 5.172 kB / 0.7253 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.4377, allocations: 242 kB / 0.7255 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.233e-05/0.4377, allocations: 17.59 kB / 0.7255 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.4378, allocations: 2.031 kB / 0.7255 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.4378, allocations: 18.59 kB / 0.7255 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.4379, allocations: 6.188 kB / 0.7255 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.4379, allocations: 12.5 kB / 0.7255 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.989e-05/0.4379, allocations: 116.8 kB / 0.7257 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4379, allocations: 0 / 0.7257 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001661/0.4381, allocations: 23.72 kB / 0.7257 GB, free: 19 MB / 0.6355 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 7.183e-05/0.4381, allocations: 98.28 kB / 0.7258 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001861/0.4383, allocations: 92.77 kB / 0.7259 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4383, allocations: 0 / 0.7259 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.93e-05/0.4384, allocations: 53.62 kB / 0.7259 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.4386, allocations: 15.41 kB / 0.7259 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.4389, allocations: 275.7 kB / 0.7262 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.844e-05/0.439, allocations: 101.7 kB / 0.7263 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.439, allocations: 19.86 kB / 0.7263 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/0.439, allocations: 0 / 0.7263 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of Templates: time 0.002503/0.4415, allocations: 1.46 MB / 0.7277 GB, free: 18.41 MB / 0.6355 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: 5.396958078024909] Failed to read output from testmodel.py, exit status != 0: 0.4465831299312413 0.454346398 0.01885623 Calling exit ...