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.0008454/0.0008454, allocations: 76.45 kB / 19.9 MB, free: 16 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.0008084/0.0008084, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9311/0.9311, allocations: 177.2 MB / 203.6 MB, free: 5.746 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.7228/0.7228, allocations: 154.9 MB / 414.9 MB, free: 496 kB / 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.001301/0.001301, allocations: 75.88 kB / 0.6199 GB, free: 12.73 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.4888/0.4901, allocations: 102 MB / 0.7195 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001351/0.4914, allocations: 0.7403 MB / 0.7202 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000663/0.4921, allocations: 0.8781 MB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.037e-05/0.4921, allocations: 5.062 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.4922, allocations: 9.281 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.1e-05/0.4922, allocations: 13.84 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.4924, allocations: 39.34 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.483e-05/0.4925, allocations: 89.53 kB / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.4926, allocations: 26.05 kB / 0.7212 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.769e-05/0.4927, allocations: 51.5 kB / 0.7213 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.108e-05/0.4928, allocations: 48.38 kB / 0.7213 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.4928, allocations: 7.406 kB / 0.7213 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.4928, allocations: 11.91 kB / 0.7213 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.4928, allocations: 14.69 kB / 0.7213 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.4929, allocations: 31.58 kB / 0.7214 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.493, allocations: 94.66 kB / 0.7215 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.493, allocations: 1.25 kB / 0.7215 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.793e-06/0.493, allocations: 0 / 0.7215 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.493, allocations: 0 / 0.7215 GB, free: 22.16 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.0004144/0.4934, allocations: 318.5 kB / 0.7218 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.4934, allocations: 12.14 kB / 0.7218 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.4935, allocations: 12.14 kB / 0.7218 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.681e-05/0.4936, allocations: 122.2 kB / 0.7219 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.4936, allocations: 6.594 kB / 0.7219 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.4936, allocations: 9.125 kB / 0.7219 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.4938, allocations: 104.1 kB / 0.722 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.4938, allocations: 0.7969 kB / 0.722 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.4938, allocations: 5.531 kB / 0.722 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.4938, allocations: 1.125 kB / 0.722 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.494, allocations: 96.61 kB / 0.7221 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.4944, allocations: 271.7 kB / 0.7224 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000365/0.4947, allocations: 116.1 kB / 0.7225 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.4948, allocations: 60.91 kB / 0.7225 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.4949, allocations: 5.062 kB / 0.7225 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.4949, allocations: 36.69 kB / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.4949, allocations: 0 / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000412/0.4953, allocations: 182.5 kB / 0.7228 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.4953, allocations: 52.34 kB / 0.7228 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.563e-05/0.4954, allocations: 127.4 kB / 0.7229 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.4954, allocations: 27.56 kB / 0.723 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/0.4954, allocations: 100.8 kB / 0.723 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.4954, allocations: 16.8 kB / 0.7231 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.4955, allocations: 27.14 kB / 0.7231 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.218e-05/0.4955, allocations: 319.4 kB / 0.7234 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.966e-05/0.4956, allocations: 42.95 kB / 0.7234 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.528e-05/0.4957, allocations: 52.7 kB / 0.7235 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.4959, allocations: 96.72 kB / 0.7236 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4959, allocations: 1.5 kB / 0.7236 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002331/0.4961, allocations: 137.4 kB / 0.7237 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.4961, allocations: 8.812 kB / 0.7237 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4961, allocations: 2.062 kB / 0.7237 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.4962, allocations: 0 / 0.7237 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.056e-05/0.4962, allocations: 23.72 kB / 0.7237 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.4963, allocations: 1.062 kB / 0.7237 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.699e-05/0.4963, allocations: 21.12 kB / 0.7238 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.4963, allocations: 3.312 kB / 0.7238 GB, free: 20.45 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.901e-05/0.4964, allocations: 115 kB / 0.7239 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.4964, allocations: 12.22 kB / 0.7239 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.967e-05/0.4964, allocations: 10.19 kB / 0.7239 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4964, allocations: 1.125 kB / 0.7239 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4964, allocations: 0.8438 kB / 0.7239 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4964, allocations: 5.062 kB / 0.7239 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.637e-05/0.4965, allocations: 141.6 kB / 0.724 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4965, allocations: 3.938 kB / 0.724 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.152e-05/0.4966, allocations: 28.58 kB / 0.7241 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.4966, allocations: 0 / 0.7241 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.4966, allocations: 2.188 kB / 0.7241 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4966, allocations: 5.219 kB / 0.7241 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.4966, allocations: 0 / 0.7241 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.4969, allocations: 244.5 kB / 0.7243 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.4969, allocations: 7.031 kB / 0.7243 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.4969, allocations: 0.9844 kB / 0.7243 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-05/0.497, allocations: 12.86 kB / 0.7243 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/0.497, allocations: 20.48 kB / 0.7244 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.497, allocations: 8.188 kB / 0.7244 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.095e-05/0.4971, allocations: 101.2 kB / 0.7245 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4971, allocations: 0 / 0.7245 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001546/0.4972, allocations: 16.09 kB / 0.7245 GB, free: 19.88 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 8.327e-05/0.4973, allocations: 97.86 kB / 0.7246 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002752/0.4976, allocations: 102.2 kB / 0.7247 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.4976, allocations: 0 / 0.7247 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.4977, allocations: 64.06 kB / 0.7247 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.4979, allocations: 9.625 kB / 0.7247 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.4983, allocations: 177.9 kB / 0.7249 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.123e-05/0.4983, allocations: 82 kB / 0.725 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.823e-05/0.4984, allocations: 11.95 kB / 0.725 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.4984, allocations: 19.05 kB / 0.725 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/0.4984, allocations: 4 kB / 0.725 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of Templates: time 0.003802/0.5022, allocations: 1.715 MB / 0.7267 GB, free: 19.35 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.407636975985952] Failed to read output from testmodel.py, exit status != 0: 0.5089914429700002 0.518534209 0.023786297 Calling exit ...