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.001399/0.001399, allocations: 93.06 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.001197/0.001197, allocations: 165 kB / 23.02 MB, free: 1.551 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.04/1.04, allocations: 177.1 MB / 203.4 MB, free: 5.398 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.7775/0.7775, allocations: 154.6 MB / 414.5 MB, free: 0.625 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.703e-06/1.703e-06, allocations: 0 / 0.5204 GB, free: 2.105 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.606e-05, allocations: 5.375 kB / 0.5204 GB, free: 2.102 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001132/0.001148, allocations: 0.6545 MB / 0.521 GB, free: 1.469 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007324/0.00188, allocations: 0.8669 MB / 0.5219 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.001906, allocations: 2 kB / 0.5219 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.001931, allocations: 3.938 kB / 0.5219 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.068e-05/0.001981, allocations: 3.938 kB / 0.5219 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.002139, allocations: 15.92 kB / 0.5219 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.654e-05/0.002196, allocations: 23.92 kB / 0.5219 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.646e-05/0.002272, allocations: 12.55 kB / 0.5219 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.712e-05/0.00233, allocations: 8.531 kB / 0.5219 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.104e-05/0.002361, allocations: 11.92 kB / 0.5219 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.002373, allocations: 0.7188 kB / 0.5219 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.267e-05/0.002416, allocations: 7.938 kB / 0.522 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.002429, allocations: 8.562 kB / 0.522 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.529e-05/0.002444, allocations: 5.422 kB / 0.522 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.558e-05/0.00253, allocations: 23.97 kB / 0.522 GB, free: 480 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.002532, allocations: 0 / 0.522 GB, free: 480 kB / 490.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.002532, allocations: 0 / 0.522 GB, free: 480 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.002536, allocations: 0.7812 kB / 0.522 GB, free: 480 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.0003021/0.002838, allocations: 360.6 kB / 0.5223 GB, free: 80 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.00287, allocations: 8.906 kB / 0.5223 GB, free: 72 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.524e-05/0.002956, allocations: 12.88 kB / 0.5224 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.051e-05/0.003036, allocations: 111.7 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.003046, allocations: 384 / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.003054, allocations: 384 / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.85e-05/0.003153, allocations: 54.95 kB / 0.5225 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.00316, allocations: 192 / 0.5225 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.003168, allocations: 384 / 0.5225 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.003174, allocations: 384 / 0.5225 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.082e-05/0.003205, allocations: 15.86 kB / 0.5225 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.003436, allocations: 244.4 kB / 0.5228 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.567e-05/0.003482, allocations: 28.25 kB / 0.5228 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.0035, allocations: 11.75 kB / 0.5228 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.003517, allocations: 0 / 0.5228 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.003538, allocations: 42.28 kB / 0.5228 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 6.32e-07/0.003538, allocations: 0 / 0.5228 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001224/0.003661, allocations: 50.53 kB / 0.5229 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.003688, allocations: 51.41 kB / 0.5229 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.272e-05/0.003751, allocations: 166.6 kB / 0.5231 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.709e-06/0.00376, allocations: 25.7 kB / 0.5231 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.003796, allocations: 127.8 kB / 0.5232 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.003813, allocations: 11.89 kB / 0.5233 GB, free: 15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.003835, allocations: 20.59 kB / 0.5233 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.003937, allocations: 0.4884 MB / 0.5238 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/0.003949, allocations: 0 / 0.5238 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-06/0.003958, allocations: 0.625 kB / 0.5238 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.532e-05/0.003983, allocations: 25.44 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.003986, allocations: 4 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.403e-05/0.00403, allocations: 33.7 kB / 0.5238 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.00404, allocations: 4 kB / 0.5238 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.004045, allocations: 5.344 kB / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.004057, allocations: 0 / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.68e-05/0.004114, allocations: 7.984 kB / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.004119, allocations: 4 kB / 0.5238 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.492e-05/0.004134, allocations: 3.125 kB / 0.5238 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-06/0.004138, allocations: 3.938 kB / 0.5238 GB, free: 14.38 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.389e-05/0.004192, allocations: 160.6 kB / 0.524 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.004205, allocations: 3.938 kB / 0.524 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.114e-05/0.004277, allocations: 52.53 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.004278, allocations: 0 / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.004282, allocations: 3.984 kB / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.004285, allocations: 3.125 kB / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.05e-05/0.004365, allocations: 112.6 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.004366, allocations: 0 / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.891e-05/0.004385, allocations: 11.98 kB / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.004386, allocations: 0 / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.004392, allocations: 0 / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.004394, allocations: 3.938 kB / 0.5242 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-07/0.004394, allocations: 0 / 0.5242 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.349e-05/0.004478, allocations: 193.7 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-06/0.004482, allocations: 0 / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-06/0.00449, allocations: 0 / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.121e-05/0.004521, allocations: 7.938 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.00455, allocations: 4 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/0.004552, allocations: 1.75 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.147e-05/0.004583, allocations: 127.2 kB / 0.5245 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.004583, allocations: 0 / 0.5245 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001424/0.004726, allocations: 4 kB / 0.5245 GB, free: 13.64 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.087e-05/0.004786, allocations: 94 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.377e-05/0.00485, allocations: 15.69 kB / 0.5246 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.004851, allocations: 0 / 0.5246 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.856e-05/0.00487, allocations: 23.61 kB / 0.5246 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.005041, allocations: 7.781 kB / 0.5246 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003842/0.005425, allocations: 125.2 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.253e-05/0.005458, allocations: 61.75 kB / 0.5248 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.355e-05/0.005471, allocations: 0 / 0.5248 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.005494, allocations: 8.5 kB / 0.5248 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.005494, allocations: 0 / 0.5248 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of Templates: time 0.001776/0.00727, allocations: 494.3 kB / 0.5253 GB, free: 12.8 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.7290670620277524]