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.0009051/0.0009051, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001027/0.001027, allocations: 181 kB / 23.36 MB, free: 1.133 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.012/1.012, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.879/0.879, allocations: 154.6 MB / 414.8 MB, free: 488 kB / 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 2.374e-06/2.374e-06, allocations: 0 / 480.1 MB, free: 6.754 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/3.049e-05, allocations: 2.312 kB / 480.1 MB, free: 6.75 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002481/0.002512, allocations: 0.7117 MB / 480.8 MB, free: 6.07 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.003778, allocations: 0.8676 MB / 481.7 MB, free: 5.195 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.163e-05/0.00382, allocations: 0 / 481.7 MB, free: 5.195 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.003851, allocations: 4.531 kB / 481.7 MB, free: 5.191 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.003932, allocations: 5.203 kB / 481.7 MB, free: 5.188 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.004108, allocations: 17.83 kB / 481.7 MB, free: 5.172 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.164e-05/0.0042, allocations: 24.52 kB / 481.7 MB, free: 5.152 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.621e-05/0.004296, allocations: 8 kB / 481.7 MB, free: 5.145 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.318e-05/0.004389, allocations: 13.41 kB / 481.8 MB, free: 5.133 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.004434, allocations: 9.297 kB / 481.8 MB, free: 5.125 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.004451, allocations: 1.25 kB / 481.8 MB, free: 5.125 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.721e-05/0.004528, allocations: 11.98 kB / 481.8 MB, free: 5.113 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.004548, allocations: 4.984 kB / 481.8 MB, free: 5.109 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.004567, allocations: 5.484 kB / 481.8 MB, free: 5.105 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.004681, allocations: 18.09 kB / 481.8 MB, free: 5.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.004684, allocations: 0 / 481.8 MB, free: 5.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.004685, allocations: 0.7656 kB / 481.8 MB, free: 5.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.004689, allocations: 0 / 481.8 MB, free: 5.09 MB / 442.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.0003267/0.005016, allocations: 240.3 kB / 482 MB, free: 4.832 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.005055, allocations: 12.75 kB / 482.1 MB, free: 4.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.005166, allocations: 1.281 kB / 482.1 MB, free: 4.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.005269, allocations: 112.6 kB / 482.2 MB, free: 4.688 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.00528, allocations: 0.9219 kB / 482.2 MB, free: 4.688 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.005288, allocations: 4.375 kB / 482.2 MB, free: 4.684 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.005405, allocations: 54.88 kB / 482.2 MB, free: 4.621 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.005412, allocations: 192 / 482.2 MB, free: 4.621 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.005421, allocations: 4.375 kB / 482.2 MB, free: 4.617 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.005426, allocations: 0.9219 kB / 482.2 MB, free: 4.617 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.281e-05/0.005449, allocations: 6.703 kB / 482.2 MB, free: 4.613 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.005681, allocations: 153.3 kB / 482.4 MB, free: 4.449 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.484e-05/0.005726, allocations: 19.11 kB / 482.4 MB, free: 4.422 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.604e-05/0.005742, allocations: 8.797 kB / 482.4 MB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.005757, allocations: 1.641 kB / 482.4 MB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.005784, allocations: 34.62 kB / 482.5 MB, free: 4.367 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/0.005785, allocations: 0.625 kB / 482.5 MB, free: 4.367 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001257/0.005911, allocations: 38.36 kB / 482.5 MB, free: 4.324 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.005948, allocations: 59.34 kB / 482.5 MB, free: 4.254 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.673e-05/0.006015, allocations: 104.4 kB / 482.7 MB, free: 4.141 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.006029, allocations: 25.7 kB / 482.7 MB, free: 4.109 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.006076, allocations: 88.75 kB / 482.8 MB, free: 4.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.006098, allocations: 8.516 kB / 482.8 MB, free: 4.012 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.006127, allocations: 9.719 kB / 482.8 MB, free: 3.996 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.00623, allocations: 315.5 kB / 483.1 MB, free: 3.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.041e-05/0.00624, allocations: 3.938 kB / 483.1 MB, free: 3.676 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.006251, allocations: 4.594 kB / 483.1 MB, free: 3.672 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.888e-05/0.006279, allocations: 13.66 kB / 483.1 MB, free: 3.656 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.006281, allocations: 1.781 kB / 483.1 MB, free: 3.656 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.055e-05/0.006342, allocations: 34.25 kB / 483.1 MB, free: 3.617 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.006356, allocations: 7.984 kB / 483.2 MB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.006361, allocations: 0 / 483.2 MB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.006375, allocations: 0.8125 kB / 483.2 MB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.889e-05/0.006453, allocations: 7.938 kB / 483.2 MB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.00646, allocations: 6.141 kB / 483.2 MB, free: 3.598 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.422e-05/0.006484, allocations: 8 kB / 483.2 MB, free: 3.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.006492, allocations: 4 kB / 483.2 MB, free: 3.586 MB / 442.7 MB 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.121e-05/0.006563, allocations: 114.4 kB / 483.3 MB, free: 3.465 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.006583, allocations: 1.312 kB / 483.3 MB, free: 3.465 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.053e-05/0.006663, allocations: 37.72 kB / 483.3 MB, free: 3.426 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.006667, allocations: 4 kB / 483.3 MB, free: 3.422 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.006672, allocations: 5.156 kB / 483.3 MB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006675, allocations: 0 / 483.3 MB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.006798, allocations: 70.52 kB / 483.4 MB, free: 3.332 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.0068, allocations: 0.7188 kB / 483.4 MB, free: 3.332 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.006844, allocations: 8.75 kB / 483.4 MB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.006847, allocations: 1.094 kB / 483.4 MB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.006852, allocations: 0 / 483.4 MB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.006854, allocations: 4 kB / 483.4 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.006855, allocations: 1.906 kB / 483.4 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.006957, allocations: 143.5 kB / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-06/0.006965, allocations: 5.312 kB / 483.6 MB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.006975, allocations: 5.422 kB / 483.6 MB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.063e-05/0.007026, allocations: 0.5938 kB / 483.6 MB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.007058, allocations: 4.578 kB / 483.6 MB, free: 3.152 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.007063, allocations: 4 kB / 483.6 MB, free: 3.148 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.695e-05/0.00708, allocations: 10.2 kB / 483.6 MB, free: 3.137 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.00708, allocations: 0 / 483.6 MB, free: 3.137 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001791/0.007259, allocations: 8 kB / 483.6 MB, free: 3.129 MB / 442.7 MB 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 0.0001138/0.007373, allocations: 77.52 kB / 483.7 MB, free: 3.043 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.825e-05/0.007441, allocations: 17.66 kB / 483.7 MB, free: 3.023 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.007444, allocations: 0 / 483.7 MB, free: 3.023 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.657e-05/0.007461, allocations: 10.27 kB / 483.7 MB, free: 3.012 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.007645, allocations: 4 kB / 483.7 MB, free: 3.008 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.008092, allocations: 114.2 kB / 483.8 MB, free: 2.875 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.079e-05/0.008133, allocations: 57.77 kB / 483.9 MB, free: 2.801 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.995e-05/0.008153, allocations: 0 / 483.9 MB, free: 2.801 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.008197, allocations: 51.38 kB / 483.9 MB, free: 2.75 MB / 442.7 MB Notification: Performance of SimCode: time 8.81e-07/0.008198, allocations: 0.8438 kB / 483.9 MB, free: 2.75 MB / 442.7 MB Notification: Performance of Templates: time 0.002051/0.01025, allocations: 465.8 kB / 484.4 MB, free: 2.324 MB / 442.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.670540700200945]