Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.0008923/0.0008923, allocations: 76.94 kB / 19.93 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.0009988/0.0009988, allocations: 172.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.9546/0.9546, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.7561/0.7561, allocations: 154.9 MB / 415.1 MB, free: 212 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.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 480.3 MB, free: 6.551 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.8e-05, allocations: 2.312 kB / 480.3 MB, free: 6.547 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001605/0.001633, allocations: 0.6416 MB / 481 MB, free: 5.941 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007926/0.002426, allocations: 0.8492 MB / 481.8 MB, free: 5.082 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.00246, allocations: 0.8438 kB / 481.8 MB, free: 5.082 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 8.798e-05/0.002548, allocations: 4.812 kB / 481.8 MB, free: 5.078 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.017e-05/0.002568, allocations: 3.172 kB / 481.8 MB, free: 5.078 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.229e-05/0.00265, allocations: 11.98 kB / 481.9 MB, free: 5.066 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.337e-05/0.002704, allocations: 20.03 kB / 481.9 MB, free: 5.051 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.579e-05/0.002759, allocations: 8 kB / 481.9 MB, free: 5.043 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.408e-05/0.002803, allocations: 13.41 kB / 481.9 MB, free: 5.031 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.117e-05/0.002845, allocations: 13.86 kB / 481.9 MB, free: 5.02 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.002858, allocations: 0 / 481.9 MB, free: 5.02 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.13e-06/0.002863, allocations: 4.625 kB / 481.9 MB, free: 5.016 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.542e-05/0.002898, allocations: 11.02 kB / 481.9 MB, free: 5.008 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.442e-05/0.002913, allocations: 4.656 kB / 481.9 MB, free: 5.004 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 4.813e-05/0.002961, allocations: 22.38 kB / 481.9 MB, free: 4.984 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.002962, allocations: 0.9062 kB / 481.9 MB, free: 4.984 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002963, allocations: 3.938 kB / 482 MB, free: 4.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.825e-06/0.002966, allocations: 0 / 482 MB, free: 4.98 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002123/0.003178, allocations: 241.7 kB / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.278e-05/0.003201, allocations: 12.62 kB / 482.2 MB, free: 4.711 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.433e-05/0.003215, allocations: 5.469 kB / 482.2 MB, free: 4.707 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.959e-05/0.003275, allocations: 107.2 kB / 482.3 MB, free: 4.578 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-06/0.003279, allocations: 8.375 kB / 482.3 MB, free: 4.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-06/0.003284, allocations: 384 / 482.3 MB, free: 4.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.577e-05/0.003349, allocations: 56.72 kB / 482.4 MB, free: 4.508 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.003356, allocations: 192 / 482.4 MB, free: 4.508 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.003362, allocations: 5.812 kB / 482.4 MB, free: 4.504 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.003368, allocations: 4.359 kB / 482.4 MB, free: 4.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.431e-05/0.003382, allocations: 12.48 kB / 482.4 MB, free: 4.488 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.003553, allocations: 163.1 kB / 482.6 MB, free: 4.312 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.483e-05/0.003587, allocations: 15.42 kB / 482.6 MB, free: 4.289 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.254e-05/0.0036, allocations: 5.578 kB / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.79e-06/0.003606, allocations: 4.062 kB / 482.6 MB, free: 4.277 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.003625, allocations: 39.92 kB / 482.6 MB, free: 4.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.944e-06/0.003627, allocations: 0.9375 kB / 482.6 MB, free: 4.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 8.786e-05/0.003715, allocations: 34.27 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.00374, allocations: 53.03 kB / 482.7 MB, free: 4.129 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.279e-05/0.003793, allocations: 110.7 kB / 482.8 MB, free: 4.008 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.202e-05/0.003875, allocations: 29.77 kB / 482.8 MB, free: 3.973 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/0.003904, allocations: 92.61 kB / 482.9 MB, free: 3.879 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.003917, allocations: 5.922 kB / 482.9 MB, free: 3.875 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/0.003936, allocations: 9.719 kB / 482.9 MB, free: 3.859 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.092e-05/0.004007, allocations: 314.8 kB / 483.3 MB, free: 3.543 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-06/0.004014, allocations: 3.984 kB / 483.3 MB, free: 3.539 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-06/0.004019, allocations: 0.8906 kB / 483.3 MB, free: 3.539 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.712e-05/0.004036, allocations: 16.28 kB / 483.3 MB, free: 3.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.004038, allocations: 1.062 kB / 483.3 MB, free: 3.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.657e-05/0.004075, allocations: 29.7 kB / 483.3 MB, free: 3.484 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.906e-06/0.004084, allocations: 5.031 kB / 483.3 MB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.004089, allocations: 7.938 kB / 483.3 MB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.0041, allocations: 0 / 483.3 MB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.997e-05/0.00414, allocations: 8.609 kB / 483.3 MB, free: 3.465 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.004142, allocations: 0.5469 kB / 483.3 MB, free: 3.465 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.098e-05/0.004153, allocations: 0.625 kB / 483.3 MB, free: 3.465 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-06/0.004156, allocations: 0.625 kB / 483.3 MB, free: 3.465 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.805e-05/0.004204, allocations: 113.3 kB / 483.4 MB, free: 3.344 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.004214, allocations: 0 / 483.4 MB, free: 3.344 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.951e-05/0.004233, allocations: 23.64 kB / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.004235, allocations: 1.406 kB / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.004237, allocations: 4.625 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.004239, allocations: 0.875 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.476e-05/0.004304, allocations: 65.89 kB / 483.5 MB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.004305, allocations: 0 / 483.5 MB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.004324, allocations: 9.453 kB / 483.5 MB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.004326, allocations: 0.5469 kB / 483.5 MB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-06/0.004329, allocations: 0 / 483.5 MB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.00433, allocations: 0.9062 kB / 483.5 MB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.004331, allocations: 3.938 kB / 483.5 MB, free: 3.227 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.501e-05/0.004396, allocations: 128.6 kB / 483.7 MB, free: 3.086 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-06/0.004402, allocations: 8.859 kB / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.882e-06/0.004408, allocations: 0 / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.437e-05/0.004432, allocations: 4.625 kB / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.178e-05/0.004454, allocations: 5.25 kB / 483.7 MB, free: 3.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.004456, allocations: 256 / 483.7 MB, free: 3.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.421e-05/0.00447, allocations: 24.78 kB / 483.7 MB, free: 3.043 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00447, allocations: 0 / 483.7 MB, free: 3.043 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001013/0.004571, allocations: 4.656 kB / 483.7 MB, free: 3.039 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 8.446e-05/0.004656, allocations: 78.73 kB / 483.8 MB, free: 2.953 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.088e-05/0.004697, allocations: 8.859 kB / 483.8 MB, free: 2.941 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.004699, allocations: 1.75 kB / 483.8 MB, free: 2.941 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.249e-05/0.004711, allocations: 8.859 kB / 483.8 MB, free: 2.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001144/0.004826, allocations: 3.984 kB / 483.8 MB, free: 2.926 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001895/0.005015, allocations: 125.1 kB / 483.9 MB, free: 2.781 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.735e-05/0.005043, allocations: 55.36 kB / 484 MB, free: 2.707 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.287e-05/0.005056, allocations: 4.562 kB / 484 MB, free: 2.703 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.005089, allocations: 52.12 kB / 484.1 MB, free: 2.652 MB / 442.7 MB Notification: Performance of SimCode: time 2.7e-07/0.005089, allocations: 0 / 484.1 MB, free: 2.652 MB / 442.7 MB Notification: Performance of Templates: time 0.001901/0.00699, allocations: 444.1 kB / 484.5 MB, free: 2.246 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.636109549086541]