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.001352/0.001352, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001176/0.001176, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.091/1.091, allocations: 177.1 MB / 203.8 MB, free: 5.48 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-545:108: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-545:116: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.8424/0.8424, allocations: 154.6 MB / 414.9 MB, free: 0.5078 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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 480 MB, free: 6.867 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.095e-05, allocations: 2.312 kB / 480.1 MB, free: 6.863 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001652/0.001673, allocations: 0.811 MB / 480.9 MB, free: 6.09 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008479/0.002521, allocations: 0.9132 MB / 481.8 MB, free: 5.168 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.002561, allocations: 5.094 kB / 481.8 MB, free: 5.164 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.002588, allocations: 7.922 kB / 481.8 MB, free: 5.156 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.297e-05/0.002661, allocations: 8.172 kB / 481.8 MB, free: 5.152 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.002786, allocations: 43.88 kB / 481.8 MB, free: 5.109 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.002e-05/0.002876, allocations: 87.08 kB / 481.9 MB, free: 5.035 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.252e-05/0.002948, allocations: 16.91 kB / 481.9 MB, free: 5.02 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.385e-05/0.003042, allocations: 55.45 kB / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.145e-05/0.003103, allocations: 40.22 kB / 482 MB, free: 4.934 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.003123, allocations: 8 kB / 482 MB, free: 4.926 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.062e-05/0.003133, allocations: 8 kB / 482.1 MB, free: 4.918 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.003155, allocations: 17.45 kB / 482.1 MB, free: 4.902 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/0.003179, allocations: 28.69 kB / 482.1 MB, free: 4.875 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.003286, allocations: 67.72 kB / 482.2 MB, free: 4.809 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003288, allocations: 1.438 kB / 482.2 MB, free: 4.809 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.003289, allocations: 0 / 482.2 MB, free: 4.809 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.003293, allocations: 4 kB / 482.2 MB, free: 4.805 MB / 442.7 MB 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.0003175/0.003611, allocations: 277.4 kB / 482.4 MB, free: 4.516 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.003641, allocations: 12.03 kB / 482.4 MB, free: 4.504 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.003671, allocations: 9.984 kB / 482.5 MB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.131e-05/0.003752, allocations: 125.7 kB / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.003768, allocations: 384 / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.003777, allocations: 8.938 kB / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.00391, allocations: 97.45 kB / 482.7 MB, free: 4.238 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.003919, allocations: 3.938 kB / 482.7 MB, free: 4.234 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.003927, allocations: 0 / 482.7 MB, free: 4.234 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.003933, allocations: 4 kB / 482.7 MB, free: 4.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.159e-05/0.003974, allocations: 15.98 kB / 482.7 MB, free: 4.215 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.00426, allocations: 201.3 kB / 482.9 MB, free: 4.004 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.004477, allocations: 67.25 kB / 483 MB, free: 3.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.004507, allocations: 21.72 kB / 483 MB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.004522, allocations: 4 kB / 483 MB, free: 3.902 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.004542, allocations: 30.56 kB / 483 MB, free: 3.863 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.004543, allocations: 1.062 kB / 483 MB, free: 3.863 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001443/0.004687, allocations: 66.23 kB / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.004714, allocations: 51.41 kB / 483.1 MB, free: 3.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.577e-05/0.00478, allocations: 142.8 kB / 483.3 MB, free: 3.582 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.004792, allocations: 25.7 kB / 483.3 MB, free: 3.551 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.004828, allocations: 88.75 kB / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.004852, allocations: 24.42 kB / 483.4 MB, free: 3.438 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.004884, allocations: 21.69 kB / 483.4 MB, free: 3.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.846e-05/0.004962, allocations: 319.5 kB / 483.8 MB, free: 3.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.004984, allocations: 8.609 kB / 483.8 MB, free: 3.082 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.059e-05/0.005005, allocations: 11.98 kB / 483.8 MB, free: 3.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.856e-05/0.005054, allocations: 26.03 kB / 483.8 MB, free: 3.043 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.005056, allocations: 4.469 kB / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.174e-05/0.005148, allocations: 71.22 kB / 483.9 MB, free: 2.965 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.005159, allocations: 5.25 kB / 483.9 MB, free: 2.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.005164, allocations: 4 kB / 483.9 MB, free: 2.957 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.005176, allocations: 0 / 483.9 MB, free: 2.957 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.995e-05/0.005256, allocations: 24.88 kB / 483.9 MB, free: 2.934 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.005259, allocations: 0 / 483.9 MB, free: 2.934 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.518e-05/0.005294, allocations: 4.75 kB / 483.9 MB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.005301, allocations: 3.984 kB / 483.9 MB, free: 2.926 MB / 442.7 MB 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.432e-05/0.005366, allocations: 118.4 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.005385, allocations: 5.312 kB / 484 MB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/0.005407, allocations: 8.438 kB / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.00541, allocations: 4 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.005412, allocations: 0 / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.005416, allocations: 6.75 kB / 484.1 MB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.005522, allocations: 101.7 kB / 484.2 MB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.005522, allocations: 0 / 484.2 MB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.005576, allocations: 15.98 kB / 484.2 MB, free: 2.648 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.00558, allocations: 8.516 kB / 484.2 MB, free: 2.641 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.005587, allocations: 4 kB / 484.2 MB, free: 2.637 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.005587, allocations: 1.312 kB / 484.2 MB, free: 2.637 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.005588, allocations: 0 / 484.2 MB, free: 2.637 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.005692, allocations: 147.5 kB / 484.3 MB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.005702, allocations: 16.58 kB / 484.3 MB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.005713, allocations: 4 kB / 484.3 MB, free: 2.457 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.919e-05/0.005762, allocations: 9.672 kB / 484.4 MB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.005818, allocations: 19.97 kB / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.005823, allocations: 3.938 kB / 484.4 MB, free: 2.426 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.034e-05/0.005843, allocations: 28.83 kB / 484.4 MB, free: 2.395 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005843, allocations: 1.062 kB / 484.4 MB, free: 2.395 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001315/0.005975, allocations: 12 kB / 484.4 MB, free: 2.383 MB / 442.7 MB 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.239e-05/0.006057, allocations: 74.39 kB / 484.5 MB, free: 2.305 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.453e-05/0.006152, allocations: 38 kB / 484.5 MB, free: 2.266 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.006155, allocations: 0 / 484.5 MB, free: 2.266 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.319e-05/0.006198, allocations: 37.53 kB / 484.6 MB, free: 2.227 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.006349, allocations: 12.94 kB / 484.6 MB, free: 2.215 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.006632, allocations: 167.3 kB / 484.7 MB, free: 2.027 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.375e-05/0.006666, allocations: 59.36 kB / 484.8 MB, free: 1.949 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.268e-05/0.006708, allocations: 11.33 kB / 484.8 MB, free: 1.941 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.754e-05/0.006786, allocations: 69.7 kB / 484.9 MB, free: 1.875 MB / 442.7 MB Notification: Performance of SimCode: time 6.91e-07/0.006787, allocations: 0 / 484.9 MB, free: 1.875 MB / 442.7 MB Notification: Performance of Templates: time 0.003126/0.009913, allocations: 1.696 MB / 486.6 MB, free: 300 kB / 442.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.744123007170856]