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.0007266/0.0007266, allocations: 76.45 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.0007794/0.0007794, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9184/0.9184, allocations: 177.2 MB / 203.6 MB, free: 5.75 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.7605/0.7605, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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.0009267/0.0009267, allocations: 71.89 kB / 0.6196 GB, free: 13.05 MB / 0.5886 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.5025/0.5035, allocations: 102 MB / 0.7192 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.001631/0.5051, allocations: 0.8309 MB / 0.72 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008123/0.5059, allocations: 0.9104 MB / 0.7209 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.036e-05/0.506, allocations: 2.375 kB / 0.7209 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.934e-05/0.506, allocations: 14.02 kB / 0.7209 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.926e-05/0.5061, allocations: 17.67 kB / 0.7209 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.5063, allocations: 62.77 kB / 0.721 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.5065, allocations: 143.1 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.5067, allocations: 46.95 kB / 0.7212 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.5068, allocations: 82.89 kB / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.652e-05/0.5069, allocations: 53.59 kB / 0.7213 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.5069, allocations: 12.53 kB / 0.7213 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.844e-05/0.5069, allocations: 17.22 kB / 0.7213 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.995e-05/0.5069, allocations: 30.59 kB / 0.7213 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/0.507, allocations: 49.77 kB / 0.7214 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.5071, allocations: 144.6 kB / 0.7215 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5071, allocations: 0 / 0.7215 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5071, allocations: 0 / 0.7215 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.5072, allocations: 0 / 0.7215 GB, free: 22.15 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.0004539/0.5076, allocations: 366.8 kB / 0.7219 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.5076, allocations: 14.23 kB / 0.7219 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.5077, allocations: 17 kB / 0.7219 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.5079, allocations: 160.8 kB / 0.7221 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.5079, allocations: 21.69 kB / 0.7221 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.5079, allocations: 12.47 kB / 0.7221 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.5082, allocations: 219.8 kB / 0.7223 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.5082, allocations: 1.625 kB / 0.7223 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.5082, allocations: 9.922 kB / 0.7223 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.5082, allocations: 6.906 kB / 0.7223 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.5084, allocations: 128.1 kB / 0.7224 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.5089, allocations: 388.1 kB / 0.7228 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.509, allocations: 78.47 kB / 0.7229 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.434e-05/0.5091, allocations: 43.94 kB / 0.7229 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.5091, allocations: 6.188 kB / 0.7229 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.5091, allocations: 36.75 kB / 0.723 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.5091, allocations: 0 / 0.723 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003135/0.5095, allocations: 152.6 kB / 0.7231 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.5095, allocations: 52.66 kB / 0.7232 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.003e-05/0.5096, allocations: 146.3 kB / 0.7233 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.5096, allocations: 30.8 kB / 0.7233 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.141e-05/0.5096, allocations: 127.6 kB / 0.7235 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.5096, allocations: 34.62 kB / 0.7235 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.5097, allocations: 29.22 kB / 0.7235 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.757e-05/0.5097, allocations: 320.5 kB / 0.7238 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.561e-05/0.5098, allocations: 41 kB / 0.7239 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.926e-05/0.5099, allocations: 41.5 kB / 0.7239 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.51, allocations: 91.31 kB / 0.724 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.51, allocations: 4 kB / 0.724 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000184/0.5102, allocations: 145.5 kB / 0.7241 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.5102, allocations: 10.56 kB / 0.7241 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.5102, allocations: 0 / 0.7241 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.5102, allocations: 1.953 kB / 0.7241 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.5103, allocations: 23.98 kB / 0.7242 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.5103, allocations: 1.344 kB / 0.7242 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.586e-05/0.5104, allocations: 15.95 kB / 0.7242 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.5104, allocations: 6.094 kB / 0.7242 GB, free: 20.12 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.441e-05/0.5104, allocations: 125.6 kB / 0.7243 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.5105, allocations: 16.55 kB / 0.7243 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.5107, allocations: 139.4 kB / 0.7245 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5107, allocations: 5.062 kB / 0.7245 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.5107, allocations: 0 / 0.7245 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5107, allocations: 1.812 kB / 0.7245 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.511, allocations: 386.7 kB / 0.7248 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.511, allocations: 0 / 0.7248 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.579e-05/0.5111, allocations: 27.09 kB / 0.7249 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5111, allocations: 1.156 kB / 0.7249 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.5111, allocations: 2.219 kB / 0.7249 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5111, allocations: 1.125 kB / 0.7249 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5111, allocations: 5.312 kB / 0.7249 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.5113, allocations: 246.8 kB / 0.7251 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.5113, allocations: 16.58 kB / 0.7251 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.5113, allocations: 6.078 kB / 0.7251 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.375e-05/0.5114, allocations: 13.78 kB / 0.7251 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.5114, allocations: 11.66 kB / 0.7251 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.5114, allocations: 9 kB / 0.7252 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.518e-05/0.5115, allocations: 108.4 kB / 0.7253 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5115, allocations: 0 / 0.7253 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001705/0.5117, allocations: 23.66 kB / 0.7253 GB, free: 19.28 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 9.718e-05/0.5118, allocations: 106.6 kB / 0.7254 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.512, allocations: 92.11 kB / 0.7255 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.512, allocations: 0 / 0.7255 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.501e-05/0.5121, allocations: 46.22 kB / 0.7255 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.5123, allocations: 10.44 kB / 0.7255 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.5126, allocations: 257.8 kB / 0.7258 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.518e-05/0.5127, allocations: 100.6 kB / 0.7259 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.613e-05/0.5127, allocations: 9.062 kB / 0.7259 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.5128, allocations: 15.12 kB / 0.7259 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of SimCode: time 3.11e-07/0.5128, allocations: 0 / 0.7259 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of Templates: time 0.002924/0.5157, allocations: 0.986 MB / 0.7269 GB, free: 18.71 MB / 0.6355 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.3521669580368325] Failed to read output from testmodel.py, exit status != 0: 0.5219145129667595 0.533553786 0.023740621 Calling exit ...