Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.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.0007403/0.0007403, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009607/0.001701, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001076/0.001076, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001319/0.002395, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.061/1.061, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1005/1.162, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8612/0.8612, allocations: 155.3 MB / 399.3 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3313/1.193, allocations: 49.12 MB / 448.4 MB, free: 6.016 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 449.8 MB, free: 4.668 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.894e-05, allocations: 2.859 kB / 449.8 MB, free: 4.664 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001317/0.001336, allocations: 0.7392 MB / 450.5 MB, free: 3.961 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007559/0.002092, allocations: 0.9148 MB / 451.4 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.002123, allocations: 0 / 451.4 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.002144, allocations: 0 / 451.4 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.028e-05/0.002184, allocations: 20.45 kB / 451.4 MB, free: 3.02 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.002425, allocations: 23.84 kB / 451.5 MB, free: 2.996 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.36e-05/0.002499, allocations: 43.09 kB / 451.5 MB, free: 2.961 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.7e-05/0.002576, allocations: 5.156 kB / 451.5 MB, free: 2.957 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.853e-05/0.002664, allocations: 38.73 kB / 451.5 MB, free: 2.926 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.213e-05/0.002706, allocations: 15.12 kB / 451.6 MB, free: 2.914 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.002728, allocations: 4 kB / 451.6 MB, free: 2.91 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.769e-06/0.002737, allocations: 4 kB / 451.6 MB, free: 2.906 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.002752, allocations: 5.531 kB / 451.6 MB, free: 2.902 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.002775, allocations: 10.33 kB / 451.6 MB, free: 2.895 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 8.008e-05/0.002855, allocations: 24.67 kB / 451.6 MB, free: 2.875 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.466e-05/0.002869, allocations: 0 / 451.6 MB, free: 2.875 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.00287, allocations: 0.9844 kB / 451.6 MB, free: 2.875 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.002886, allocations: 0 / 451.6 MB, free: 2.875 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003546/0.00324, allocations: 258.6 kB / 451.9 MB, free: 2.598 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.003275, allocations: 12.59 kB / 451.9 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.569e-05/0.003301, allocations: 0.9375 kB / 451.9 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.949e-05/0.00338, allocations: 114.4 kB / 452 MB, free: 2.449 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.003392, allocations: 10.03 kB / 452 MB, free: 2.441 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.003399, allocations: 384 / 452 MB, free: 2.441 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.003513, allocations: 62.88 kB / 452 MB, free: 2.371 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.00352, allocations: 5.281 kB / 452.1 MB, free: 2.367 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.003528, allocations: 6.375 kB / 452.1 MB, free: 2.363 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.003533, allocations: 0.9375 kB / 452.1 MB, free: 2.363 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.44e-05/0.003557, allocations: 11.92 kB / 452.1 MB, free: 2.352 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.003753, allocations: 144.3 kB / 452.2 MB, free: 2.195 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.543e-05/0.003809, allocations: 36.69 kB / 452.2 MB, free: 2.152 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.003825, allocations: 10.78 kB / 452.3 MB, free: 2.141 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.003845, allocations: 0 / 452.3 MB, free: 2.141 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.003865, allocations: 30.56 kB / 452.3 MB, free: 2.102 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.003866, allocations: 0 / 452.3 MB, free: 2.102 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001103/0.003976, allocations: 46.48 kB / 452.3 MB, free: 2.051 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.004009, allocations: 56 kB / 452.4 MB, free: 1.984 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.389e-05/0.004063, allocations: 118.7 kB / 452.5 MB, free: 1.855 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.004073, allocations: 26.36 kB / 452.5 MB, free: 1.824 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.004101, allocations: 88.91 kB / 452.6 MB, free: 1.734 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.004122, allocations: 11.91 kB / 452.6 MB, free: 1.723 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.00415, allocations: 14.58 kB / 452.6 MB, free: 1.703 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.236e-05/0.004242, allocations: 315.5 kB / 453 MB, free: 1.387 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.004256, allocations: 5.484 kB / 453 MB, free: 1.383 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.089e-05/0.004267, allocations: 4 kB / 453 MB, free: 1.379 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.058e-05/0.004297, allocations: 12.86 kB / 453 MB, free: 1.363 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.0043, allocations: 0 / 453 MB, free: 1.363 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.777e-05/0.004358, allocations: 45.19 kB / 453 MB, free: 1.316 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.004372, allocations: 7.938 kB / 453 MB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.004379, allocations: 4.531 kB / 453 MB, free: 1.305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.004391, allocations: 7.938 kB / 453 MB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.761e-05/0.004488, allocations: 12 kB / 453.1 MB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.004491, allocations: 0 / 453.1 MB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/0.004514, allocations: 8.891 kB / 453.1 MB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.004522, allocations: 3.938 kB / 453.1 MB, free: 1.273 MB / 426.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 (3): * Single equations (assignments): 3 * 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.085e-05/0.004593, allocations: 106.8 kB / 453.2 MB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.004609, allocations: 4 kB / 453.2 MB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.00464, allocations: 8.875 kB / 453.2 MB, free: 1.145 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.004644, allocations: 3.938 kB / 453.2 MB, free: 1.141 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.004648, allocations: 9.203 kB / 453.2 MB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.004651, allocations: 0 / 453.2 MB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.438e-05/0.004736, allocations: 65.89 kB / 453.3 MB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.004737, allocations: 0.7188 kB / 453.3 MB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.004772, allocations: 15.98 kB / 453.3 MB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.585e-06/0.004779, allocations: 4.859 kB / 453.3 MB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.004781, allocations: 0 / 453.3 MB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.004785, allocations: 1 kB / 453.3 MB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.004786, allocations: 0 / 453.3 MB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.004788, allocations: 7.938 kB / 453.3 MB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.754e-05/0.004876, allocations: 141.1 kB / 453.4 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-06/0.004885, allocations: 4 kB / 453.4 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.496e-05/0.00492, allocations: 5.312 kB / 453.4 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.00495, allocations: 3.984 kB / 453.4 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.004953, allocations: 3.938 kB / 453.4 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.4e-05/0.004967, allocations: 21.64 kB / 453.5 MB, free: 0.832 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004967, allocations: 1.375 kB / 453.5 MB, free: 0.832 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001183/0.005085, allocations: 8 kB / 453.5 MB, free: 0.8242 MB / 426.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 (3): * Single equations (assignments): 3 * 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.957e-05/0.005155, allocations: 81.47 kB / 453.6 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.242e-05/0.005217, allocations: 17.64 kB / 453.6 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.005222, allocations: 0 / 453.6 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.878e-05/0.005241, allocations: 17.56 kB / 453.6 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.005389, allocations: 8.906 kB / 453.6 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.005732, allocations: 133.1 kB / 453.7 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.187e-05/0.005764, allocations: 64.66 kB / 453.8 MB, free: 468 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.101e-05/0.005785, allocations: 4 kB / 453.8 MB, free: 464 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.005835, allocations: 56.14 kB / 453.8 MB, free: 408 kB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.005835, allocations: 0 / 453.8 MB, free: 408 kB / 426.7 MB Notification: Performance of Templates: time 0.002495/0.00833, allocations: 0.7437 MB / 454.6 MB, free: 15.7 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.727941619232297]