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.001239/0.001239, allocations: 80.75 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.001341/0.001341, 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.007/1.007, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8195/0.8195, allocations: 154.6 MB / 414.8 MB, free: 0.5312 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.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 2.946e-06/2.946e-06, allocations: 0 / 480.1 MB, free: 6.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.578e-05, allocations: 6.25 kB / 480.1 MB, free: 6.836 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001483/0.001509, allocations: 0.701 MB / 480.8 MB, free: 6.164 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008337/0.002342, allocations: 0.8506 MB / 481.6 MB, free: 5.305 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.955e-05/0.002382, allocations: 0 / 481.6 MB, free: 5.305 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.002412, allocations: 8.859 kB / 481.6 MB, free: 5.297 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.058e-05/0.002483, allocations: 6.125 kB / 481.6 MB, free: 5.293 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.652e-05/0.002539, allocations: 17.58 kB / 481.6 MB, free: 5.277 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.081e-05/0.00261, allocations: 39.64 kB / 481.7 MB, free: 5.246 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.778e-05/0.002688, allocations: 11.98 kB / 481.7 MB, free: 5.234 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.00277, allocations: 25.84 kB / 481.7 MB, free: 5.211 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.741e-05/0.002807, allocations: 15.02 kB / 481.7 MB, free: 5.199 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.002827, allocations: 4 kB / 481.7 MB, free: 5.195 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.981e-06/0.002833, allocations: 4 kB / 481.7 MB, free: 5.191 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.002849, allocations: 9.953 kB / 481.8 MB, free: 5.184 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.002867, allocations: 9.719 kB / 481.8 MB, free: 5.176 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.658e-05/0.002944, allocations: 34.62 kB / 481.8 MB, free: 5.145 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.002946, allocations: 1.312 kB / 481.8 MB, free: 5.145 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.002947, allocations: 0.875 kB / 481.8 MB, free: 5.145 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.00295, allocations: 0 / 481.8 MB, free: 5.145 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002973/0.003247, allocations: 253.2 kB / 482 MB, free: 4.875 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.00328, allocations: 8.031 kB / 482.1 MB, free: 4.867 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.246e-05/0.003303, allocations: 8.875 kB / 482.1 MB, free: 4.859 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.829e-05/0.003381, allocations: 118.2 kB / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.003392, allocations: 9.406 kB / 482.2 MB, free: 4.711 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.003403, allocations: 4.312 kB / 482.2 MB, free: 4.711 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.003679, allocations: 60.09 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.003686, allocations: 192 / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.003696, allocations: 8.359 kB / 482.3 MB, free: 4.637 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.003703, allocations: 7.078 kB / 482.3 MB, free: 4.633 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.105e-05/0.003724, allocations: 7.938 kB / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.00393, allocations: 148.9 kB / 482.4 MB, free: 4.465 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.32e-05/0.003983, allocations: 26.64 kB / 482.4 MB, free: 4.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.004003, allocations: 13.94 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.00401, allocations: 0 / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.00403, allocations: 34.56 kB / 482.5 MB, free: 4.371 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.00403, allocations: 1.406 kB / 482.5 MB, free: 4.371 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001081/0.004139, allocations: 46.31 kB / 482.5 MB, free: 4.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.004175, allocations: 55.41 kB / 482.6 MB, free: 4.254 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.275e-05/0.004228, allocations: 111.9 kB / 482.7 MB, free: 4.133 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.004237, allocations: 29.7 kB / 482.7 MB, free: 4.098 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.004266, allocations: 92.08 kB / 482.8 MB, free: 4.004 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.004282, allocations: 4.859 kB / 482.8 MB, free: 4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.004306, allocations: 14.38 kB / 482.8 MB, free: 3.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.083e-05/0.004377, allocations: 318.8 kB / 483.2 MB, free: 3.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.162e-05/0.004388, allocations: 4.875 kB / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.568e-06/0.004398, allocations: 0 / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.517e-05/0.004423, allocations: 13.77 kB / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.004425, allocations: 0 / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.699e-05/0.004471, allocations: 42.39 kB / 483.2 MB, free: 3.594 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.004482, allocations: 4.625 kB / 483.2 MB, free: 3.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.004487, allocations: 8.609 kB / 483.2 MB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.004497, allocations: 3.938 kB / 483.2 MB, free: 3.578 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.953e-05/0.004567, allocations: 12.62 kB / 483.2 MB, free: 3.566 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.00457, allocations: 0.625 kB / 483.2 MB, free: 3.566 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.257e-05/0.004592, allocations: 11.98 kB / 483.3 MB, free: 3.555 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.004597, allocations: 4.562 kB / 483.3 MB, free: 3.551 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: 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 5.336e-05/0.004651, allocations: 106.4 kB / 483.4 MB, free: 3.438 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.004664, allocations: 4.812 kB / 483.4 MB, free: 3.434 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.882e-05/0.004682, allocations: 8 kB / 483.4 MB, free: 3.422 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.004686, allocations: 6.328 kB / 483.4 MB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.004688, allocations: 4 kB / 483.4 MB, free: 3.414 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.004692, allocations: 3.984 kB / 483.4 MB, free: 3.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.184e-05/0.004774, allocations: 65.89 kB / 483.5 MB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.004775, allocations: 4 kB / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.078e-05/0.004805, allocations: 12.58 kB / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.91e-07/0.004806, allocations: 5 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-06/0.00481, allocations: 0 / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.004811, allocations: 0 / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.004812, allocations: 2.156 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.053e-05/0.004893, allocations: 141.8 kB / 483.6 MB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.004901, allocations: 7.891 kB / 483.6 MB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.004911, allocations: 11.98 kB / 483.6 MB, free: 3.137 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.476e-05/0.004946, allocations: 4 kB / 483.6 MB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.004978, allocations: 3.984 kB / 483.6 MB, free: 3.129 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.004982, allocations: 5.375 kB / 483.6 MB, free: 3.125 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.487e-05/0.004997, allocations: 17.16 kB / 483.7 MB, free: 3.105 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004997, allocations: 0 / 483.7 MB, free: 3.105 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001244/0.005121, allocations: 4 kB / 483.7 MB, free: 3.102 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: 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 9.716e-05/0.005218, allocations: 86.75 kB / 483.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.796e-05/0.005276, allocations: 16.86 kB / 483.8 MB, free: 2.992 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.005279, allocations: 0 / 483.8 MB, free: 2.992 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.704e-05/0.005296, allocations: 8.859 kB / 483.8 MB, free: 2.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.005439, allocations: 12.91 kB / 483.8 MB, free: 2.969 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002358/0.005675, allocations: 128.5 kB / 483.9 MB, free: 2.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.753e-05/0.005712, allocations: 67.22 kB / 484 MB, free: 2.734 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.983e-05/0.005732, allocations: 1.125 kB / 484 MB, free: 2.734 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.00578, allocations: 55.38 kB / 484 MB, free: 2.68 MB / 442.7 MB Notification: Performance of SimCode: time 4.61e-07/0.005781, allocations: 0 / 484 MB, free: 2.68 MB / 442.7 MB Notification: Performance of Templates: time 0.002153/0.007934, allocations: 0.6576 MB / 484.7 MB, free: 2.059 MB / 442.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.6476173978298903]