Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.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.001373/0.001373, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001444/0.001444, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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.8741/0.8741, allocations: 177.1 MB / 204.5 MB, free: 5.531 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.7419/0.7419, allocations: 154.6 MB / 415.6 MB, free: 0.5391 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.Acos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.5216 GB, free: 1.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.626e-05, allocations: 2.312 kB / 0.5216 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001076/0.001092, allocations: 0.6486 MB / 0.5222 GB, free: 1.207 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007753/0.001867, allocations: 0.8671 MB / 0.5231 GB, free: 336 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.001899, allocations: 0.6875 kB / 0.5231 GB, free: 336 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.001923, allocations: 0 / 0.5231 GB, free: 336 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.054e-05/0.001983, allocations: 13.2 kB / 0.5231 GB, free: 324 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.002127, allocations: 15.92 kB / 0.5231 GB, free: 308 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.671e-05/0.002184, allocations: 23.94 kB / 0.5231 GB, free: 284 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.804e-05/0.002262, allocations: 4.984 kB / 0.5231 GB, free: 280 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.031e-05/0.002322, allocations: 8 kB / 0.5231 GB, free: 272 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.12e-05/0.002353, allocations: 11.98 kB / 0.5232 GB, free: 260 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.002365, allocations: 7.531 kB / 0.5232 GB, free: 256 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.576e-05/0.002401, allocations: 4 kB / 0.5232 GB, free: 252 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.002418, allocations: 11.92 kB / 0.5232 GB, free: 240 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.193e-05/0.00243, allocations: 3.984 kB / 0.5232 GB, free: 236 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.317e-05/0.002503, allocations: 19.98 kB / 0.5232 GB, free: 216 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.002505, allocations: 0 / 0.5232 GB, free: 216 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.002506, allocations: 0 / 0.5232 GB, free: 216 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.002509, allocations: 0 / 0.5232 GB, free: 216 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002912/0.0028, allocations: 356.6 kB / 0.5235 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.002829, allocations: 8.594 kB / 0.5235 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.805e-05/0.002907, allocations: 12.88 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.166e-05/0.002979, allocations: 117.1 kB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.00299, allocations: 4.938 kB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-06/0.002994, allocations: 4.312 kB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.502e-05/0.003079, allocations: 51.92 kB / 0.5237 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.003086, allocations: 192 / 0.5237 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.003092, allocations: 1.844 kB / 0.5237 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.003097, allocations: 384 / 0.5237 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.881e-05/0.003115, allocations: 11.92 kB / 0.5237 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/0.003307, allocations: 228.4 kB / 0.524 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.923e-05/0.003346, allocations: 27.78 kB / 0.524 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.335e-05/0.00336, allocations: 12.25 kB / 0.524 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.003371, allocations: 4.062 kB / 0.524 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.00339, allocations: 39.34 kB / 0.524 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.003391, allocations: 0 / 0.524 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001062/0.003497, allocations: 49.52 kB / 0.5241 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.003522, allocations: 51.41 kB / 0.5241 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.37e-05/0.003585, allocations: 158.4 kB / 0.5243 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.003595, allocations: 30.41 kB / 0.5243 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.003633, allocations: 130.9 kB / 0.5244 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.003647, allocations: 8.453 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.00367, allocations: 23.36 kB / 0.5245 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.003776, allocations: 493.6 kB / 0.5249 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-06/0.003784, allocations: 4 kB / 0.5249 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.112e-06/0.003791, allocations: 4 kB / 0.525 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.056e-05/0.003811, allocations: 17.55 kB / 0.525 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.003812, allocations: 0 / 0.525 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.311e-05/0.003856, allocations: 41.64 kB / 0.525 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.003865, allocations: 4 kB / 0.525 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.003869, allocations: 2.75 kB / 0.525 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.003878, allocations: 3.938 kB / 0.525 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.866e-05/0.003927, allocations: 11.98 kB / 0.525 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.003929, allocations: 0 / 0.525 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.458e-05/0.003944, allocations: 0 / 0.525 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-06/0.003948, allocations: 4 kB / 0.525 GB, free: 14.14 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 (2): * Single equations (assignments): 2 * 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.452e-05/0.004002, allocations: 154.4 kB / 0.5252 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.004015, allocations: 0 / 0.5252 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.882e-05/0.004074, allocations: 52.53 kB / 0.5252 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.004077, allocations: 3.938 kB / 0.5252 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.004078, allocations: 3.938 kB / 0.5252 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.004081, allocations: 0.9375 kB / 0.5252 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.113e-05/0.004162, allocations: 105.2 kB / 0.5253 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.004163, allocations: 0.7812 kB / 0.5253 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.708e-05/0.00418, allocations: 8 kB / 0.5253 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.61e-07/0.00418, allocations: 0.6562 kB / 0.5253 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-06/0.004184, allocations: 0 / 0.5253 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.004184, allocations: 0.5625 kB / 0.5253 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.004185, allocations: 3 kB / 0.5254 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.413e-05/0.004259, allocations: 192.1 kB / 0.5255 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-06/0.004264, allocations: 3.984 kB / 0.5255 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-06/0.00427, allocations: 0 / 0.5255 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.013e-05/0.0043, allocations: 7.984 kB / 0.5255 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.004323, allocations: 0 / 0.5255 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.004326, allocations: 3.938 kB / 0.5255 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.071e-05/0.004357, allocations: 127.1 kB / 0.5257 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.004357, allocations: 3.125 kB / 0.5257 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001338/0.004491, allocations: 4 kB / 0.5257 GB, free: 13.44 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 (2): * Single equations (assignments): 2 * 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 6.359e-05/0.004554, allocations: 99.23 kB / 0.5258 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.308e-05/0.004607, allocations: 11.69 kB / 0.5258 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.004608, allocations: 0 / 0.5258 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-05/0.004622, allocations: 13.5 kB / 0.5258 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.004788, allocations: 8.016 kB / 0.5258 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.005083, allocations: 132.7 kB / 0.5259 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.86e-05/0.005111, allocations: 55.3 kB / 0.526 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.394e-05/0.005125, allocations: 4 kB / 0.526 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.005161, allocations: 66.2 kB / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.005161, allocations: 0 / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of Templates: time 0.001702/0.006863, allocations: 0.5275 MB / 0.5266 GB, free: 12.49 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.471517098136246]