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.0009033/0.0009033, allocations: 72.45 kB / 19.91 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.001014/0.001014, 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.8678/0.8678, allocations: 177.2 MB / 203.6 MB, free: 5.348 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-531:686: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-531:694: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.689/0.689, allocations: 154.7 MB / 414.7 MB, free: 0.6836 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: 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.0007605/0.0007605, allocations: 69.92 kB / 0.6196 GB, free: 11.96 MB / 0.5417 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3947, allocations: 102 MB / 0.7192 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001782/0.3965, allocations: 0.6605 MB / 0.7198 GB, free: 13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008717/0.3973, allocations: 0.8383 MB / 0.7206 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.3974, allocations: 0 / 0.7206 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.3974, allocations: 3.938 kB / 0.7206 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.3975, allocations: 3.938 kB / 0.7206 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.3976, allocations: 11.98 kB / 0.7207 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.056e-05/0.3977, allocations: 31.92 kB / 0.7207 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.78e-05/0.3978, allocations: 11.98 kB / 0.7207 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.025e-05/0.3979, allocations: 11.98 kB / 0.7207 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.889e-05/0.3979, allocations: 15.86 kB / 0.7207 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.3979, allocations: 4 kB / 0.7207 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.468e-05/0.398, allocations: 10.25 kB / 0.7207 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.398, allocations: 0 / 0.7207 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.398, allocations: 7.938 kB / 0.7207 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.3981, allocations: 27.94 kB / 0.7208 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3981, allocations: 0 / 0.7208 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3981, allocations: 3.938 kB / 0.7208 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3981, allocations: 4 kB / 0.7208 GB, free: 12.01 MB / 0.6042 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.000342/0.3985, allocations: 266.3 kB / 0.721 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3985, allocations: 8.031 kB / 0.721 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.799e-05/0.3986, allocations: 4.938 kB / 0.721 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.804e-05/0.3987, allocations: 114.5 kB / 0.7212 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.3987, allocations: 384 / 0.7212 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.3987, allocations: 384 / 0.7212 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.3988, allocations: 50.23 kB / 0.7212 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.3988, allocations: 4.125 kB / 0.7212 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3988, allocations: 11.92 kB / 0.7212 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.3988, allocations: 0 / 0.7212 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.185e-05/0.3989, allocations: 39.89 kB / 0.7213 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.3992, allocations: 188.6 kB / 0.7214 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.641e-05/0.3993, allocations: 38.59 kB / 0.7215 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.288e-05/0.3993, allocations: 16.91 kB / 0.7215 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.3993, allocations: 11.94 kB / 0.7215 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.3993, allocations: 34.5 kB / 0.7215 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.3993, allocations: 0 / 0.7215 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002108/0.3995, allocations: 81.64 kB / 0.7216 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.3996, allocations: 51.41 kB / 0.7217 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.957e-05/0.3996, allocations: 101.8 kB / 0.7218 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.3996, allocations: 25.7 kB / 0.7218 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.3997, allocations: 84.14 kB / 0.7219 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.3997, allocations: 12.02 kB / 0.7219 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.3997, allocations: 17.72 kB / 0.7219 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.679e-05/0.3998, allocations: 310.8 kB / 0.7222 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.742e-05/0.3998, allocations: 19.97 kB / 0.7222 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.3999, allocations: 15.98 kB / 0.7222 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.53e-05/0.4, allocations: 36.77 kB / 0.7223 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4, allocations: 4.062 kB / 0.7223 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001036/0.4001, allocations: 73.55 kB / 0.7223 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.4001, allocations: 4 kB / 0.7223 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4001, allocations: 0 / 0.7223 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.4001, allocations: 4 kB / 0.7223 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.118e-05/0.4001, allocations: 11.92 kB / 0.7223 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.4002, allocations: 3.984 kB / 0.7224 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.484e-05/0.4002, allocations: 11.98 kB / 0.7224 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.4002, allocations: 4.031 kB / 0.7224 GB, free: 10.2 MB / 0.6042 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.001e-05/0.4002, allocations: 114.3 kB / 0.7225 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.4002, allocations: 3.938 kB / 0.7225 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.4004, allocations: 84.86 kB / 0.7226 GB, free: 9.996 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.4004, allocations: 0 / 0.7226 GB, free: 9.996 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4004, allocations: 0 / 0.7226 GB, free: 9.996 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.4004, allocations: 0 / 0.7226 GB, free: 9.996 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.154e-05/0.4005, allocations: 101.3 kB / 0.7227 GB, free: 9.867 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4005, allocations: 4.031 kB / 0.7227 GB, free: 9.863 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/0.4005, allocations: 11.98 kB / 0.7227 GB, free: 9.852 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.4005, allocations: 3.938 kB / 0.7227 GB, free: 9.848 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.4005, allocations: 4 kB / 0.7227 GB, free: 9.844 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.4005, allocations: 0 / 0.7227 GB, free: 9.844 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.4005, allocations: 3.938 kB / 0.7227 GB, free: 9.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.4006, allocations: 159.5 kB / 0.7228 GB, free: 9.668 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-06/0.4006, allocations: 11.89 kB / 0.7228 GB, free: 9.656 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.4006, allocations: 4.031 kB / 0.7229 GB, free: 9.652 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.593e-05/0.4007, allocations: 11.98 kB / 0.7229 GB, free: 9.641 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.4007, allocations: 0 / 0.7229 GB, free: 9.641 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.4007, allocations: 0 / 0.7229 GB, free: 9.641 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.55e-05/0.4007, allocations: 79.28 kB / 0.7229 GB, free: 9.562 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.4007, allocations: 0 / 0.7229 GB, free: 9.562 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001406/0.4009, allocations: 4 kB / 0.7229 GB, free: 9.559 MB / 0.6042 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 7.625e-05/0.4009, allocations: 95.23 kB / 0.723 GB, free: 9.453 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.4011, allocations: 43.97 kB / 0.7231 GB, free: 9.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.4011, allocations: 0 / 0.7231 GB, free: 9.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.724e-05/0.4011, allocations: 15.92 kB / 0.7231 GB, free: 9.395 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.4013, allocations: 7.984 kB / 0.7231 GB, free: 9.387 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.4016, allocations: 143.8 kB / 0.7232 GB, free: 9.211 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.954e-05/0.4016, allocations: 55.36 kB / 0.7233 GB, free: 9.137 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.4016, allocations: 16.62 kB / 0.7233 GB, free: 9.117 MB / 0.6042 GB Notification: Performance of SimCode: time 5.61e-07/0.4016, allocations: 3.938 kB / 0.7233 GB, free: 9.113 MB / 0.6042 GB Notification: Performance of Templates: time 0.00129/0.4029, allocations: 0.5505 MB / 0.7238 GB, free: 8.566 MB / 0.6042 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.242906405124813] Failed to read output from testmodel.py, exit status != 0: 0.40761537686921656 0.41629698600000004 0.016537981 Calling exit ...