Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.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.0009124/0.0009124, allocations: 92.22 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.001004/0.001004, allocations: 169 kB / 23.02 MB, free: 1.547 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.013/1.013, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7766/0.7766, allocations: 154.6 MB / 414.5 MB, free: 0.6758 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.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.5204 GB, free: 2.133 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.323e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.129 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001679/0.001702, allocations: 0.653 MB / 0.521 GB, free: 1.5 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.002853, allocations: 0.8687 MB / 0.5219 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.5e-05/0.002888, allocations: 0.6562 kB / 0.5219 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.002918, allocations: 0 / 0.5219 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.684e-05/0.002984, allocations: 9.141 kB / 0.5219 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.003185, allocations: 17.03 kB / 0.5219 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.831e-05/0.003263, allocations: 23.92 kB / 0.5219 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.003371, allocations: 7.969 kB / 0.5219 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.299e-05/0.003444, allocations: 12.69 kB / 0.5219 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.814e-05/0.003483, allocations: 7.984 kB / 0.522 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.003501, allocations: 5.281 kB / 0.522 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.706e-05/0.003548, allocations: 4 kB / 0.522 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.003568, allocations: 7.938 kB / 0.522 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.00359, allocations: 9.078 kB / 0.522 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.0037, allocations: 23.91 kB / 0.522 GB, free: 0.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.003702, allocations: 0 / 0.522 GB, free: 0.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003703, allocations: 0.5 kB / 0.522 GB, free: 0.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.003707, allocations: 0.5312 kB / 0.522 GB, free: 0.5 MB / 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.0003785/0.004085, allocations: 358.5 kB / 0.5223 GB, free: 116 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.004126, allocations: 12.03 kB / 0.5224 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.004233, allocations: 8.891 kB / 0.5224 GB, free: 96 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.004343, allocations: 108.6 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.004354, allocations: 384 / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.004367, allocations: 5.938 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.004509, allocations: 54.95 kB / 0.5225 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.00452, allocations: 192 / 0.5225 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.00453, allocations: 384 / 0.5225 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-06/0.004538, allocations: 1.844 kB / 0.5225 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.744e-05/0.004576, allocations: 15.81 kB / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.004896, allocations: 247.8 kB / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.998e-05/0.004956, allocations: 32.03 kB / 0.5228 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.635e-05/0.004982, allocations: 7.688 kB / 0.5228 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.005005, allocations: 4.062 kB / 0.5228 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.4e-05/0.005029, allocations: 34.36 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.00503, allocations: 0 / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001697/0.0052, allocations: 59 kB / 0.5229 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.005235, allocations: 51.41 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.777e-05/0.005323, allocations: 161.9 kB / 0.5231 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.005335, allocations: 25.7 kB / 0.5231 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.005386, allocations: 131.4 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.005406, allocations: 8.922 kB / 0.5233 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.005437, allocations: 19.38 kB / 0.5233 GB, free: 15 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.005578, allocations: 496.1 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.005594, allocations: 5.125 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.31e-05/0.005607, allocations: 3.984 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.781e-05/0.005645, allocations: 16.19 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.005647, allocations: 1.719 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.179e-05/0.005719, allocations: 37.7 kB / 0.5238 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.005733, allocations: 8 kB / 0.5238 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.00574, allocations: 3.938 kB / 0.5238 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.005755, allocations: 1.812 kB / 0.5238 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.025e-05/0.005836, allocations: 7.984 kB / 0.5238 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.005841, allocations: 0 / 0.5238 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.005868, allocations: 4 kB / 0.5238 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.005874, allocations: 1.031 kB / 0.5238 GB, free: 14.41 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 7.603e-05/0.00595, allocations: 152.6 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.005975, allocations: 4.938 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.006081, allocations: 52.47 kB / 0.524 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.006083, allocations: 7.25 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.006087, allocations: 0 / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.006091, allocations: 0 / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.006224, allocations: 120.6 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.006225, allocations: 0 / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.006259, allocations: 4 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.006261, allocations: 3.938 kB / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.00627, allocations: 3.984 kB / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/0.006274, allocations: 3.938 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.006275, allocations: 6.844 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.006395, allocations: 183.9 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-06/0.006403, allocations: 4 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.006417, allocations: 3.984 kB / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.637e-05/0.006473, allocations: 3.938 kB / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.006522, allocations: 4 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.006527, allocations: 4 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.077e-05/0.006578, allocations: 132.7 kB / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.006578, allocations: 0 / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002571/0.006835, allocations: 4 kB / 0.5245 GB, free: 13.67 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 8.399e-05/0.006919, allocations: 92.53 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.322e-05/0.007003, allocations: 11.69 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007004, allocations: 0.5938 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.698e-05/0.007031, allocations: 16.47 kB / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.007306, allocations: 11.98 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.0005258/0.007832, allocations: 125 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.099e-05/0.007873, allocations: 51.36 kB / 0.5248 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.874e-05/0.007891, allocations: 0 / 0.5248 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.007925, allocations: 22.92 kB / 0.5248 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.007926, allocations: 0 / 0.5248 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.002672/0.0106, allocations: 475.3 kB / 0.5253 GB, free: 12.85 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8934615440666676]