Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001298/0.001298, allocations: 80.44 kB / 19.9 MB, free: 12 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.00158/0.00158, allocations: 169.8 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.9422/0.9422, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7322/0.7322, allocations: 154.7 MB / 414.7 MB, free: 0.7695 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_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.0009092/0.0009092, allocations: 68.92 kB / 0.6196 GB, free: 11.95 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.4903/0.4912, allocations: 102 MB / 0.7192 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.001552/0.4927, allocations: 0.8212 MB / 0.72 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.4939, allocations: 0.9123 MB / 0.7209 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.523e-05/0.494, allocations: 3.938 kB / 0.7209 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.699e-05/0.494, allocations: 15.81 kB / 0.7209 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.339e-05/0.4941, allocations: 19.84 kB / 0.7209 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.4943, allocations: 58.17 kB / 0.721 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.4944, allocations: 143.7 kB / 0.7211 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.4946, allocations: 49.39 kB / 0.7212 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.672e-05/0.4947, allocations: 79.75 kB / 0.7212 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.722e-05/0.4947, allocations: 55.69 kB / 0.7213 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.4947, allocations: 12 kB / 0.7213 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.524e-05/0.4948, allocations: 12 kB / 0.7213 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.678e-05/0.4948, allocations: 31.92 kB / 0.7213 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.4948, allocations: 55.7 kB / 0.7214 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.495, allocations: 139.4 kB / 0.7215 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.495, allocations: 0 / 0.7215 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.495, allocations: 3.938 kB / 0.7215 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.495, allocations: 0 / 0.7215 GB, free: 11.25 MB / 0.6042 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.0004716/0.4955, allocations: 372.3 kB / 0.7219 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.4955, allocations: 12.03 kB / 0.7219 GB, free: 10.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.4955, allocations: 20.84 kB / 0.7219 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.4957, allocations: 158.3 kB / 0.7221 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.4957, allocations: 12.31 kB / 0.7221 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.4958, allocations: 12.38 kB / 0.7221 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.496, allocations: 227.2 kB / 0.7223 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.496, allocations: 4.188 kB / 0.7223 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.496, allocations: 7.938 kB / 0.7223 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.4961, allocations: 4 kB / 0.7223 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.4962, allocations: 127.9 kB / 0.7224 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.4967, allocations: 384.1 kB / 0.7228 GB, free: 9.832 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.4969, allocations: 82.48 kB / 0.7229 GB, free: 9.742 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.38e-05/0.4969, allocations: 40.83 kB / 0.7229 GB, free: 9.699 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.497, allocations: 7.938 kB / 0.7229 GB, free: 9.691 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.497, allocations: 38.56 kB / 0.723 GB, free: 9.645 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.497, allocations: 0 / 0.723 GB, free: 9.645 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003072/0.4973, allocations: 149.7 kB / 0.7231 GB, free: 9.492 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.4973, allocations: 55.41 kB / 0.7232 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.4974, allocations: 152.3 kB / 0.7233 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.4974, allocations: 29.7 kB / 0.7233 GB, free: 9.234 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.4975, allocations: 119.7 kB / 0.7235 GB, free: 9.113 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.4975, allocations: 43.69 kB / 0.7235 GB, free: 9.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.4976, allocations: 25.72 kB / 0.7235 GB, free: 9.039 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.886e-05/0.4976, allocations: 318.8 kB / 0.7238 GB, free: 8.719 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.616e-05/0.4977, allocations: 43.97 kB / 0.7239 GB, free: 8.676 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.952e-05/0.4978, allocations: 43.91 kB / 0.7239 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.4979, allocations: 91.95 kB / 0.724 GB, free: 8.543 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4979, allocations: 0 / 0.724 GB, free: 8.543 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000185/0.4981, allocations: 149.5 kB / 0.7241 GB, free: 8.391 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.4981, allocations: 4 kB / 0.7241 GB, free: 8.387 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4981, allocations: 0 / 0.7241 GB, free: 8.387 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.4981, allocations: 8 kB / 0.7241 GB, free: 8.379 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.562e-05/0.4982, allocations: 24.3 kB / 0.7242 GB, free: 8.355 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4982, allocations: 11.97 kB / 0.7242 GB, free: 8.344 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.4983, allocations: 15.89 kB / 0.7242 GB, free: 8.328 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.4983, allocations: 4 kB / 0.7242 GB, free: 8.324 MB / 0.6042 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.998e-05/0.4984, allocations: 123.3 kB / 0.7243 GB, free: 8.195 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.4984, allocations: 15.89 kB / 0.7243 GB, free: 8.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.4986, allocations: 142.3 kB / 0.7245 GB, free: 8.031 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4986, allocations: 0 / 0.7245 GB, free: 8.031 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4986, allocations: 4 kB / 0.7245 GB, free: 8.027 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4986, allocations: 0 / 0.7245 GB, free: 8.027 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/0.499, allocations: 380.6 kB / 0.7248 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.499, allocations: 0 / 0.7248 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.499, allocations: 23.98 kB / 0.7249 GB, free: 7.586 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.499, allocations: 7.984 kB / 0.7249 GB, free: 7.578 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.499, allocations: 0 / 0.7249 GB, free: 7.578 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.499, allocations: 0 / 0.7249 GB, free: 7.578 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.499, allocations: 4 kB / 0.7249 GB, free: 7.574 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.4992, allocations: 237.9 kB / 0.7251 GB, free: 7.316 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.4992, allocations: 19.91 kB / 0.7251 GB, free: 7.297 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.4992, allocations: 4 kB / 0.7251 GB, free: 7.293 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-05/0.4993, allocations: 19.92 kB / 0.7251 GB, free: 7.273 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.4994, allocations: 11.98 kB / 0.7251 GB, free: 7.262 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.4994, allocations: 3.938 kB / 0.7252 GB, free: 7.258 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.095e-05/0.4994, allocations: 115.2 kB / 0.7253 GB, free: 7.145 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.4994, allocations: 0 / 0.7253 GB, free: 7.145 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001555/0.4996, allocations: 20 kB / 0.7253 GB, free: 7.125 MB / 0.6042 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.0001089/0.4997, allocations: 103.2 kB / 0.7254 GB, free: 7.016 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.4999, allocations: 99.86 kB / 0.7255 GB, free: 6.918 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4999, allocations: 0 / 0.7255 GB, free: 6.918 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.595e-05/0.4999, allocations: 39.92 kB / 0.7255 GB, free: 6.879 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.5002, allocations: 16.17 kB / 0.7255 GB, free: 6.863 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.5005, allocations: 257.8 kB / 0.7258 GB, free: 6.574 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.255e-05/0.5006, allocations: 98.2 kB / 0.7259 GB, free: 6.457 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.354e-05/0.5006, allocations: 8.484 kB / 0.7259 GB, free: 6.449 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.5007, allocations: 16.5 kB / 0.7259 GB, free: 6.434 MB / 0.6042 GB Notification: Performance of SimCode: time 5.52e-07/0.5007, allocations: 0 / 0.7259 GB, free: 6.434 MB / 0.6042 GB Notification: Performance of Templates: time 0.002467/0.5031, allocations: 0.984 MB / 0.7269 GB, free: 5.477 MB / 0.6042 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.354446696001105] Failed to read output from testmodel.py, exit status != 0: 0.5091627619694918 0.517347859 0.020630414 Calling exit ...