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.0008885/0.0008885, allocations: 93.06 kB / 19.65 MB, free: 284 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.0009087/0.0009087, allocations: 169 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 0.9277/0.9277, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.7267/0.7267, allocations: 154.6 MB / 414.5 MB, free: 0.6602 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.463e-06/1.463e-06, allocations: 0 / 0.5204 GB, free: 2.121 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288e-05/1.435e-05, allocations: 4 kB / 0.5204 GB, free: 2.117 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001023/0.001038, allocations: 0.6597 MB / 0.521 GB, free: 1.48 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006889/0.001727, allocations: 0.867 MB / 0.5219 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.001755, allocations: 0 / 0.5219 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.00178, allocations: 0 / 0.5219 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.733e-05/0.001838, allocations: 5.719 kB / 0.5219 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.002001, allocations: 19.86 kB / 0.5219 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.837e-05/0.002059, allocations: 27.91 kB / 0.5219 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.201e-05/0.002131, allocations: 4 kB / 0.5219 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.03e-05/0.002191, allocations: 17.39 kB / 0.5219 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.641e-05/0.002218, allocations: 4 kB / 0.522 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.002231, allocations: 4 kB / 0.522 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.656e-05/0.002267, allocations: 4 kB / 0.522 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.002282, allocations: 8.734 kB / 0.522 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.501e-05/0.002297, allocations: 4 kB / 0.522 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.299e-05/0.00238, allocations: 25.38 kB / 0.522 GB, free: 496 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.002381, allocations: 0 / 0.522 GB, free: 496 kB / 490.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.002382, allocations: 0 / 0.522 GB, free: 496 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.002386, allocations: 4 kB / 0.522 GB, free: 492 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.0003014/0.002687, allocations: 354 kB / 0.5223 GB, free: 100 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.002717, allocations: 12.03 kB / 0.5223 GB, free: 88 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.466e-05/0.002802, allocations: 12.89 kB / 0.5224 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.662e-05/0.002878, allocations: 109.2 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.002888, allocations: 384 / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.0029, allocations: 7.594 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.743e-05/0.002998, allocations: 50.95 kB / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.003005, allocations: 192 / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.003013, allocations: 4.375 kB / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.00302, allocations: 384 / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.604e-05/0.003046, allocations: 15.91 kB / 0.5225 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.003274, allocations: 239.8 kB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.661e-05/0.00332, allocations: 35 kB / 0.5228 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.003338, allocations: 12.28 kB / 0.5228 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.003353, allocations: 4.719 kB / 0.5228 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.003371, allocations: 33.39 kB / 0.5229 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.003371, allocations: 0.7812 kB / 0.5229 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001242/0.003496, allocations: 51 kB / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.003522, allocations: 51.41 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.16e-05/0.003584, allocations: 161.9 kB / 0.5231 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.003593, allocations: 25.7 kB / 0.5231 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.00363, allocations: 131.8 kB / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.003645, allocations: 7.891 kB / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.003668, allocations: 24.59 kB / 0.5233 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.003764, allocations: 0.4884 MB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.206e-05/0.003776, allocations: 4 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.605e-06/0.003784, allocations: 1.281 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.255e-05/0.003806, allocations: 11.69 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.003808, allocations: 0 / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.741e-05/0.003855, allocations: 42.45 kB / 0.5238 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.003868, allocations: 11.98 kB / 0.5238 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.003872, allocations: 5.219 kB / 0.5238 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.003883, allocations: 4 kB / 0.5238 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.498e-05/0.003938, allocations: 4 kB / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.003942, allocations: 1.344 kB / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.003958, allocations: 4 kB / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.003962, allocations: 0 / 0.5238 GB, free: 14.39 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.268e-05/0.004015, allocations: 159.4 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.004027, allocations: 4 kB / 0.524 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.75e-05/0.004094, allocations: 52.53 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.004096, allocations: 0 / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.004098, allocations: 0 / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.004101, allocations: 0 / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.956e-05/0.00418, allocations: 120.5 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.004181, allocations: 2.75 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.004199, allocations: 7.984 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.0042, allocations: 0 / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.004205, allocations: 0 / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.004208, allocations: 7.938 kB / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.004209, allocations: 0 / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.431e-05/0.004283, allocations: 183.9 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-06/0.004289, allocations: 4.844 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-06/0.004296, allocations: 0 / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.79e-05/0.004324, allocations: 4.938 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.004354, allocations: 7.984 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.004355, allocations: 0.875 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.789e-05/0.004383, allocations: 123.2 kB / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004383, allocations: 0 / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001308/0.004514, allocations: 8.5 kB / 0.5245 GB, free: 13.66 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 5.72e-05/0.004571, allocations: 101.1 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.314e-05/0.004634, allocations: 15.67 kB / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.91e-07/0.004635, allocations: 0 / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-05/0.00465, allocations: 14.12 kB / 0.5246 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.004817, allocations: 6.5 kB / 0.5246 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.00518, allocations: 135.3 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.981e-05/0.00521, allocations: 55.34 kB / 0.5248 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.359e-05/0.005223, allocations: 0 / 0.5248 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.257e-05/0.005246, allocations: 16.5 kB / 0.5248 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.005247, allocations: 0 / 0.5248 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.001728/0.006974, allocations: 0.5065 MB / 0.5253 GB, free: 12.79 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.4628792689181864]