Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009464/0.0009464, allocations: 80.88 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.0009347/0.0009347, allocations: 181 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 0.9939/0.9939, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.752/0.752, allocations: 154.6 MB / 414.8 MB, free: 0.5039 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 480 MB, free: 6.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.391e-05, allocations: 3.188 kB / 480 MB, free: 6.965 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001285/0.001309, allocations: 0.6494 MB / 480.6 MB, free: 6.348 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007444/0.002053, allocations: 0.8419 MB / 481.5 MB, free: 5.496 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.159e-05/0.002095, allocations: 0.75 kB / 481.5 MB, free: 5.496 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.75e-05/0.002192, allocations: 3.938 kB / 481.5 MB, free: 5.492 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.286e-05/0.002215, allocations: 2.844 kB / 481.5 MB, free: 5.492 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.572e-05/0.002311, allocations: 11.98 kB / 481.5 MB, free: 5.48 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.479e-05/0.002376, allocations: 21 kB / 481.5 MB, free: 5.465 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.764e-05/0.002443, allocations: 7.984 kB / 481.5 MB, free: 5.457 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.282e-05/0.002506, allocations: 20.19 kB / 481.5 MB, free: 5.441 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.714e-05/0.002553, allocations: 8.875 kB / 481.6 MB, free: 5.434 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.00257, allocations: 0 / 481.6 MB, free: 5.434 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.142e-06/0.002576, allocations: 4 kB / 481.6 MB, free: 5.43 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.516e-05/0.002621, allocations: 13.39 kB / 481.6 MB, free: 5.418 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.002641, allocations: 4.875 kB / 481.6 MB, free: 5.414 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 6.39e-05/0.002705, allocations: 22.16 kB / 481.6 MB, free: 5.395 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.002707, allocations: 1.125 kB / 481.6 MB, free: 5.395 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.002707, allocations: 0 / 481.6 MB, free: 5.395 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.002711, allocations: 0 / 481.6 MB, free: 5.395 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.0002589/0.00297, allocations: 241.1 kB / 481.8 MB, free: 5.137 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.003003, allocations: 13.75 kB / 481.8 MB, free: 5.125 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.002e-05/0.003023, allocations: 5.422 kB / 481.9 MB, free: 5.125 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.993e-05/0.003113, allocations: 113.8 kB / 482 MB, free: 4.988 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-06/0.00312, allocations: 4.375 kB / 482 MB, free: 4.984 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.003129, allocations: 384 / 482 MB, free: 4.984 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.212e-05/0.003221, allocations: 60.56 kB / 482 MB, free: 4.918 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.003229, allocations: 4.188 kB / 482 MB, free: 4.914 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-06/0.003235, allocations: 1.125 kB / 482 MB, free: 4.914 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.00324, allocations: 384 / 482 MB, free: 4.914 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.418e-05/0.003254, allocations: 12.55 kB / 482 MB, free: 4.902 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.003432, allocations: 164.4 kB / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.451e-05/0.003467, allocations: 18.52 kB / 482.2 MB, free: 4.699 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.276e-05/0.003479, allocations: 9.906 kB / 482.2 MB, free: 4.688 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.451e-06/0.003485, allocations: 4.531 kB / 482.2 MB, free: 4.684 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.003503, allocations: 31.72 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.003504, allocations: 0 / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 8.651e-05/0.00359, allocations: 37.62 kB / 482.3 MB, free: 4.602 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.003617, allocations: 56.41 kB / 482.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.806e-05/0.003666, allocations: 106.8 kB / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.705e-06/0.003673, allocations: 26.73 kB / 482.5 MB, free: 4.387 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.003703, allocations: 96.05 kB / 482.6 MB, free: 4.289 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.003715, allocations: 4.719 kB / 482.6 MB, free: 4.285 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/0.003735, allocations: 11.16 kB / 482.6 MB, free: 4.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.366e-05/0.003799, allocations: 314.8 kB / 482.9 MB, free: 3.953 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-06/0.003805, allocations: 0 / 482.9 MB, free: 3.953 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-06/0.003811, allocations: 0 / 482.9 MB, free: 3.953 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.769e-05/0.003829, allocations: 16.45 kB / 482.9 MB, free: 3.934 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.003831, allocations: 1.438 kB / 482.9 MB, free: 3.934 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.482e-05/0.003866, allocations: 30.47 kB / 483 MB, free: 3.898 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.003876, allocations: 7.938 kB / 483 MB, free: 3.891 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.003881, allocations: 8.781 kB / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.003891, allocations: 0 / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.078e-05/0.003942, allocations: 8.766 kB / 483 MB, free: 3.875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.003944, allocations: 0 / 483 MB, free: 3.875 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.307e-05/0.003957, allocations: 0.875 kB / 483 MB, free: 3.875 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.003961, allocations: 0.5469 kB / 483 MB, free: 3.875 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.704e-05/0.004008, allocations: 113.7 kB / 483.1 MB, free: 3.754 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.004021, allocations: 4 kB / 483.1 MB, free: 3.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.562e-05/0.004036, allocations: 7.812 kB / 483.1 MB, free: 3.746 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.004038, allocations: 0.625 kB / 483.1 MB, free: 3.746 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.00404, allocations: 9.156 kB / 483.1 MB, free: 3.738 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.004042, allocations: 0 / 483.1 MB, free: 3.738 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.912e-05/0.004111, allocations: 67.14 kB / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.004112, allocations: 0 / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.464e-05/0.004127, allocations: 4.625 kB / 483.2 MB, free: 3.652 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.004129, allocations: 5.266 kB / 483.2 MB, free: 3.648 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.004132, allocations: 0 / 483.2 MB, free: 3.648 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.004133, allocations: 0.625 kB / 483.2 MB, free: 3.648 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.004135, allocations: 3.938 kB / 483.2 MB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.803e-05/0.004203, allocations: 132.2 kB / 483.3 MB, free: 3.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.004209, allocations: 4.531 kB / 483.3 MB, free: 3.496 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.063e-06/0.004216, allocations: 6.297 kB / 483.3 MB, free: 3.492 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.734e-05/0.004243, allocations: 8 kB / 483.3 MB, free: 3.484 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.004266, allocations: 5.125 kB / 483.3 MB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.004268, allocations: 4 kB / 483.3 MB, free: 3.477 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.234e-05/0.004281, allocations: 12.84 kB / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004281, allocations: 1.219 kB / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001077/0.004388, allocations: 4 kB / 483.4 MB, free: 3.457 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 7.198e-05/0.00446, allocations: 76.98 kB / 483.4 MB, free: 3.371 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.437e-05/0.004505, allocations: 9.828 kB / 483.5 MB, free: 3.359 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.004507, allocations: 0 / 483.5 MB, free: 3.359 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.241e-05/0.004519, allocations: 18.66 kB / 483.5 MB, free: 3.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.004642, allocations: 0 / 483.5 MB, free: 3.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.00485, allocations: 118.1 kB / 483.6 MB, free: 3.199 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.971e-05/0.00488, allocations: 57.69 kB / 483.6 MB, free: 3.125 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.336e-05/0.004893, allocations: 0 / 483.6 MB, free: 3.125 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.004928, allocations: 51.38 kB / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of SimCode: time 3.7e-07/0.004928, allocations: 0 / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of Templates: time 0.001794/0.006723, allocations: 435.2 kB / 484.1 MB, free: 2.668 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4584661689586937]