Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.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.0006705/0.0006705, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009334/0.001604, 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.001056/0.001056, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00136/0.002416, 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.057/1.057, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1191/1.176, allocations: 53.66 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.8009/0.8009, allocations: 154.6 MB / 398.8 MB, free: 376 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.2926/1.094, allocations: 49.05 MB / 447.8 MB, free: 6.582 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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 449.2 MB, free: 5.211 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.343e-05, allocations: 4.781 kB / 449.2 MB, free: 5.207 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001401/0.001424, allocations: 0.7432 MB / 450 MB, free: 4.504 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007278/0.002152, allocations: 0.8545 MB / 450.8 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.002185, allocations: 4 kB / 450.8 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.00221, allocations: 3.938 kB / 450.8 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.041e-05/0.002251, allocations: 7.328 kB / 450.8 MB, free: 3.633 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.287e-05/0.002314, allocations: 11.98 kB / 450.8 MB, free: 3.621 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.943e-05/0.002393, allocations: 45.38 kB / 450.9 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.12e-05/0.002474, allocations: 15.97 kB / 450.9 MB, free: 3.57 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.177e-05/0.002556, allocations: 23.16 kB / 450.9 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.898e-05/0.002605, allocations: 20.73 kB / 450.9 MB, free: 3.531 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.002626, allocations: 5.406 kB / 450.9 MB, free: 3.527 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-06/0.002634, allocations: 4 kB / 451 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.002651, allocations: 8.062 kB / 451 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.859e-05/0.002669, allocations: 5.75 kB / 451 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 7.511e-05/0.002745, allocations: 25.67 kB / 451 MB, free: 3.488 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.002755, allocations: 0.875 kB / 451 MB, free: 3.488 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.002756, allocations: 4 kB / 451 MB, free: 3.484 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.002769, allocations: 0.875 kB / 451 MB, free: 3.484 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003597/0.003129, allocations: 255.9 kB / 451.2 MB, free: 3.211 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.003161, allocations: 12.03 kB / 451.3 MB, free: 3.199 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.003185, allocations: 4.875 kB / 451.3 MB, free: 3.195 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.875e-05/0.003284, allocations: 121.7 kB / 451.4 MB, free: 3.051 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-06/0.003293, allocations: 5.062 kB / 451.4 MB, free: 3.047 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.003305, allocations: 4.094 kB / 451.4 MB, free: 3.047 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.003417, allocations: 62.94 kB / 451.5 MB, free: 2.977 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.003424, allocations: 192 / 451.5 MB, free: 2.977 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-06/0.003429, allocations: 1.281 kB / 451.5 MB, free: 2.977 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.003435, allocations: 4.375 kB / 451.5 MB, free: 2.973 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.003453, allocations: 9.328 kB / 451.5 MB, free: 2.965 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.003638, allocations: 153.9 kB / 451.6 MB, free: 2.801 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.466e-05/0.003693, allocations: 22.58 kB / 451.6 MB, free: 2.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.934e-05/0.003712, allocations: 12.94 kB / 451.7 MB, free: 2.754 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-06/0.003719, allocations: 0 / 451.7 MB, free: 2.754 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.00374, allocations: 39.23 kB / 451.7 MB, free: 2.707 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 5.41e-07/0.00374, allocations: 0 / 451.7 MB, free: 2.707 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001032/0.003843, allocations: 53.5 kB / 451.7 MB, free: 2.652 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.003868, allocations: 55.41 kB / 451.8 MB, free: 2.586 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.414e-05/0.003922, allocations: 114.7 kB / 451.9 MB, free: 2.461 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.003931, allocations: 26.33 kB / 451.9 MB, free: 2.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.905e-05/0.00396, allocations: 87.45 kB / 452 MB, free: 2.344 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.003975, allocations: 7.906 kB / 452 MB, free: 2.336 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.004003, allocations: 21.7 kB / 452 MB, free: 2.309 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.004096, allocations: 314.8 kB / 452.4 MB, free: 1.992 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.004108, allocations: 4 kB / 452.4 MB, free: 1.988 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-06/0.004117, allocations: 0.5469 kB / 452.4 MB, free: 1.988 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.832e-05/0.004145, allocations: 16.84 kB / 452.4 MB, free: 1.969 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.004147, allocations: 0 / 452.4 MB, free: 1.969 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.493e-05/0.004192, allocations: 41.62 kB / 452.4 MB, free: 1.922 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.004204, allocations: 8.906 kB / 452.4 MB, free: 1.914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.004207, allocations: 0.7656 kB / 452.4 MB, free: 1.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.004219, allocations: 5.156 kB / 452.4 MB, free: 1.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.052e-05/0.004289, allocations: 11.98 kB / 452.4 MB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-06/0.004292, allocations: 0 / 452.4 MB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.116e-05/0.004313, allocations: 4.75 kB / 452.4 MB, free: 1.895 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.004318, allocations: 0 / 452.4 MB, free: 1.895 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.902e-05/0.004367, allocations: 110.3 kB / 452.6 MB, free: 1.777 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.004381, allocations: 9.547 kB / 452.6 MB, free: 1.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.004405, allocations: 9.781 kB / 452.6 MB, free: 1.758 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.004408, allocations: 4.562 kB / 452.6 MB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.00441, allocations: 0.5625 kB / 452.6 MB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.004413, allocations: 0 / 452.6 MB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.878e-05/0.004502, allocations: 82.44 kB / 452.7 MB, free: 1.656 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.004503, allocations: 0 / 452.7 MB, free: 1.656 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.004529, allocations: 12.56 kB / 452.7 MB, free: 1.645 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.004536, allocations: 5.656 kB / 452.7 MB, free: 1.641 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.004539, allocations: 7.984 kB / 452.7 MB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.004544, allocations: 5.719 kB / 452.7 MB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.004545, allocations: 0 / 452.7 MB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.004546, allocations: 3.938 kB / 452.7 MB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.876e-05/0.004625, allocations: 131.5 kB / 452.8 MB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.004633, allocations: 0 / 452.8 MB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.242e-05/0.004665, allocations: 5.891 kB / 452.8 MB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.004695, allocations: 3.984 kB / 452.8 MB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.0047, allocations: 12.94 kB / 452.8 MB, free: 1.461 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.47e-05/0.004715, allocations: 16.83 kB / 452.9 MB, free: 1.441 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004715, allocations: 0 / 452.9 MB, free: 1.441 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001081/0.004823, allocations: 9.312 kB / 452.9 MB, free: 1.434 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 7.658e-05/0.004899, allocations: 76.36 kB / 452.9 MB, free: 1.352 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.01e-05/0.004969, allocations: 14.95 kB / 453 MB, free: 1.336 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.004976, allocations: 5.203 kB / 453 MB, free: 1.332 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.604e-05/0.005002, allocations: 15.53 kB / 453 MB, free: 1.316 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.005182, allocations: 64.47 kB / 453 MB, free: 1.242 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.005526, allocations: 130 kB / 453.2 MB, free: 1.094 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.163e-05/0.005558, allocations: 60.22 kB / 453.2 MB, free: 1.016 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.891e-05/0.005577, allocations: 0.7188 kB / 453.2 MB, free: 1.016 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.285e-05/0.005629, allocations: 60.89 kB / 453.3 MB, free: 0.957 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.00563, allocations: 0 / 453.3 MB, free: 0.957 MB / 426.7 MB Notification: Performance of Templates: time 0.001892/0.007522, allocations: 0.6876 MB / 454 MB, free: 312 kB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.54462431371212]