Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.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.0008058/0.0008058, allocations: 84.44 kB / 19.91 MB, free: 4 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.0008966/0.0008966, allocations: 169.2 kB / 23.19 MB, free: 1.375 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.9013/0.9013, allocations: 177.2 MB / 203.6 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.7202/0.7202, allocations: 154.9 MB / 414.9 MB, free: 0.5352 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract") [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.0009193/0.0009193, allocations: 74.23 kB / 0.6199 GB, free: 12.79 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4989/0.4998, allocations: 102 MB / 0.7194 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001684/0.5015, allocations: 0.7435 MB / 0.7202 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008333/0.5024, allocations: 0.8852 MB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.446e-05/0.5024, allocations: 5.344 kB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.692e-05/0.5024, allocations: 5.156 kB / 0.721 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.171e-05/0.5025, allocations: 10.39 kB / 0.721 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.5027, allocations: 41.03 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.5029, allocations: 87.03 kB / 0.7212 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.503, allocations: 26.75 kB / 0.7212 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.5031, allocations: 54.12 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.203e-05/0.5032, allocations: 44.42 kB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.5032, allocations: 7.875 kB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 2.012e-05/0.5032, allocations: 12.22 kB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.028e-05/0.5033, allocations: 22.56 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.5033, allocations: 27.61 kB / 0.7214 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.5035, allocations: 103.8 kB / 0.7215 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5035, allocations: 0 / 0.7215 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5035, allocations: 0 / 0.7215 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.5035, allocations: 0 / 0.7215 GB, free: 22.13 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006339/0.5041, allocations: 318.9 kB / 0.7218 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.5042, allocations: 11.11 kB / 0.7218 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.5042, allocations: 13.95 kB / 0.7218 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.5043, allocations: 128.2 kB / 0.7219 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.5043, allocations: 7.906 kB / 0.7219 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.5043, allocations: 7.531 kB / 0.7219 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.5046, allocations: 105.5 kB / 0.722 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.5046, allocations: 0 / 0.722 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.5046, allocations: 5.062 kB / 0.722 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5046, allocations: 1.094 kB / 0.722 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002148/0.5048, allocations: 100.6 kB / 0.7221 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.5053, allocations: 271.2 kB / 0.7224 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.5057, allocations: 117.1 kB / 0.7225 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.5058, allocations: 56.78 kB / 0.7225 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.5058, allocations: 4.656 kB / 0.7226 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.136e-05/0.5058, allocations: 32.75 kB / 0.7226 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.5058, allocations: 3.984 kB / 0.7226 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004004/0.5062, allocations: 186 kB / 0.7228 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.485e-05/0.5062, allocations: 53.27 kB / 0.7228 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.378e-05/0.5063, allocations: 123.8 kB / 0.7229 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.5063, allocations: 27.48 kB / 0.723 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.5063, allocations: 101.4 kB / 0.7231 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.5063, allocations: 15.64 kB / 0.7231 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.5064, allocations: 27.22 kB / 0.7231 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.985e-05/0.5064, allocations: 319.6 kB / 0.7234 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.934e-05/0.5065, allocations: 44.03 kB / 0.7234 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.589e-05/0.5066, allocations: 48.78 kB / 0.7235 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.5068, allocations: 96.41 kB / 0.7236 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5068, allocations: 0 / 0.7236 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002205/0.507, allocations: 146.3 kB / 0.7237 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.507, allocations: 5.969 kB / 0.7237 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.507, allocations: 4 kB / 0.7237 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.507, allocations: 1.359 kB / 0.7237 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.461e-05/0.5071, allocations: 23.7 kB / 0.7238 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.5071, allocations: 1.766 kB / 0.7238 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.153e-05/0.5072, allocations: 15.97 kB / 0.7238 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.5072, allocations: 7.828 kB / 0.7238 GB, free: 20.41 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: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.712e-05/0.5072, allocations: 114.4 kB / 0.7239 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.5073, allocations: 8.188 kB / 0.7239 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.06e-05/0.5073, allocations: 14.17 kB / 0.7239 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.5073, allocations: 4.547 kB / 0.7239 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5073, allocations: 5.844 kB / 0.7239 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.5073, allocations: 10.42 kB / 0.7239 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.5073, allocations: 5.75 kB / 0.7239 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.631e-05/0.5074, allocations: 20.39 kB / 0.724 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.5074, allocations: 21.67 kB / 0.724 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002642/0.5077, allocations: 225.7 kB / 0.7242 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002425/0.5079, allocations: 314.1 kB / 0.7245 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000116/0.5081, allocations: 55.31 kB / 0.7245 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.237e-05/0.5081, allocations: 97.28 kB / 0.7246 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of Backend: time 4.21e-07/0.5081, allocations: 5.188 kB / 0.7246 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003339/0.5084, allocations: 125.9 kB / 0.7248 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003686/0.5088, allocations: 0.6083 MB / 0.7254 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of Templates: time 0.003489/0.5123, allocations: 1.929 MB / 0.7272 GB, free: 18.94 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.158082543173805] Failed to read output from testmodel.py, exit status != 0: 0.518123417859897 0.531186395 0.025854135 Calling exit ...