Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.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.0008641/0.0008641, 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.0009173/0.0009173, 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.9245/0.9245, 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.719/0.719, allocations: 154.7 MB / 414.7 MB, free: 0.7344 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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") [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.0009976/0.0009976, allocations: 78.42 kB / 0.6196 GB, free: 13.06 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.5442/0.5452, allocations: 101.9 MB / 0.7192 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001447/0.5466, allocations: 0.653 MB / 0.7198 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007932/0.5474, allocations: 0.8486 MB / 0.7206 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.99e-05/0.5474, allocations: 1.094 kB / 0.7206 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.5475, allocations: 3.938 kB / 0.7206 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.348e-05/0.5475, allocations: 1.672 kB / 0.7206 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.5477, allocations: 22.41 kB / 0.7207 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.935e-05/0.5478, allocations: 23.52 kB / 0.7207 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.5479, allocations: 7.344 kB / 0.7207 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.066e-05/0.548, allocations: 11.86 kB / 0.7207 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.789e-05/0.548, allocations: 17.09 kB / 0.7207 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.548, allocations: 2.312 kB / 0.7207 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.66e-05/0.5481, allocations: 4.734 kB / 0.7207 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.5481, allocations: 5.703 kB / 0.7207 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.5481, allocations: 6.875 kB / 0.7207 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.5482, allocations: 28.16 kB / 0.7208 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5482, allocations: 1.031 kB / 0.7208 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5482, allocations: 4 kB / 0.7208 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.5482, allocations: 0.8438 kB / 0.7208 GB, free: 22.58 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000343/0.5486, allocations: 263.1 kB / 0.721 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.5486, allocations: 9.938 kB / 0.721 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.198e-05/0.5487, allocations: 4.25 kB / 0.721 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.309e-05/0.5488, allocations: 113.6 kB / 0.7211 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.5488, allocations: 2.562 kB / 0.7211 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.5488, allocations: 1.625 kB / 0.7211 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.5489, allocations: 52.84 kB / 0.7212 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.549, allocations: 4.188 kB / 0.7212 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.549, allocations: 7.875 kB / 0.7212 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.549, allocations: 1.156 kB / 0.7212 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.742e-05/0.5491, allocations: 32.86 kB / 0.7212 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.5493, allocations: 190.5 kB / 0.7214 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.62e-05/0.5494, allocations: 36.53 kB / 0.7215 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.923e-05/0.5495, allocations: 26.88 kB / 0.7215 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.5495, allocations: 4.5 kB / 0.7215 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.5495, allocations: 37.55 kB / 0.7215 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.5495, allocations: 0 / 0.7215 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002496/0.5497, allocations: 75.88 kB / 0.7216 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.5498, allocations: 52.59 kB / 0.7216 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.591e-05/0.5498, allocations: 105.1 kB / 0.7217 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.38e-06/0.5498, allocations: 25.7 kB / 0.7218 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.447e-05/0.5499, allocations: 86.02 kB / 0.7219 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.5499, allocations: 13.61 kB / 0.7219 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/0.5499, allocations: 12.61 kB / 0.7219 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.213e-05/0.5499, allocations: 322.5 kB / 0.7222 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.771e-05/0.55, allocations: 17.12 kB / 0.7222 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.175e-05/0.55, allocations: 14.52 kB / 0.7222 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.708e-05/0.5501, allocations: 41.55 kB / 0.7223 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5501, allocations: 1.188 kB / 0.7223 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001148/0.5502, allocations: 74.64 kB / 0.7223 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.5502, allocations: 5.422 kB / 0.7223 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5502, allocations: 4 kB / 0.7223 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.5503, allocations: 1.344 kB / 0.7223 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.5503, allocations: 8.625 kB / 0.7223 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.5503, allocations: 4.5 kB / 0.7223 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.646e-05/0.5504, allocations: 10.55 kB / 0.7224 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.5504, allocations: 0.6094 kB / 0.7224 GB, free: 21.09 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 (2): * Single equations (assignments): 2 * 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 3.917e-05/0.5504, allocations: 109.9 kB / 0.7225 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.5504, allocations: 5.031 kB / 0.7225 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.5506, allocations: 76.56 kB / 0.7225 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5506, allocations: 0 / 0.7225 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5506, allocations: 1.125 kB / 0.7225 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5506, allocations: 0 / 0.7225 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.226e-05/0.5507, allocations: 108.7 kB / 0.7226 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5507, allocations: 0 / 0.7226 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.091e-05/0.5507, allocations: 9.531 kB / 0.7227 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.5507, allocations: 4.688 kB / 0.7227 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.5507, allocations: 0 / 0.7227 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5507, allocations: 2.562 kB / 0.7227 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5507, allocations: 4.688 kB / 0.7227 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.5508, allocations: 158 kB / 0.7228 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-06/0.5508, allocations: 17.78 kB / 0.7228 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.5508, allocations: 2.266 kB / 0.7228 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.793e-05/0.5509, allocations: 5.078 kB / 0.7228 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.5509, allocations: 2.719 kB / 0.7228 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.5509, allocations: 2.219 kB / 0.7228 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.528e-05/0.5509, allocations: 78.89 kB / 0.7229 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.5509, allocations: 0 / 0.7229 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001382/0.5511, allocations: 5.031 kB / 0.7229 GB, free: 20.57 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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 8.503e-05/0.5511, allocations: 100.8 kB / 0.723 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.5513, allocations: 42.19 kB / 0.7231 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5513, allocations: 0 / 0.7231 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.364e-05/0.5513, allocations: 16.31 kB / 0.7231 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.5516, allocations: 7.5 kB / 0.7231 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.5518, allocations: 111.1 kB / 0.7232 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.861e-05/0.5518, allocations: 64.3 kB / 0.7233 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.162e-05/0.5519, allocations: 1.125 kB / 0.7233 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.5519, allocations: 9.656 kB / 0.7233 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of SimCode: time 6.21e-07/0.5519, allocations: 0 / 0.7233 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of Templates: time 0.002066/0.554, allocations: 468.7 kB / 0.7237 GB, free: 20.18 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.304087423020974] Failed to read output from testmodel.py, exit status != 0: 0.5600627580424771 0.568512177 0.018421051 Calling exit ...