Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.000801/0.000801, allocations: 72.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.0007745/0.0007745, 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.8383/0.8383, allocations: 177.2 MB / 203.6 MB, free: 5.754 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.6866/0.6866, 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.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.0009326/0.0009326, allocations: 67.91 kB / 0.6196 GB, free: 12.02 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.4076/0.4085, allocations: 102 MB / 0.7191 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001431/0.41, allocations: 0.7347 MB / 0.7198 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008385/0.4108, allocations: 0.885 MB / 0.7207 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.796e-05/0.4109, allocations: 4 kB / 0.7207 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.429e-05/0.4109, allocations: 7.875 kB / 0.7207 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.821e-05/0.411, allocations: 7.922 kB / 0.7207 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.4111, allocations: 42.14 kB / 0.7208 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.668e-05/0.4112, allocations: 87.77 kB / 0.7208 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.4113, allocations: 23.91 kB / 0.7209 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.001e-05/0.4114, allocations: 51.89 kB / 0.7209 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.007e-05/0.4115, allocations: 55.75 kB / 0.721 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.4115, allocations: 8 kB / 0.721 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.4115, allocations: 8 kB / 0.721 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.4116, allocations: 11.98 kB / 0.721 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.4116, allocations: 31.86 kB / 0.721 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.4117, allocations: 103.6 kB / 0.7211 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.4117, allocations: 4 kB / 0.7211 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4117, allocations: 0 / 0.7211 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.4117, allocations: 0 / 0.7211 GB, free: 11.61 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005298/0.4122, allocations: 326 kB / 0.7214 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.4123, allocations: 8.031 kB / 0.7215 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.4123, allocations: 8.891 kB / 0.7215 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.4125, allocations: 122.4 kB / 0.7216 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.4125, allocations: 384 / 0.7216 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.4125, allocations: 12.12 kB / 0.7216 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.4127, allocations: 109.5 kB / 0.7217 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4128, allocations: 0 / 0.7217 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.4128, allocations: 4 kB / 0.7217 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.4128, allocations: 4 kB / 0.7217 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.413, allocations: 103.8 kB / 0.7218 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.4134, allocations: 264.4 kB / 0.7221 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/0.4138, allocations: 122.5 kB / 0.7222 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.4139, allocations: 52.81 kB / 0.7222 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.4139, allocations: 4 kB / 0.7222 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.4139, allocations: 34.5 kB / 0.7223 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.4139, allocations: 0 / 0.7223 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004037/0.4143, allocations: 181.5 kB / 0.7224 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.4144, allocations: 59.33 kB / 0.7225 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.073e-05/0.4145, allocations: 124.8 kB / 0.7226 GB, free: 9.961 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.4145, allocations: 25.7 kB / 0.7226 GB, free: 9.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.4145, allocations: 100 kB / 0.7227 GB, free: 9.828 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.4145, allocations: 19.86 kB / 0.7227 GB, free: 9.809 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.4146, allocations: 21.7 kB / 0.7228 GB, free: 9.781 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.4147, allocations: 322.8 kB / 0.7231 GB, free: 9.457 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.4148, allocations: 51.94 kB / 0.7231 GB, free: 9.406 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.318e-05/0.4149, allocations: 47.94 kB / 0.7232 GB, free: 9.359 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.415, allocations: 92.78 kB / 0.7233 GB, free: 9.266 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.415, allocations: 0 / 0.7233 GB, free: 9.266 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002374/0.4153, allocations: 142 kB / 0.7234 GB, free: 9.121 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.4153, allocations: 7.938 kB / 0.7234 GB, free: 9.113 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.4153, allocations: 4 kB / 0.7234 GB, free: 9.109 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.4153, allocations: 0 / 0.7234 GB, free: 9.109 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.919e-05/0.4154, allocations: 27.97 kB / 0.7234 GB, free: 9.082 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4154, allocations: 4.062 kB / 0.7234 GB, free: 9.078 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.39e-05/0.4155, allocations: 15.92 kB / 0.7234 GB, free: 9.062 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.4155, allocations: 4 kB / 0.7235 GB, free: 9.059 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: 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 6.995e-05/0.4155, allocations: 118.8 kB / 0.7236 GB, free: 8.934 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.4156, allocations: 7.953 kB / 0.7236 GB, free: 8.926 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.16e-05/0.4156, allocations: 8.438 kB / 0.7236 GB, free: 8.918 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.4156, allocations: 4 kB / 0.7236 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4156, allocations: 0 / 0.7236 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4156, allocations: 3.938 kB / 0.7236 GB, free: 8.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.4157, allocations: 137.2 kB / 0.7237 GB, free: 8.746 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4157, allocations: 3.938 kB / 0.7237 GB, free: 8.742 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.4158, allocations: 27.97 kB / 0.7238 GB, free: 8.715 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.4158, allocations: 4 kB / 0.7238 GB, free: 8.711 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.4158, allocations: 3.938 kB / 0.7238 GB, free: 8.707 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.4158, allocations: 11.92 kB / 0.7238 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4158, allocations: 0 / 0.7238 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.4161, allocations: 227.4 kB / 0.724 GB, free: 8.457 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.4161, allocations: 11.94 kB / 0.724 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.4161, allocations: 4 kB / 0.724 GB, free: 8.441 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.4162, allocations: 15.98 kB / 0.724 GB, free: 8.426 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.4162, allocations: 19.97 kB / 0.724 GB, free: 8.406 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.4162, allocations: 4 kB / 0.724 GB, free: 8.402 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.744e-05/0.4163, allocations: 91.27 kB / 0.7241 GB, free: 8.312 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4163, allocations: 0 / 0.7241 GB, free: 8.312 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001647/0.4164, allocations: 19.94 kB / 0.7241 GB, free: 8.293 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: 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.98e-05/0.4165, allocations: 102.7 kB / 0.7242 GB, free: 8.188 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002536/0.4168, allocations: 103.9 kB / 0.7243 GB, free: 8.086 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4168, allocations: 0 / 0.7243 GB, free: 8.086 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.4169, allocations: 55.95 kB / 0.7244 GB, free: 8.031 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.4172, allocations: 15.92 kB / 0.7244 GB, free: 8.016 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005823/0.4177, allocations: 203.8 kB / 0.7246 GB, free: 7.781 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.886e-05/0.4178, allocations: 83.02 kB / 0.7247 GB, free: 7.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.4178, allocations: 24.47 kB / 0.7247 GB, free: 7.656 MB / 0.6042 GB Notification: Performance of SimCode: time 5e-07/0.4178, allocations: 0 / 0.7247 GB, free: 7.656 MB / 0.6042 GB Notification: Performance of Templates: time 0.001932/0.4198, allocations: 1.265 MB / 0.7259 GB, free: 6.402 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.082538186106831] Failed to read output from testmodel.py, exit status != 0: 0.42514821887016296 0.43397573199999995 0.020542670000000002 Calling exit ...