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.0008854/0.0008854, allocations: 92.22 kB / 19.65 MB, free: 276 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.0008983/0.0008983, allocations: 173 kB / 23.03 MB, free: 1.543 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.9571/0.9571, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7273/0.7273, allocations: 154.6 MB / 414.5 MB, free: 0.6602 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 3.256e-06/3.256e-06, allocations: 0.7656 kB / 0.5204 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.488e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.141 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001951/0.001986, allocations: 0.6842 MB / 0.5211 GB, free: 1.48 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.003078, allocations: 0.8492 MB / 0.5219 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.993e-05/0.003118, allocations: 0 / 0.5219 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.493e-05/0.003152, allocations: 3.938 kB / 0.5219 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.055e-05/0.003233, allocations: 12.88 kB / 0.5219 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.665e-05/0.00331, allocations: 11.98 kB / 0.5219 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.101e-05/0.003401, allocations: 44.77 kB / 0.522 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.003508, allocations: 7.984 kB / 0.522 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.905e-05/0.003607, allocations: 28.48 kB / 0.522 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.291e-05/0.00365, allocations: 12.95 kB / 0.522 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.003674, allocations: 7.938 kB / 0.522 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.003683, allocations: 4 kB / 0.522 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.003703, allocations: 13.72 kB / 0.522 GB, free: 492 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.003731, allocations: 11.94 kB / 0.522 GB, free: 480 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.501e-05/0.003826, allocations: 23.91 kB / 0.5221 GB, free: 456 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.003828, allocations: 0 / 0.5221 GB, free: 456 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.003829, allocations: 4 kB / 0.5221 GB, free: 452 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.003835, allocations: 0.5 kB / 0.5221 GB, free: 452 kB / 490.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.0004402/0.004275, allocations: 377.6 kB / 0.5224 GB, free: 36 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.004319, allocations: 8.031 kB / 0.5224 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.004364, allocations: 14.06 kB / 0.5225 GB, free: 16 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.004481, allocations: 120.5 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.004494, allocations: 384 / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.004508, allocations: 4.984 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.004694, allocations: 72.31 kB / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.004707, allocations: 4.125 kB / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.004723, allocations: 384 / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.004734, allocations: 384 / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.367e-05/0.004777, allocations: 12.5 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.005278, allocations: 264.5 kB / 0.5229 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.005396, allocations: 31.06 kB / 0.5229 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.005439, allocations: 16.88 kB / 0.523 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.00545, allocations: 3.938 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.005479, allocations: 38.42 kB / 0.523 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.005481, allocations: 0 / 0.523 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002064/0.005687, allocations: 45.62 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.005729, allocations: 56.47 kB / 0.5231 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.005834, allocations: 173.9 kB / 0.5233 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.005847, allocations: 25.7 kB / 0.5233 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.005902, allocations: 135.5 kB / 0.5234 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.005928, allocations: 12.67 kB / 0.5234 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.005964, allocations: 15.38 kB / 0.5234 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.006083, allocations: 0.4891 MB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.971e-05/0.006113, allocations: 7.922 kB / 0.5239 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.702e-05/0.00613, allocations: 4.938 kB / 0.5239 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.149e-05/0.006171, allocations: 15.69 kB / 0.5239 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.006174, allocations: 4 kB / 0.5239 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.738e-05/0.006261, allocations: 44.39 kB / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.006281, allocations: 11.94 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.006286, allocations: 0 / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.006301, allocations: 0 / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.006404, allocations: 11.98 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.00641, allocations: 0 / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.421e-05/0.006444, allocations: 11.94 kB / 0.524 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.006451, allocations: 1.25 kB / 0.524 GB, free: 14.24 MB / 0.4948 GB 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 7.399e-05/0.006525, allocations: 156.6 kB / 0.5242 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.006549, allocations: 1.344 kB / 0.5242 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.006582, allocations: 19.86 kB / 0.5242 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.006585, allocations: 4.328 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.006588, allocations: 0 / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.006592, allocations: 0.6875 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.006721, allocations: 120.6 kB / 0.5243 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.006722, allocations: 1.062 kB / 0.5243 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.663e-05/0.006769, allocations: 11.98 kB / 0.5243 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.006772, allocations: 2.75 kB / 0.5243 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.00678, allocations: 3.984 kB / 0.5243 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.006784, allocations: 3.938 kB / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006785, allocations: 0 / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.006923, allocations: 195.8 kB / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.006932, allocations: 7.938 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.006948, allocations: 4 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/0.007013, allocations: 10.53 kB / 0.5245 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.007058, allocations: 7.984 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.007063, allocations: 4 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.412e-05/0.007108, allocations: 127.2 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007108, allocations: 0 / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002177/0.007325, allocations: 12 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB 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 0.0001096/0.007435, allocations: 91.75 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.007547, allocations: 16.84 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007549, allocations: 0 / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.018e-05/0.007579, allocations: 19.61 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.007866, allocations: 13.31 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.008272, allocations: 134.8 kB / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.975e-05/0.008322, allocations: 58.8 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.944e-05/0.008351, allocations: 0 / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.008396, allocations: 12.5 kB / 0.525 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of SimCode: time 7.21e-07/0.008397, allocations: 0 / 0.525 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.003158/0.01156, allocations: 0.7896 MB / 0.5258 GB, free: 12.36 MB / 0.4948 GB " [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.589236511848867]