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.001061/0.001061, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001199/0.00226, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009254/0.0009254, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001206/0.002131, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.019/1.019, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09269/1.111, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.7604/0.7604, allocations: 154.6 MB / 398.8 MB, free: 408 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3044/1.065, allocations: 49.05 MB / 447.8 MB, free: 6.617 MB / 426.7 MB " [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.603e-06/1.603e-06, allocations: 0.9844 kB / 449.2 MB, free: 5.301 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.994e-05, allocations: 2.312 kB / 449.2 MB, free: 5.297 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001429/0.001448, allocations: 0.8146 MB / 450 MB, free: 4.531 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009032/0.002352, allocations: 0.9117 MB / 450.9 MB, free: 3.609 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.002387, allocations: 2.812 kB / 450.9 MB, free: 3.609 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.002413, allocations: 7.875 kB / 450.9 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.921e-05/0.002462, allocations: 11.55 kB / 450.9 MB, free: 3.594 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.044e-05/0.002542, allocations: 39.94 kB / 450.9 MB, free: 3.555 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.704e-05/0.002629, allocations: 77.59 kB / 451 MB, free: 3.484 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.047e-05/0.00271, allocations: 32.55 kB / 451 MB, free: 3.453 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.002812, allocations: 62.03 kB / 451.1 MB, free: 3.398 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.615e-05/0.002878, allocations: 38.91 kB / 451.1 MB, free: 3.363 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.002902, allocations: 12.48 kB / 451.2 MB, free: 3.352 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.002914, allocations: 8 kB / 451.2 MB, free: 3.344 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.002934, allocations: 13.94 kB / 451.2 MB, free: 3.336 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.002959, allocations: 18.41 kB / 451.2 MB, free: 3.32 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.003117, allocations: 52.58 kB / 451.2 MB, free: 3.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.003127, allocations: 0 / 451.2 MB, free: 3.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.003128, allocations: 0 / 451.2 MB, free: 3.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.003137, allocations: 0 / 451.2 MB, free: 3.27 MB / 426.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.0004623/0.003599, allocations: 296 kB / 451.5 MB, free: 2.961 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.003638, allocations: 11.97 kB / 451.5 MB, free: 2.949 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.003683, allocations: 8.938 kB / 451.6 MB, free: 2.941 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.003801, allocations: 120.2 kB / 451.7 MB, free: 2.801 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.003827, allocations: 8.375 kB / 451.7 MB, free: 2.793 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.003845, allocations: 4.375 kB / 451.7 MB, free: 2.789 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.004049, allocations: 88.58 kB / 451.8 MB, free: 2.695 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.004058, allocations: 3.938 kB / 451.8 MB, free: 2.691 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.004071, allocations: 7.984 kB / 451.8 MB, free: 2.684 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.004078, allocations: 0.9062 kB / 451.8 MB, free: 2.684 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.244e-05/0.00414, allocations: 22.72 kB / 451.8 MB, free: 2.664 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.004509, allocations: 200.1 kB / 452 MB, free: 2.453 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.004809, allocations: 63.31 kB / 452.1 MB, free: 2.383 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.005e-05/0.004849, allocations: 22.12 kB / 452.1 MB, free: 2.359 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.004865, allocations: 0 / 452.1 MB, free: 2.359 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.004891, allocations: 38.5 kB / 452.1 MB, free: 2.312 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.004892, allocations: 4.531 kB / 452.1 MB, free: 2.309 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001802/0.005073, allocations: 58.59 kB / 452.2 MB, free: 2.246 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.005104, allocations: 56.41 kB / 452.2 MB, free: 2.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.159e-05/0.005185, allocations: 122.7 kB / 452.4 MB, free: 2.047 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.005202, allocations: 33.7 kB / 452.4 MB, free: 2.008 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.005244, allocations: 88.78 kB / 452.5 MB, free: 1.918 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.005271, allocations: 23.83 kB / 452.5 MB, free: 1.895 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/0.005327, allocations: 26.86 kB / 452.5 MB, free: 1.863 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.005419, allocations: 314.8 kB / 452.8 MB, free: 1.547 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.227e-05/0.005452, allocations: 11.98 kB / 452.9 MB, free: 1.535 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.572e-05/0.005477, allocations: 16.59 kB / 452.9 MB, free: 1.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.725e-05/0.005545, allocations: 37.84 kB / 452.9 MB, free: 1.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.005548, allocations: 3.938 kB / 452.9 MB, free: 1.477 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001036/0.005652, allocations: 50.41 kB / 453 MB, free: 1.422 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.005667, allocations: 9.156 kB / 453 MB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.005674, allocations: 5.203 kB / 453 MB, free: 1.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.005688, allocations: 0 / 453 MB, free: 1.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.005806, allocations: 25.92 kB / 453 MB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.005809, allocations: 0 / 453 MB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.005859, allocations: 15.86 kB / 453 MB, free: 1.371 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.005867, allocations: 0 / 453 MB, free: 1.371 MB / 426.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 7.609e-05/0.005943, allocations: 114.5 kB / 453.1 MB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.005971, allocations: 11.98 kB / 453.1 MB, free: 1.238 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.005997, allocations: 9.375 kB / 453.1 MB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.005999, allocations: 0 / 453.1 MB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.006001, allocations: 4 kB / 453.1 MB, free: 1.223 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.006004, allocations: 0.6562 kB / 453.1 MB, free: 1.223 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.006148, allocations: 89.81 kB / 453.2 MB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.006149, allocations: 1.25 kB / 453.2 MB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.494e-05/0.006244, allocations: 19.98 kB / 453.3 MB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.006255, allocations: 9.109 kB / 453.3 MB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.006257, allocations: 1.031 kB / 453.3 MB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.006267, allocations: 7.984 kB / 453.3 MB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.006269, allocations: 4.688 kB / 453.3 MB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.00627, allocations: 0 / 453.3 MB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.006418, allocations: 160.3 kB / 453.4 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.006432, allocations: 0 / 453.4 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-05/0.006517, allocations: 12.61 kB / 453.4 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.006584, allocations: 20.59 kB / 453.5 MB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.006593, allocations: 4 kB / 453.5 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.671e-05/0.00662, allocations: 24.19 kB / 453.5 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00662, allocations: 0 / 453.5 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000214/0.006834, allocations: 20.58 kB / 453.5 MB, free: 0.8281 MB / 426.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.967e-05/0.006923, allocations: 81.61 kB / 453.6 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.007028, allocations: 33.44 kB / 453.6 MB, free: 0.707 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.007035, allocations: 0 / 453.6 MB, free: 0.707 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.66e-05/0.007101, allocations: 41.58 kB / 453.7 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.007326, allocations: 75.36 kB / 453.7 MB, free: 0.582 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.007821, allocations: 173.3 kB / 453.9 MB, free: 396 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.39e-05/0.007865, allocations: 60.97 kB / 454 MB, free: 316 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.992e-05/0.007925, allocations: 14.47 kB / 454 MB, free: 304 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.008039, allocations: 68.27 kB / 454.1 MB, free: 236 kB / 426.7 MB Notification: Performance of SimCode: time 8.71e-07/0.008039, allocations: 0 / 454.1 MB, free: 236 kB / 426.7 MB Notification: Performance of Templates: time 0.004306/0.01235, allocations: 1.667 MB / 455.7 MB, free: 14.66 MB / 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5065189581364393]