Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.0007448/0.0007448, allocations: 72.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.000756/0.000756, allocations: 165.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.8517/0.8517, 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.6977/0.6977, 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [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.0009317/0.0009317, allocations: 71.88 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.3956/0.3966, allocations: 102 MB / 0.7192 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001342/0.3979, allocations: 0.695 MB / 0.7199 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006711/0.3986, allocations: 0.8267 MB / 0.7207 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.057e-05/0.3986, allocations: 0 / 0.7207 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/0.3987, allocations: 3.938 kB / 0.7207 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.942e-05/0.3987, allocations: 11.88 kB / 0.7207 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.366e-05/0.3988, allocations: 7.984 kB / 0.7207 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.603e-05/0.3989, allocations: 43.91 kB / 0.7207 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.399, allocations: 16 kB / 0.7207 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.857e-05/0.3991, allocations: 27.91 kB / 0.7208 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.838e-05/0.3991, allocations: 15.92 kB / 0.7208 GB, free: 12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.3991, allocations: 4 kB / 0.7208 GB, free: 12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.251e-06/0.3991, allocations: 4 kB / 0.7208 GB, free: 12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.3991, allocations: 11.94 kB / 0.7208 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.3992, allocations: 15.91 kB / 0.7208 GB, free: 11.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.873e-05/0.3993, allocations: 42.12 kB / 0.7209 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3993, allocations: 4 kB / 0.7209 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3993, allocations: 0 / 0.7209 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3993, allocations: 0 / 0.7209 GB, free: 11.93 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004006/0.3997, allocations: 294.2 kB / 0.7211 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3997, allocations: 11.97 kB / 0.7212 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.3997, allocations: 8.891 kB / 0.7212 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.139e-05/0.3998, allocations: 114.5 kB / 0.7213 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3998, allocations: 384 / 0.7213 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.3999, allocations: 384 / 0.7213 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.4, allocations: 74.2 kB / 0.7213 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.4, allocations: 4.188 kB / 0.7213 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.4, allocations: 3.938 kB / 0.7214 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.4, allocations: 0 / 0.7214 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.4002, allocations: 59.94 kB / 0.7214 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.4005, allocations: 212.5 kB / 0.7216 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.4006, allocations: 58.48 kB / 0.7217 GB, free: 11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.114e-05/0.4007, allocations: 52.78 kB / 0.7217 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.4007, allocations: 0 / 0.7217 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.4007, allocations: 34.56 kB / 0.7218 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.4007, allocations: 0 / 0.7218 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003059/0.401, allocations: 133.5 kB / 0.7219 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.401, allocations: 55.41 kB / 0.7219 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.898e-05/0.4011, allocations: 105.8 kB / 0.722 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.4011, allocations: 25.7 kB / 0.7221 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.4012, allocations: 88.14 kB / 0.7221 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.4012, allocations: 11.89 kB / 0.7222 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.4012, allocations: 17.72 kB / 0.7222 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.281e-05/0.4013, allocations: 314.8 kB / 0.7225 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.58e-05/0.4014, allocations: 35.97 kB / 0.7225 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.527e-05/0.4014, allocations: 31.95 kB / 0.7225 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.4015, allocations: 64.8 kB / 0.7226 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4016, allocations: 0 / 0.7226 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001588/0.4017, allocations: 109.8 kB / 0.7227 GB, free: 9.867 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.4017, allocations: 6.812 kB / 0.7227 GB, free: 9.863 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4017, allocations: 0 / 0.7227 GB, free: 9.863 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.4017, allocations: 0 / 0.7227 GB, free: 9.863 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/0.4018, allocations: 16.03 kB / 0.7227 GB, free: 9.848 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.4018, allocations: 0 / 0.7227 GB, free: 9.848 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.83e-05/0.4019, allocations: 19.97 kB / 0.7227 GB, free: 9.828 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.4019, allocations: 0 / 0.7227 GB, free: 9.828 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 (3): * Single equations (assignments): 3 * 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.448e-05/0.4019, allocations: 118.8 kB / 0.7229 GB, free: 9.703 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.4019, allocations: 15.88 kB / 0.7229 GB, free: 9.688 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.402, allocations: 8 kB / 0.7229 GB, free: 9.676 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.402, allocations: 0 / 0.7229 GB, free: 9.676 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.402, allocations: 0 / 0.7229 GB, free: 9.676 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.402, allocations: 4 kB / 0.7229 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.031e-05/0.4021, allocations: 105.3 kB / 0.723 GB, free: 9.539 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.4021, allocations: 0 / 0.723 GB, free: 9.539 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.014e-05/0.4021, allocations: 23.86 kB / 0.723 GB, free: 9.516 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.4021, allocations: 4 kB / 0.723 GB, free: 9.512 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.4021, allocations: 0 / 0.723 GB, free: 9.512 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4021, allocations: 0 / 0.723 GB, free: 9.512 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4021, allocations: 7.938 kB / 0.723 GB, free: 9.504 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.4023, allocations: 191.5 kB / 0.7232 GB, free: 9.301 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-06/0.4023, allocations: 7.891 kB / 0.7232 GB, free: 9.293 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.4023, allocations: 4 kB / 0.7232 GB, free: 9.289 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.819e-05/0.4024, allocations: 11.98 kB / 0.7232 GB, free: 9.277 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.4024, allocations: 15.92 kB / 0.7232 GB, free: 9.262 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.4024, allocations: 0 / 0.7232 GB, free: 9.262 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.009e-05/0.4024, allocations: 87.27 kB / 0.7233 GB, free: 9.176 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.4024, allocations: 0 / 0.7233 GB, free: 9.176 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000137/0.4026, allocations: 8 kB / 0.7233 GB, free: 9.168 MB / 0.6042 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 (3): * Single equations (assignments): 3 * 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.909e-05/0.4027, allocations: 91.25 kB / 0.7234 GB, free: 9.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001873/0.4029, allocations: 75.86 kB / 0.7235 GB, free: 8.996 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4029, allocations: 0 / 0.7235 GB, free: 8.996 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.833e-05/0.4029, allocations: 31.97 kB / 0.7235 GB, free: 8.965 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.4032, allocations: 7.984 kB / 0.7235 GB, free: 8.957 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002608/0.4034, allocations: 155.1 kB / 0.7237 GB, free: 8.773 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.635e-05/0.4035, allocations: 67.34 kB / 0.7237 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.4035, allocations: 8.5 kB / 0.7237 GB, free: 8.676 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/0.4035, allocations: 0 / 0.7237 GB, free: 8.676 MB / 0.6042 GB Notification: Performance of Templates: time 0.001529/0.405, allocations: 0.7632 MB / 0.7245 GB, free: 7.914 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.212726306170225] Failed to read output from testmodel.py, exit status != 0: 0.4104790270794183 0.41831331800000005 0.017496103000000002 Calling exit ...