Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.0009384/0.0009384, 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.001015/0.001015, allocations: 177 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.042/1.042, 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 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.8679/0.8679, allocations: 154.9 MB / 415.1 MB, free: 256 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 480.4 MB, free: 6.492 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.116e-05, allocations: 9.031 kB / 480.4 MB, free: 6.484 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001162/0.001183, allocations: 0.6544 MB / 481.1 MB, free: 5.863 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007215/0.001904, allocations: 0.8664 MB / 482 MB, free: 4.988 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.001929, allocations: 0 / 482 MB, free: 4.988 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.001949, allocations: 2.188 kB / 482 MB, free: 4.988 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.98e-05/0.001999, allocations: 2.297 kB / 482 MB, free: 4.988 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.002126, allocations: 16.58 kB / 482 MB, free: 4.973 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.381e-05/0.00218, allocations: 16.7 kB / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.164e-05/0.002211, allocations: 0 / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.002327, allocations: 26.62 kB / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.2e-05/0.002369, allocations: 9.188 kB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.00238, allocations: 0 / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.416e-05/0.002424, allocations: 4 kB / 482 MB, free: 4.926 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.002435, allocations: 5.516 kB / 482 MB, free: 4.922 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.205e-05/0.002447, allocations: 6.109 kB / 482.1 MB, free: 4.918 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 6.97e-05/0.002517, allocations: 13.52 kB / 482.1 MB, free: 4.906 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.002519, allocations: 0 / 482.1 MB, free: 4.906 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.002519, allocations: 0 / 482.1 MB, free: 4.906 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.956e-06/0.002522, allocations: 0.875 kB / 482.1 MB, free: 4.906 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002184/0.002741, allocations: 232.7 kB / 482.3 MB, free: 4.656 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.002768, allocations: 8.938 kB / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.519e-05/0.002864, allocations: 16.92 kB / 482.3 MB, free: 4.633 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.233e-05/0.002936, allocations: 116 kB / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.002944, allocations: 384 / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-06/0.002949, allocations: 384 / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.206e-05/0.003011, allocations: 47.48 kB / 482.5 MB, free: 4.441 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.471e-06/0.003016, allocations: 1.5 kB / 482.5 MB, free: 4.441 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-06/0.003022, allocations: 4.375 kB / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.003027, allocations: 1.219 kB / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.067e-05/0.003038, allocations: 4.594 kB / 482.5 MB, free: 4.434 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.912e-05/0.003107, allocations: 61.03 kB / 482.5 MB, free: 4.359 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.167e-05/0.003139, allocations: 24.64 kB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.948e-06/0.003149, allocations: 4.859 kB / 482.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-06/0.003158, allocations: 0 / 482.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.003175, allocations: 31.62 kB / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 5.01e-07/0.003175, allocations: 0 / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 7.341e-05/0.003249, allocations: 35.48 kB / 482.6 MB, free: 4.242 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.003273, allocations: 51.41 kB / 482.7 MB, free: 4.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.861e-05/0.003322, allocations: 106.7 kB / 482.8 MB, free: 4.062 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.00333, allocations: 31.12 kB / 482.8 MB, free: 4.027 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.939e-05/0.003349, allocations: 88.14 kB / 482.9 MB, free: 3.938 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.003365, allocations: 1.438 kB / 482.9 MB, free: 3.938 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.003387, allocations: 17.69 kB / 482.9 MB, free: 3.914 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.554e-05/0.003452, allocations: 318.8 kB / 483.2 MB, free: 3.594 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-06/0.003458, allocations: 0 / 483.2 MB, free: 3.594 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-06/0.003463, allocations: 0.5 kB / 483.2 MB, free: 3.594 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.72e-05/0.00348, allocations: 10.97 kB / 483.3 MB, free: 3.582 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.003481, allocations: 0 / 483.3 MB, free: 3.582 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.439e-05/0.003516, allocations: 33.69 kB / 483.3 MB, free: 3.543 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.003525, allocations: 8.688 kB / 483.3 MB, free: 3.535 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.003529, allocations: 0.6875 kB / 483.3 MB, free: 3.535 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.003539, allocations: 0.5469 kB / 483.3 MB, free: 3.535 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.651e-05/0.003576, allocations: 5.219 kB / 483.3 MB, free: 3.531 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.003578, allocations: 4 kB / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.042e-05/0.003588, allocations: 0 / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.003594, allocations: 3.984 kB / 483.3 MB, free: 3.523 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 (1): * Single equations (assignments): 1 * 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 4.131e-05/0.003635, allocations: 111.7 kB / 483.4 MB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-06/0.00364, allocations: 5.406 kB / 483.4 MB, free: 3.402 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.547e-05/0.003655, allocations: 11.02 kB / 483.4 MB, free: 3.395 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.003657, allocations: 0 / 483.4 MB, free: 3.395 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.003658, allocations: 0.625 kB / 483.4 MB, free: 3.395 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.00366, allocations: 0 / 483.4 MB, free: 3.395 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.082e-05/0.003711, allocations: 78.44 kB / 483.5 MB, free: 3.301 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.003711, allocations: 0.875 kB / 483.5 MB, free: 3.301 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.215e-05/0.003723, allocations: 8 kB / 483.5 MB, free: 3.293 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-07/0.003724, allocations: 0.625 kB / 483.5 MB, free: 3.293 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-06/0.003727, allocations: 0 / 483.5 MB, free: 3.293 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.8e-07/0.003727, allocations: 1.703 kB / 483.5 MB, free: 3.293 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.003728, allocations: 0 / 483.5 MB, free: 3.293 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.686e-05/0.003775, allocations: 73.19 kB / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-06/0.00378, allocations: 3.953 kB / 483.6 MB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-06/0.003786, allocations: 4 kB / 483.6 MB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-06/0.003794, allocations: 0 / 483.6 MB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.003813, allocations: 5.141 kB / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.003815, allocations: 1.094 kB / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.316e-06/0.003823, allocations: 8.859 kB / 483.6 MB, free: 3.184 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003823, allocations: 1.031 kB / 483.6 MB, free: 3.184 MB / 442.7 MB Notification: Performance of remove unused functions: time 8.817e-05/0.003911, allocations: 4 kB / 483.6 MB, free: 3.18 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 (1): * Single equations (assignments): 1 * 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 6.078e-05/0.003972, allocations: 72.95 kB / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.778e-05/0.00402, allocations: 18.59 kB / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.004022, allocations: 0 / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.738e-06/0.004031, allocations: 8.859 kB / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.88e-05/0.00409, allocations: 5.25 kB / 483.7 MB, free: 3.062 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.004386, allocations: 123.3 kB / 483.8 MB, free: 2.918 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.56e-05/0.004412, allocations: 51.36 kB / 483.9 MB, free: 2.848 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.302e-05/0.004425, allocations: 1.562 kB / 483.9 MB, free: 2.848 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.004456, allocations: 55.36 kB / 484 MB, free: 2.793 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.004456, allocations: 0 / 484 MB, free: 2.793 MB / 442.7 MB Notification: Performance of Templates: time 0.001523/0.005979, allocations: 300.9 kB / 484.2 MB, free: 2.516 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7470562737435102]