Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.0009617/0.0009617, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009841/0.0009841, allocations: 177.4 kB / 23.36 MB, free: 1.125 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.9787/0.9787, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.841/0.841, 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 480.1 MB, free: 6.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.111e-05, allocations: 6.969 kB / 480.1 MB, free: 6.816 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001727/0.001758, allocations: 0.746 MB / 480.9 MB, free: 6.102 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008761/0.002634, allocations: 0.8466 MB / 481.7 MB, free: 5.246 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.926e-05/0.002674, allocations: 0 / 481.7 MB, free: 5.246 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.0027, allocations: 3.938 kB / 481.7 MB, free: 5.242 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.801e-05/0.002778, allocations: 15.62 kB / 481.7 MB, free: 5.23 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.836e-05/0.002837, allocations: 13.08 kB / 481.7 MB, free: 5.219 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.396e-05/0.002911, allocations: 43.2 kB / 481.8 MB, free: 5.184 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.945e-05/0.00299, allocations: 14.48 kB / 481.8 MB, free: 5.172 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.00309, allocations: 22.7 kB / 481.8 MB, free: 5.152 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.403e-05/0.003134, allocations: 16.97 kB / 481.8 MB, free: 5.137 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.00315, allocations: 4 kB / 481.8 MB, free: 5.133 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.011e-06/0.003156, allocations: 4 kB / 481.8 MB, free: 5.129 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.003178, allocations: 9.625 kB / 481.8 MB, free: 5.121 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.202e-05/0.0032, allocations: 11.16 kB / 481.9 MB, free: 5.113 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.605e-05/0.003276, allocations: 26.05 kB / 481.9 MB, free: 5.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003278, allocations: 0 / 481.9 MB, free: 5.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.003279, allocations: 0.9062 kB / 481.9 MB, free: 5.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.003285, allocations: 3.984 kB / 481.9 MB, free: 5.086 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.0003148/0.0036, allocations: 253.3 kB / 482.1 MB, free: 4.816 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.003636, allocations: 12.66 kB / 482.1 MB, free: 4.805 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.304e-05/0.003659, allocations: 0.9375 kB / 482.1 MB, free: 4.805 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.003763, allocations: 122.3 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.003775, allocations: 0.9844 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.003783, allocations: 5 kB / 482.3 MB, free: 4.656 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.003905, allocations: 68.44 kB / 482.3 MB, free: 4.582 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.003913, allocations: 0.8125 kB / 482.3 MB, free: 4.582 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.003921, allocations: 384 / 482.3 MB, free: 4.582 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.00393, allocations: 1.812 kB / 482.3 MB, free: 4.582 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.368e-05/0.003953, allocations: 15.92 kB / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.004186, allocations: 145.1 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.119e-05/0.004247, allocations: 32.41 kB / 482.5 MB, free: 4.371 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.372e-05/0.004271, allocations: 15.75 kB / 482.5 MB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-06/0.004279, allocations: 4.875 kB / 482.5 MB, free: 4.352 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.004299, allocations: 30.56 kB / 482.6 MB, free: 4.312 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.0043, allocations: 0.625 kB / 482.6 MB, free: 4.312 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001132/0.004413, allocations: 49.66 kB / 482.6 MB, free: 4.258 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.004441, allocations: 52.41 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.926e-05/0.0045, allocations: 110.7 kB / 482.8 MB, free: 4.074 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.00451, allocations: 26.45 kB / 482.8 MB, free: 4.043 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.004547, allocations: 97.05 kB / 482.9 MB, free: 3.945 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.004564, allocations: 9 kB / 482.9 MB, free: 3.938 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.004592, allocations: 17.7 kB / 482.9 MB, free: 3.914 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.004666, allocations: 310.8 kB / 483.2 MB, free: 3.602 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/0.004677, allocations: 4.719 kB / 483.2 MB, free: 3.598 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.249e-05/0.00469, allocations: 7.984 kB / 483.2 MB, free: 3.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.561e-05/0.004716, allocations: 9.828 kB / 483.3 MB, free: 3.578 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.004718, allocations: 0 / 483.3 MB, free: 3.578 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.232e-05/0.00477, allocations: 41.62 kB / 483.3 MB, free: 3.531 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.004782, allocations: 9.266 kB / 483.3 MB, free: 3.523 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.004786, allocations: 0 / 483.3 MB, free: 3.523 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.004798, allocations: 5.094 kB / 483.3 MB, free: 3.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.451e-05/0.004862, allocations: 11.98 kB / 483.3 MB, free: 3.508 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.004865, allocations: 0 / 483.3 MB, free: 3.508 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.004888, allocations: 13.72 kB / 483.3 MB, free: 3.496 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.004893, allocations: 0.6875 kB / 483.3 MB, free: 3.496 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.234e-05/0.004945, allocations: 111.2 kB / 483.4 MB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.004959, allocations: 0 / 483.4 MB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.134e-05/0.00498, allocations: 12 kB / 483.5 MB, free: 3.367 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.004983, allocations: 3.938 kB / 483.5 MB, free: 3.363 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.004984, allocations: 1.031 kB / 483.5 MB, free: 3.363 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.004987, allocations: 0 / 483.5 MB, free: 3.363 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.271e-05/0.00508, allocations: 73.88 kB / 483.5 MB, free: 3.273 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.005082, allocations: 5.594 kB / 483.5 MB, free: 3.273 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.005114, allocations: 11.98 kB / 483.6 MB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.005115, allocations: 1.406 kB / 483.6 MB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-06/0.005119, allocations: 0 / 483.6 MB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.00512, allocations: 0 / 483.6 MB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.005122, allocations: 3.938 kB / 483.6 MB, free: 3.258 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.733e-05/0.005209, allocations: 144.1 kB / 483.7 MB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.005218, allocations: 8.547 kB / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-06/0.005225, allocations: 0.5469 kB / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.626e-05/0.005261, allocations: 13.42 kB / 483.7 MB, free: 3.082 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.00529, allocations: 0 / 483.7 MB, free: 3.082 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.005297, allocations: 11.92 kB / 483.7 MB, free: 3.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.24e-05/0.005309, allocations: 13.72 kB / 483.7 MB, free: 3.055 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005309, allocations: 3.938 kB / 483.7 MB, free: 3.051 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001143/0.005423, allocations: 8.812 kB / 483.8 MB, free: 3.043 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 8.237e-05/0.005506, allocations: 77.2 kB / 483.8 MB, free: 2.961 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.031e-05/0.005566, allocations: 21.75 kB / 483.9 MB, free: 2.938 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.00557, allocations: 4 kB / 483.9 MB, free: 2.934 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.627e-05/0.005586, allocations: 8.859 kB / 483.9 MB, free: 2.922 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.005729, allocations: 9.297 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.005961, allocations: 130.5 kB / 484 MB, free: 2.766 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.408e-05/0.005995, allocations: 59.3 kB / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.031e-05/0.006015, allocations: 5.672 kB / 484.1 MB, free: 2.684 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.006063, allocations: 51.38 kB / 484.1 MB, free: 2.633 MB / 442.7 MB Notification: Performance of SimCode: time 9.32e-07/0.006064, allocations: 4 kB / 484.1 MB, free: 2.629 MB / 442.7 MB Notification: Performance of Templates: time 0.002178/0.008241, allocations: 0.6677 MB / 484.8 MB, free: 1.996 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5600570756942034]