Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.0008529/0.0008529, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.0008675/0.0008675, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9407/0.9407, 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.7296/0.7296, allocations: 154.7 MB / 414.7 MB, free: 0.7578 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [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.001512/0.001512, allocations: 68.66 kB / 0.6196 GB, free: 13.03 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.4864/0.4879, allocations: 102 MB / 0.7192 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001508/0.4894, allocations: 0.5707 MB / 0.7197 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 4.928e-05/0.4895, allocations: 4 kB / 0.7197 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/0.4895, allocations: 1.094 kB / 0.7197 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.4895, allocations: 3.938 kB / 0.7197 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.56e-05/0.4895, allocations: 0 / 0.7197 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 3.222e-05/0.4896, allocations: 5.781 kB / 0.7197 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.483e-05/0.4896, allocations: 1.062 kB / 0.7197 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.741e-05/0.4897, allocations: 6.297 kB / 0.7197 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.264e-05/0.4897, allocations: 8.984 kB / 0.7197 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 2.056e-05/0.4897, allocations: 0.6094 kB / 0.7197 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.4897, allocations: 0.9375 kB / 0.7197 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 3.777e-06/0.4898, allocations: 0 / 0.7197 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.4898, allocations: 1.031 kB / 0.7197 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.4898, allocations: 4 kB / 0.7198 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 7.036e-05/0.4899, allocations: 2.547 kB / 0.7198 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4899, allocations: 1.062 kB / 0.7198 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4899, allocations: 4 kB / 0.7198 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.4899, allocations: 0 / 0.7198 GB, free: 23.25 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002304/0.4901, allocations: 236.5 kB / 0.72 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.4901, allocations: 9.562 kB / 0.72 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.4902, allocations: 2.125 kB / 0.72 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.507e-05/0.4902, allocations: 108.3 kB / 0.7201 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.4903, allocations: 9.375 kB / 0.7201 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.4903, allocations: 4.922 kB / 0.7201 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.028e-05/0.4903, allocations: 29.02 kB / 0.7201 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4904, allocations: 5.312 kB / 0.7201 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.4904, allocations: 3.938 kB / 0.7201 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.4904, allocations: 0 / 0.7201 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.429e-05/0.4904, allocations: 1.188 kB / 0.7202 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.4906, allocations: 330.2 kB / 0.7205 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.587e-05/0.4906, allocations: 171.5 kB / 0.7206 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.456e-05/0.4906, allocations: 80.89 kB / 0.7207 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.4906, allocations: 80.41 kB / 0.7208 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.4907, allocations: 107.4 kB / 0.7209 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 5.81e-07/0.4907, allocations: 1.125 kB / 0.7209 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.148e-05/0.4907, allocations: 26.31 kB / 0.7209 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.689e-05/0.4907, allocations: 64.38 kB / 0.721 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.491e-05/0.4908, allocations: 92.7 kB / 0.7211 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.288e-06/0.4908, allocations: 26.5 kB / 0.7211 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.586e-05/0.4908, allocations: 81.3 kB / 0.7212 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-06/0.4908, allocations: 0 / 0.7212 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/0.4908, allocations: 11.34 kB / 0.7212 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.81e-05/0.4909, allocations: 312.6 kB / 0.7215 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-06/0.4909, allocations: 5.125 kB / 0.7215 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-06/0.4909, allocations: 0 / 0.7215 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.388e-06/0.4909, allocations: 76.53 kB / 0.7216 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.4909, allocations: 79.41 kB / 0.7216 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.04e-05/0.4909, allocations: 33.23 kB / 0.7217 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.4909, allocations: 80.59 kB / 0.7217 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.491, allocations: 89 kB / 0.7218 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.491, allocations: 152.8 kB / 0.722 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.109e-05/0.491, allocations: 80.41 kB / 0.722 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/0.491, allocations: 152.7 kB / 0.7222 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/0.491, allocations: 77.17 kB / 0.7223 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.4911, allocations: 80.34 kB / 0.7223 GB, free: 20.49 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 (0): * Single equations (assignments): 0 * 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 4.163e-05/0.4911, allocations: 264.9 kB / 0.7226 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.4911, allocations: 111.3 kB / 0.7227 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.4911, allocations: 113.5 kB / 0.7228 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.4912, allocations: 183.1 kB / 0.723 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.4912, allocations: 107 kB / 0.7231 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.4912, allocations: 107.8 kB / 0.7232 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.4912, allocations: 183.4 kB / 0.7234 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.121e-05/0.4912, allocations: 106.7 kB / 0.7235 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.4913, allocations: 177.9 kB / 0.7236 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 2.749e-05/0.4913, allocations: 266.9 kB / 0.7239 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 5.431e-05/0.4913, allocations: 381.3 kB / 0.7242 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.625e-05/0.4914, allocations: 107.1 kB / 0.7244 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.685e-05/0.4914, allocations: 80.88 kB / 0.7244 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of Backend: time 1.3e-07/0.4914, allocations: 1.594 kB / 0.7244 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.4916, allocations: 73.45 kB / 0.7245 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0002347/0.4918, allocations: 0.9031 MB / 0.7254 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of Templates: time 0.001293/0.4931, allocations: 169.5 kB / 0.7255 GB, free: 17.21 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.216173252090812] Failed to read output from testmodel.py, exit status != 0: 0.5001759689766914 0.5078310580000001 0.016226375 Calling exit ...