Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008976/0.0008976, allocations: 80.94 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.0009717/0.0009717, allocations: 173 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.032/1.032, allocations: 177.1 MB / 203.8 MB, free: 5.465 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-535:34: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-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.891/0.891, allocations: 154.9 MB / 415.1 MB, free: 240 kB / 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.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 480.5 MB, free: 6.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.594e-05, allocations: 6.719 kB / 480.5 MB, free: 6.477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002472/0.002498, allocations: 0.7048 MB / 481.2 MB, free: 5.809 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.003589, allocations: 0.8704 MB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.112e-05/0.003621, allocations: 0.625 kB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.003639, allocations: 0.6562 kB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.462e-05/0.003684, allocations: 3.562 kB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001059/0.00379, allocations: 24.39 kB / 482.1 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.757e-05/0.003847, allocations: 28.03 kB / 482.1 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.837e-05/0.003896, allocations: 0.5469 kB / 482.1 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.307e-05/0.003949, allocations: 12.75 kB / 482.1 MB, free: 4.871 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.631e-05/0.003975, allocations: 9.203 kB / 482.1 MB, free: 4.863 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.003985, allocations: 5.406 kB / 482.1 MB, free: 4.859 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.951e-05/0.004025, allocations: 4 kB / 482.1 MB, free: 4.855 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.004038, allocations: 8.953 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.457e-05/0.004053, allocations: 9.094 kB / 482.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.305e-05/0.004126, allocations: 17.47 kB / 482.2 MB, free: 4.824 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.004127, allocations: 1.594 kB / 482.2 MB, free: 4.824 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004128, allocations: 0.9844 kB / 482.2 MB, free: 4.824 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.004133, allocations: 0 / 482.2 MB, free: 4.824 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.0002532/0.004386, allocations: 240.7 kB / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.00442, allocations: 12.94 kB / 482.4 MB, free: 4.555 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.757e-05/0.004518, allocations: 5.281 kB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.985e-05/0.004608, allocations: 110.7 kB / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.004616, allocations: 4.375 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-06/0.004621, allocations: 384 / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.672e-05/0.004708, allocations: 65.06 kB / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.678e-06/0.004712, allocations: 192 / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-06/0.004717, allocations: 384 / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.00472, allocations: 1.031 kB / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.21e-05/0.004742, allocations: 7.938 kB / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.004909, allocations: 141.6 kB / 482.7 MB, free: 4.188 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.458e-05/0.004943, allocations: 22.52 kB / 482.8 MB, free: 4.156 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.487e-05/0.004958, allocations: 5.922 kB / 482.8 MB, free: 4.148 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.00497, allocations: 4.828 kB / 482.8 MB, free: 4.145 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.004988, allocations: 34.56 kB / 482.8 MB, free: 4.102 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 6.62e-07/0.004988, allocations: 1.156 kB / 482.8 MB, free: 4.102 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 9.101e-05/0.005079, allocations: 41.62 kB / 482.9 MB, free: 4.055 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.005107, allocations: 56.06 kB / 482.9 MB, free: 3.988 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.292e-05/0.005159, allocations: 102.7 kB / 483 MB, free: 3.875 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.00517, allocations: 27.2 kB / 483 MB, free: 3.844 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.005204, allocations: 88.67 kB / 483.1 MB, free: 3.754 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.005218, allocations: 11.89 kB / 483.1 MB, free: 3.742 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.005246, allocations: 17.7 kB / 483.2 MB, free: 3.719 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.433e-05/0.005341, allocations: 316.3 kB / 483.5 MB, free: 3.402 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-06/0.005348, allocations: 0 / 483.5 MB, free: 3.402 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.987e-06/0.005357, allocations: 4.766 kB / 483.5 MB, free: 3.398 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.314e-05/0.005381, allocations: 13.53 kB / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.005382, allocations: 0 / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.6e-05/0.005438, allocations: 38.39 kB / 483.5 MB, free: 3.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.005449, allocations: 5.219 kB / 483.5 MB, free: 3.336 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.005453, allocations: 0 / 483.5 MB, free: 3.336 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.005465, allocations: 0 / 483.5 MB, free: 3.336 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.00553, allocations: 17.88 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.005533, allocations: 0 / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.043e-05/0.005553, allocations: 0.5 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/0.005557, allocations: 0 / 483.5 MB, free: 3.32 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 5.524e-05/0.005613, allocations: 110.5 kB / 483.6 MB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.005633, allocations: 0.625 kB / 483.6 MB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.165e-05/0.005705, allocations: 52.78 kB / 483.7 MB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.005707, allocations: 0 / 483.7 MB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.005709, allocations: 4.562 kB / 483.7 MB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.005712, allocations: 0.625 kB / 483.7 MB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.00582, allocations: 65.89 kB / 483.8 MB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.005821, allocations: 5.641 kB / 483.8 MB, free: 3.059 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-05/0.005851, allocations: 7.984 kB / 483.8 MB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.005852, allocations: 5.719 kB / 483.8 MB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-06/0.005857, allocations: 0 / 483.8 MB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.005859, allocations: 4 kB / 483.8 MB, free: 3.043 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.00586, allocations: 0 / 483.8 MB, free: 3.043 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.151e-05/0.005951, allocations: 136.9 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.005961, allocations: 9.047 kB / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.00597, allocations: 0 / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.25e-05/0.006023, allocations: 0 / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.006048, allocations: 12.7 kB / 483.9 MB, free: 2.875 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.006051, allocations: 0 / 483.9 MB, free: 2.875 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.345e-05/0.006064, allocations: 16.45 kB / 484 MB, free: 2.859 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.006064, allocations: 0 / 484 MB, free: 2.859 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001991/0.006263, allocations: 4 kB / 484 MB, free: 2.855 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.0001013/0.006365, allocations: 77.39 kB / 484 MB, free: 2.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.212e-05/0.006407, allocations: 9.391 kB / 484.1 MB, free: 2.758 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.006409, allocations: 2.406 kB / 484.1 MB, free: 2.758 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.912e-05/0.006428, allocations: 12.84 kB / 484.1 MB, free: 2.742 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.006876, allocations: 8 kB / 484.1 MB, free: 2.734 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.007252, allocations: 114.7 kB / 484.2 MB, free: 2.598 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.766e-05/0.00732, allocations: 56.5 kB / 484.2 MB, free: 2.523 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.774e-05/0.007338, allocations: 4 kB / 484.2 MB, free: 2.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.00738, allocations: 48.25 kB / 484.3 MB, free: 2.473 MB / 442.7 MB Notification: Performance of SimCode: time 4.81e-07/0.00738, allocations: 5.5 kB / 484.3 MB, free: 2.469 MB / 442.7 MB Notification: Performance of Templates: time 0.001996/0.009376, allocations: 451.4 kB / 484.7 MB, free: 2.047 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6296091116964817]