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.001516/0.001516, allocations: 88.72 kB / 19.44 MB, free: 356 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.001595/0.001595, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.504/1.504, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.242/1.242, allocations: 154.6 MB / 414.2 MB, free: 0.6484 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 178] 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 2.435e-06/2.435e-06, allocations: 0 / 0.5197 GB, free: 1.406 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.282e-05/4.525e-05, allocations: 5.297 kB / 0.5197 GB, free: 1.402 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002183/0.002228, allocations: 0.66 MB / 0.5203 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.003614, allocations: 0.8382 MB / 0.5211 GB, free: 15.91 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.519e-05/0.003649, allocations: 0 / 0.5211 GB, free: 15.91 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.767e-05/0.003676, allocations: 3.938 kB / 0.5211 GB, free: 15.91 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.96e-05/0.003746, allocations: 7.812 kB / 0.5212 GB, free: 15.91 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.003935, allocations: 11.92 kB / 0.5212 GB, free: 15.89 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.613e-05/0.004021, allocations: 30.36 kB / 0.5212 GB, free: 15.87 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.705e-05/0.004108, allocations: 4 kB / 0.5212 GB, free: 15.86 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.899e-05/0.004187, allocations: 15.92 kB / 0.5212 GB, free: 15.85 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.471e-05/0.004222, allocations: 7.984 kB / 0.5212 GB, free: 15.84 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.004238, allocations: 4 kB / 0.5212 GB, free: 15.84 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.595e-05/0.004284, allocations: 8.562 kB / 0.5212 GB, free: 15.83 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.004297, allocations: 1.312 kB / 0.5212 GB, free: 15.83 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.004327, allocations: 8 kB / 0.5212 GB, free: 15.82 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.004438, allocations: 31.81 kB / 0.5213 GB, free: 15.79 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.00444, allocations: 0 / 0.5213 GB, free: 15.79 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004441, allocations: 4.938 kB / 0.5213 GB, free: 15.79 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.004445, allocations: 0 / 0.5213 GB, free: 15.79 MB / 458.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.0004865/0.004931, allocations: 259.6 kB / 0.5215 GB, free: 15.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.004972, allocations: 12.03 kB / 0.5215 GB, free: 15.49 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.005083, allocations: 13.45 kB / 0.5215 GB, free: 15.48 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.0052, allocations: 105.8 kB / 0.5216 GB, free: 15.35 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.005212, allocations: 2.188 kB / 0.5217 GB, free: 15.35 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.005222, allocations: 4.312 kB / 0.5217 GB, free: 15.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.005448, allocations: 50.23 kB / 0.5217 GB, free: 15.29 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.005458, allocations: 192 / 0.5217 GB, free: 15.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.005469, allocations: 1.844 kB / 0.5217 GB, free: 15.29 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.005474, allocations: 4.375 kB / 0.5217 GB, free: 15.29 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.005715, allocations: 36.42 kB / 0.5217 GB, free: 15.25 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.006076, allocations: 188.6 kB / 0.5219 GB, free: 15.04 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.006224, allocations: 43.73 kB / 0.522 GB, free: 14.98 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.722e-05/0.006321, allocations: 25.59 kB / 0.522 GB, free: 14.96 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.006343, allocations: 0.625 kB / 0.522 GB, free: 14.96 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.00638, allocations: 30.56 kB / 0.522 GB, free: 14.92 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.006381, allocations: 1.312 kB / 0.522 GB, free: 14.92 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003953/0.006776, allocations: 86.52 kB / 0.5221 GB, free: 14.83 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.006826, allocations: 51.41 kB / 0.5222 GB, free: 14.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.006932, allocations: 110.3 kB / 0.5223 GB, free: 14.65 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.006958, allocations: 29.2 kB / 0.5223 GB, free: 14.62 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.247e-05/0.00702, allocations: 84.09 kB / 0.5224 GB, free: 14.53 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.00704, allocations: 3.953 kB / 0.5224 GB, free: 14.53 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.007076, allocations: 17.72 kB / 0.5224 GB, free: 14.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.007247, allocations: 310.8 kB / 0.5227 GB, free: 14.19 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.726e-05/0.007344, allocations: 23.97 kB / 0.5227 GB, free: 14.17 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.38e-05/0.007418, allocations: 11.98 kB / 0.5227 GB, free: 14.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.007581, allocations: 41.92 kB / 0.5228 GB, free: 14.11 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.007582, allocations: 0.5625 kB / 0.5228 GB, free: 14.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002279/0.00781, allocations: 68.09 kB / 0.5228 GB, free: 14.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.007824, allocations: 7.938 kB / 0.5228 GB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.007831, allocations: 3.938 kB / 0.5228 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.007848, allocations: 0 / 0.5228 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.981e-05/0.007948, allocations: 20.77 kB / 0.5229 GB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.007952, allocations: 0 / 0.5229 GB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.287e-05/0.008005, allocations: 9.797 kB / 0.5229 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.00801, allocations: 0 / 0.5229 GB, free: 14 MB / 458.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 (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 8.603e-05/0.008096, allocations: 105.8 kB / 0.523 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.00812, allocations: 4 kB / 0.523 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.008362, allocations: 79.61 kB / 0.523 GB, free: 13.81 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.008367, allocations: 4 kB / 0.523 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.00837, allocations: 0 / 0.523 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.008372, allocations: 0 / 0.523 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.00852, allocations: 105.3 kB / 0.5231 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.008521, allocations: 1.844 kB / 0.5231 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.277e-05/0.008584, allocations: 11.92 kB / 0.5232 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.008588, allocations: 4 kB / 0.5232 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.008595, allocations: 0 / 0.5232 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.008599, allocations: 3.938 kB / 0.5232 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.0086, allocations: 0.9375 kB / 0.5232 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.008874, allocations: 160.2 kB / 0.5233 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-06/0.008881, allocations: 0.6562 kB / 0.5233 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.008893, allocations: 4 kB / 0.5233 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-05/0.008981, allocations: 12.42 kB / 0.5233 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.009029, allocations: 7.062 kB / 0.5233 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.009032, allocations: 0 / 0.5233 GB, free: 13.46 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.766e-05/0.00909, allocations: 79.28 kB / 0.5234 GB, free: 13.38 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00909, allocations: 0 / 0.5234 GB, free: 13.38 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002231/0.009313, allocations: 7.938 kB / 0.5234 GB, free: 13.38 MB / 458.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 (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 0.0001606/0.009474, allocations: 95.23 kB / 0.5235 GB, free: 13.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.009716, allocations: 39.03 kB / 0.5236 GB, free: 13.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.009718, allocations: 0 / 0.5236 GB, free: 13.23 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.579e-05/0.009804, allocations: 19.98 kB / 0.5236 GB, free: 13.21 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.01012, allocations: 11.92 kB / 0.5236 GB, free: 13.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.01045, allocations: 106.6 kB / 0.5237 GB, free: 13.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.576e-05/0.01053, allocations: 59.22 kB / 0.5237 GB, free: 13 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.198e-05/0.01056, allocations: 4 kB / 0.5237 GB, free: 12.99 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.01059, allocations: 19.48 kB / 0.5238 GB, free: 12.98 MB / 458.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01059, allocations: 0 / 0.5238 GB, free: 12.98 MB / 458.7 MB Notification: Performance of Templates: time 0.00298/0.01357, allocations: 495.1 kB / 0.5242 GB, free: 12.52 MB / 458.7 MB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7503957520239055]