Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.0009089/0.0009089, allocations: 76.94 kB / 19.94 MB, free: 4.543 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.001609/0.001609, allocations: 176.9 kB / 23.36 MB, free: 1.125 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.972/0.972, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.7693/0.7693, 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.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 480.4 MB, free: 6.504 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.645e-05, allocations: 4.438 kB / 480.4 MB, free: 6.5 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001579/0.001606, allocations: 0.6641 MB / 481.1 MB, free: 5.867 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000896/0.002502, allocations: 0.8697 MB / 481.9 MB, free: 4.988 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.132e-05/0.002533, allocations: 1.531 kB / 481.9 MB, free: 4.988 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.002558, allocations: 0 / 481.9 MB, free: 4.988 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.989e-05/0.002628, allocations: 9.453 kB / 482 MB, free: 4.98 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.002799, allocations: 16.47 kB / 482 MB, free: 4.965 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.273e-05/0.002872, allocations: 26 kB / 482 MB, free: 4.945 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.403e-05/0.002956, allocations: 4 kB / 482 MB, free: 4.941 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.433e-05/0.00303, allocations: 13.92 kB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.682e-05/0.003067, allocations: 12.86 kB / 482 MB, free: 4.918 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.00308, allocations: 0 / 482 MB, free: 4.918 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.386e-05/0.003124, allocations: 7.984 kB / 482 MB, free: 4.91 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.003141, allocations: 5.844 kB / 482 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.693e-05/0.003158, allocations: 6.328 kB / 482 MB, free: 4.902 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.003261, allocations: 21.28 kB / 482.1 MB, free: 4.883 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.003264, allocations: 0 / 482.1 MB, free: 4.883 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.003265, allocations: 0 / 482.1 MB, free: 4.883 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.003269, allocations: 0 / 482.1 MB, free: 4.883 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.0003056/0.003574, allocations: 241.9 kB / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.003609, allocations: 9.844 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.177e-05/0.003701, allocations: 5.281 kB / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.868e-05/0.00378, allocations: 113.7 kB / 482.4 MB, free: 4.477 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.003788, allocations: 384 / 482.4 MB, free: 4.477 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.003795, allocations: 1.359 kB / 482.4 MB, free: 4.477 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.003895, allocations: 56.39 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.003902, allocations: 192 / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.003908, allocations: 384 / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/0.003916, allocations: 5.219 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.824e-05/0.003934, allocations: 3.938 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.004114, allocations: 144.2 kB / 482.6 MB, free: 4.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.05e-05/0.004154, allocations: 23.62 kB / 482.7 MB, free: 4.219 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.255e-05/0.004167, allocations: 12.92 kB / 482.7 MB, free: 4.203 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.004181, allocations: 4.484 kB / 482.7 MB, free: 4.203 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.0042, allocations: 35.58 kB / 482.7 MB, free: 4.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.004201, allocations: 0 / 482.7 MB, free: 4.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001001/0.004301, allocations: 40.25 kB / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.00433, allocations: 59.34 kB / 482.8 MB, free: 4.047 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.14e-05/0.004382, allocations: 102.7 kB / 482.9 MB, free: 3.934 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.669e-06/0.004391, allocations: 25.7 kB / 482.9 MB, free: 3.902 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.621e-05/0.004418, allocations: 84.14 kB / 483 MB, free: 3.816 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.004436, allocations: 15.88 kB / 483 MB, free: 3.801 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.004459, allocations: 13.72 kB / 483 MB, free: 3.781 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.365e-05/0.004532, allocations: 316.7 kB / 483.4 MB, free: 3.465 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-06/0.004541, allocations: 3.984 kB / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-06/0.004548, allocations: 0.875 kB / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.21e-05/0.00457, allocations: 13.92 kB / 483.4 MB, free: 3.445 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.004572, allocations: 0 / 483.4 MB, free: 3.445 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.3e-05/0.004615, allocations: 37.62 kB / 483.4 MB, free: 3.402 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.004626, allocations: 8.625 kB / 483.4 MB, free: 3.395 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.00463, allocations: 0.625 kB / 483.4 MB, free: 3.395 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.004643, allocations: 4 kB / 483.4 MB, free: 3.391 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.586e-05/0.004708, allocations: 9.109 kB / 483.4 MB, free: 3.383 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.004711, allocations: 0 / 483.4 MB, free: 3.383 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.606e-05/0.004727, allocations: 8.609 kB / 483.4 MB, free: 3.375 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.004732, allocations: 0.625 kB / 483.4 MB, free: 3.375 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.019e-05/0.004782, allocations: 106.5 kB / 483.5 MB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.004793, allocations: 4.875 kB / 483.5 MB, free: 3.258 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.73e-05/0.004861, allocations: 48.89 kB / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.004862, allocations: 0.5312 kB / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.004865, allocations: 7.938 kB / 483.6 MB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.004868, allocations: 0.5625 kB / 483.6 MB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.52e-05/0.004943, allocations: 75.25 kB / 483.7 MB, free: 3.109 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.004944, allocations: 0 / 483.7 MB, free: 3.109 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.004972, allocations: 4 kB / 483.7 MB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.004974, allocations: 0.875 kB / 483.7 MB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-06/0.004978, allocations: 0.9062 kB / 483.7 MB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-07/0.004979, allocations: 0 / 483.7 MB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.00498, allocations: 0.75 kB / 483.7 MB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.393e-05/0.005044, allocations: 136.1 kB / 483.8 MB, free: 2.957 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-06/0.005049, allocations: 3.953 kB / 483.8 MB, free: 2.953 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.833e-06/0.005056, allocations: 1.312 kB / 483.8 MB, free: 2.953 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.949e-05/0.005085, allocations: 11.98 kB / 483.8 MB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.00511, allocations: 4.703 kB / 483.8 MB, free: 2.938 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.005112, allocations: 0.5312 kB / 483.8 MB, free: 2.938 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.38e-05/0.005126, allocations: 14.16 kB / 483.9 MB, free: 2.922 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005126, allocations: 1.062 kB / 483.9 MB, free: 2.922 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001033/0.005229, allocations: 4 kB / 483.9 MB, free: 2.918 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 9.215e-05/0.005321, allocations: 77.97 kB / 483.9 MB, free: 2.832 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.075e-05/0.005372, allocations: 13.89 kB / 483.9 MB, free: 2.816 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.005374, allocations: 0.9844 kB / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.233e-05/0.005386, allocations: 10.27 kB / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.005518, allocations: 11.94 kB / 484 MB, free: 2.793 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.005854, allocations: 114.1 kB / 484.1 MB, free: 2.656 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.952e-05/0.005883, allocations: 56.11 kB / 484.1 MB, free: 2.582 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.471e-05/0.005898, allocations: 1.469 kB / 484.1 MB, free: 2.582 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.005938, allocations: 51.38 kB / 484.2 MB, free: 2.531 MB / 442.7 MB Notification: Performance of SimCode: time 7.61e-07/0.005939, allocations: 0 / 484.2 MB, free: 2.531 MB / 442.7 MB Notification: Performance of Templates: time 0.001852/0.007791, allocations: 463.7 kB / 484.6 MB, free: 2.109 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5396774979308248]