Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.0006776/0.0006776, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008835/0.001561, allocations: 440 kB / 10.41 MB, free: 284 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.0006855/0.0006855, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008927/0.001578, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.961/0.961, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09322/1.054, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.8113/0.8113, allocations: 155.3 MB / 399.5 MB, free: 15.81 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.3086/1.12, allocations: 49.14 MB / 448.6 MB, free: 5.891 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.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.32e-07/9.32e-07, allocations: 0 / 449.9 MB, free: 4.602 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.738e-05, allocations: 3.438 kB / 449.9 MB, free: 4.598 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001285/0.001303, allocations: 0.6992 MB / 450.6 MB, free: 3.934 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005823/0.001885, allocations: 0.8535 MB / 451.5 MB, free: 3.07 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.266e-05/0.001908, allocations: 0 / 451.5 MB, free: 3.07 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.001942, allocations: 4.812 kB / 451.5 MB, free: 3.066 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.928e-05/0.001981, allocations: 6 kB / 451.5 MB, free: 3.062 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.924e-05/0.00201, allocations: 11.97 kB / 451.5 MB, free: 3.051 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.552e-05/0.002086, allocations: 58.47 kB / 451.6 MB, free: 3.004 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.741e-05/0.002153, allocations: 11.88 kB / 451.6 MB, free: 2.996 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.178e-05/0.002215, allocations: 48.11 kB / 451.6 MB, free: 2.953 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.4e-05/0.002269, allocations: 22.16 kB / 451.7 MB, free: 2.934 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.002281, allocations: 7.938 kB / 451.7 MB, free: 2.926 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-06/0.00229, allocations: 5.656 kB / 451.7 MB, free: 2.922 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.038e-05/0.00232, allocations: 26.38 kB / 451.7 MB, free: 2.898 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.00234, allocations: 14.48 kB / 451.7 MB, free: 2.887 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 6.193e-05/0.002402, allocations: 46.05 kB / 451.8 MB, free: 2.848 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.002408, allocations: 0 / 451.8 MB, free: 2.848 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.002408, allocations: 0 / 451.8 MB, free: 2.848 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.002414, allocations: 0 / 451.8 MB, free: 2.848 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002304/0.002644, allocations: 282.4 kB / 452 MB, free: 2.551 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.158e-05/0.002666, allocations: 8.031 kB / 452 MB, free: 2.543 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.745e-05/0.002683, allocations: 8.938 kB / 452 MB, free: 2.535 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.92e-05/0.002762, allocations: 121.7 kB / 452.2 MB, free: 2.391 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-06/0.002769, allocations: 9.391 kB / 452.2 MB, free: 2.383 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.002777, allocations: 6.5 kB / 452.2 MB, free: 2.379 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.7e-05/0.002874, allocations: 88.62 kB / 452.3 MB, free: 2.277 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-06/0.002879, allocations: 4.188 kB / 452.3 MB, free: 2.273 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-06/0.002884, allocations: 384 / 452.3 MB, free: 2.273 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-06/0.002887, allocations: 1.359 kB / 452.3 MB, free: 2.273 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.431e-05/0.002911, allocations: 16.53 kB / 452.3 MB, free: 2.258 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002101/0.003122, allocations: 285.1 kB / 452.6 MB, free: 1.961 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.471e-05/0.003156, allocations: 37.22 kB / 452.6 MB, free: 1.906 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.003174, allocations: 14.69 kB / 452.6 MB, free: 1.887 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/0.003181, allocations: 3.938 kB / 452.6 MB, free: 1.883 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.003196, allocations: 35.16 kB / 452.7 MB, free: 1.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.003196, allocations: 0 / 452.7 MB, free: 1.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 7.79e-05/0.003274, allocations: 46.47 kB / 452.7 MB, free: 1.789 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.003298, allocations: 78.94 kB / 452.8 MB, free: 1.695 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.44e-05/0.003343, allocations: 116.2 kB / 452.9 MB, free: 1.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.003351, allocations: 29.7 kB / 452.9 MB, free: 1.535 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.003379, allocations: 100 kB / 453 MB, free: 1.434 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.919e-06/0.003389, allocations: 3.953 kB / 453 MB, free: 1.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/0.00341, allocations: 15.81 kB / 453 MB, free: 1.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.022e-05/0.00347, allocations: 314.8 kB / 453.3 MB, free: 1.094 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-06/0.003479, allocations: 4 kB / 453.3 MB, free: 1.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.353e-05/0.003493, allocations: 13.7 kB / 453.4 MB, free: 1.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.404e-05/0.003517, allocations: 30.27 kB / 453.4 MB, free: 1.035 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.003517, allocations: 0 / 453.4 MB, free: 1.035 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.646e-05/0.003554, allocations: 42.62 kB / 453.4 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.824e-06/0.003562, allocations: 4 kB / 453.4 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.003564, allocations: 0.875 kB / 453.4 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-06/0.00357, allocations: 4 kB / 453.4 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.76e-05/0.003617, allocations: 12.42 kB / 453.5 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-06/0.003619, allocations: 4.5 kB / 453.5 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.978e-05/0.003638, allocations: 5.672 kB / 453.5 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-06/0.003642, allocations: 0 / 453.5 MB, free: 0.9609 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 4.037e-05/0.003682, allocations: 113.7 kB / 453.6 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.003703, allocations: 9.891 kB / 453.6 MB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.543e-05/0.003719, allocations: 11.47 kB / 453.6 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.32e-07/0.003719, allocations: 0.625 kB / 453.6 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.00372, allocations: 1.312 kB / 453.6 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.003722, allocations: 0.5469 kB / 453.6 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.003823, allocations: 73.88 kB / 453.7 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.003824, allocations: 0 / 453.7 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.342e-05/0.003847, allocations: 8.5 kB / 453.7 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-06/0.003853, allocations: 9.359 kB / 453.7 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.003856, allocations: 11.88 kB / 453.7 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-06/0.003859, allocations: 0 / 453.7 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.00386, allocations: 0 / 453.7 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.00386, allocations: 1.062 kB / 453.7 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.005e-05/0.00394, allocations: 210.8 kB / 453.9 MB, free: 488 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.003949, allocations: 8.656 kB / 453.9 MB, free: 480 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.51e-05/0.004004, allocations: 4.906 kB / 453.9 MB, free: 476 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.004024, allocations: 7.984 kB / 453.9 MB, free: 468 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.004026, allocations: 0 / 453.9 MB, free: 468 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.507e-05/0.004041, allocations: 21.42 kB / 453.9 MB, free: 444 kB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004041, allocations: 1.438 kB / 453.9 MB, free: 444 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001301/0.004171, allocations: 11.95 kB / 454 MB, free: 432 kB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 4.925e-05/0.00422, allocations: 84.36 kB / 454 MB, free: 340 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.448e-05/0.004265, allocations: 19.02 kB / 454.1 MB, free: 320 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.004268, allocations: 0 / 454.1 MB, free: 320 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.131e-05/0.00429, allocations: 12.84 kB / 454.1 MB, free: 304 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.00446, allocations: 68.25 kB / 454.1 MB, free: 224 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.004773, allocations: 178.6 kB / 454.3 MB, free: 24 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.161e-05/0.004815, allocations: 63.2 kB / 454.4 MB, free: 15.94 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.572e-05/0.00483, allocations: 5.188 kB / 454.4 MB, free: 15.94 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.004876, allocations: 63.92 kB / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of SimCode: time 3.5e-07/0.004876, allocations: 0 / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of Templates: time 0.001756/0.006632, allocations: 0.7929 MB / 455.2 MB, free: 15.13 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4391336161643267]