Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001326/0.001326, allocations: 80.45 kB / 19.9 MB, free: 12 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.001191/0.001191, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9339/0.9339, allocations: 177.2 MB / 203.6 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7684/0.7684, allocations: 154.9 MB / 414.9 MB, free: 0.5 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 73.84 kB / 0.6199 GB, free: 12.57 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4837/0.4852, allocations: 102 MB / 0.7195 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001473/0.4867, allocations: 0.6537 MB / 0.7201 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009136/0.4876, allocations: 0.8406 MB / 0.721 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.4876, allocations: 0 / 0.721 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.4876, allocations: 9.156 kB / 0.721 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.746e-05/0.4877, allocations: 0.6094 kB / 0.721 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.4879, allocations: 22.59 kB / 0.721 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.499e-05/0.488, allocations: 24.59 kB / 0.721 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.4881, allocations: 10.86 kB / 0.721 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.781e-05/0.4882, allocations: 11.59 kB / 0.721 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.954e-05/0.4883, allocations: 10.55 kB / 0.721 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.4883, allocations: 1.031 kB / 0.721 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.576e-05/0.4883, allocations: 10.84 kB / 0.7211 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.4883, allocations: 2.281 kB / 0.7211 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.4884, allocations: 11.41 kB / 0.7211 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.4885, allocations: 24.17 kB / 0.7211 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4885, allocations: 0 / 0.7211 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.734e-06/0.4885, allocations: 8.969 kB / 0.7211 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.4885, allocations: 0 / 0.7211 GB, free: 22.46 MB / 0.6355 GB 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.0002925/0.4888, allocations: 263.9 kB / 0.7214 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.4888, allocations: 16.25 kB / 0.7214 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.504e-05/0.4889, allocations: 2.781 kB / 0.7214 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.189e-05/0.4889, allocations: 110.4 kB / 0.7215 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.489, allocations: 1.625 kB / 0.7215 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.489, allocations: 5.531 kB / 0.7215 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.4891, allocations: 49.2 kB / 0.7215 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.4891, allocations: 8.172 kB / 0.7215 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.4891, allocations: 9.062 kB / 0.7215 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4891, allocations: 0 / 0.7215 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.816e-05/0.4892, allocations: 33.8 kB / 0.7216 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002386/0.4895, allocations: 186 kB / 0.7218 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.201e-05/0.4895, allocations: 36.98 kB / 0.7218 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.058e-05/0.4896, allocations: 26.17 kB / 0.7218 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.4896, allocations: 10.03 kB / 0.7218 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.4896, allocations: 32.03 kB / 0.7219 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.4896, allocations: 0 / 0.7219 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002503/0.4899, allocations: 80.25 kB / 0.7219 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.4899, allocations: 51.92 kB / 0.722 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.088e-05/0.49, allocations: 97.77 kB / 0.7221 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.49, allocations: 29.7 kB / 0.7221 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.266e-05/0.49, allocations: 85.83 kB / 0.7222 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.49, allocations: 9.719 kB / 0.7222 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.49, allocations: 13.78 kB / 0.7222 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.861e-05/0.4901, allocations: 317.3 kB / 0.7225 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.683e-05/0.4901, allocations: 17.53 kB / 0.7225 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.221e-05/0.4901, allocations: 18.27 kB / 0.7225 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.167e-05/0.4902, allocations: 37.66 kB / 0.7226 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4902, allocations: 5.281 kB / 0.7226 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001159/0.4904, allocations: 74.09 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.4904, allocations: 6.094 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4904, allocations: 0 / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.4904, allocations: 1.25 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.984e-05/0.4905, allocations: 12.33 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.4905, allocations: 1.125 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.648e-05/0.4905, allocations: 13.53 kB / 0.7227 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.4905, allocations: 2.109 kB / 0.7227 GB, free: 20.97 MB / 0.6355 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 4.536e-05/0.4905, allocations: 115.9 kB / 0.7228 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.4906, allocations: 5.094 kB / 0.7228 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.4907, allocations: 72.16 kB / 0.7229 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4907, allocations: 0 / 0.7229 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4907, allocations: 1.062 kB / 0.7229 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4907, allocations: 0.7031 kB / 0.7229 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.839e-05/0.4908, allocations: 111.5 kB / 0.723 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4908, allocations: 1.656 kB / 0.723 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.797e-05/0.4908, allocations: 8.016 kB / 0.723 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4908, allocations: 5.406 kB / 0.723 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.4908, allocations: 0 / 0.723 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4908, allocations: 0.7031 kB / 0.723 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4908, allocations: 1.188 kB / 0.723 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.491, allocations: 162.7 kB / 0.7232 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.094e-05/0.491, allocations: 14.77 kB / 0.7232 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.491, allocations: 0.75 kB / 0.7232 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.982e-05/0.491, allocations: 6.797 kB / 0.7232 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.4911, allocations: 2.438 kB / 0.7232 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.4911, allocations: 1.094 kB / 0.7232 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.971e-05/0.4911, allocations: 83.78 kB / 0.7233 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4911, allocations: 0 / 0.7233 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000144/0.4912, allocations: 3.656 kB / 0.7233 GB, free: 20.45 MB / 0.6355 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 8.277e-05/0.4913, allocations: 93.02 kB / 0.7234 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.4915, allocations: 43.05 kB / 0.7234 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4915, allocations: 1 kB / 0.7234 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.825e-05/0.4915, allocations: 20.33 kB / 0.7234 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.4917, allocations: 2.672 kB / 0.7234 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/0.492, allocations: 114.9 kB / 0.7235 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.903e-05/0.492, allocations: 64.34 kB / 0.7236 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.048e-05/0.4921, allocations: 2.109 kB / 0.7236 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.4921, allocations: 13.59 kB / 0.7236 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of SimCode: time 4.21e-07/0.4921, allocations: 0 / 0.7236 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of Templates: time 0.002086/0.4942, allocations: 488 kB / 0.7241 GB, free: 20.05 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.294127997942269] Failed to read output from testmodel.py, exit status != 0: 0.5024422090500593 0.510818384 0.020419217 Calling exit ...