Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001278/0.001278, allocations: 80.94 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.001227/0.001227, allocations: 173 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 1.011/1.011, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.8181/0.8181, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 480 MB, free: 6.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.234e-05, allocations: 5.359 kB / 480 MB, free: 6.906 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001447/0.001469, allocations: 0.6454 MB / 480.6 MB, free: 6.289 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000809/0.002278, allocations: 0.8416 MB / 481.5 MB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.604e-05/0.002324, allocations: 0.5625 kB / 481.5 MB, free: 5.438 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.868e-05/0.002423, allocations: 12.69 kB / 481.5 MB, free: 5.426 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.294e-05/0.002506, allocations: 6.75 kB / 481.5 MB, free: 5.422 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.677e-05/0.002563, allocations: 7.984 kB / 481.5 MB, free: 5.414 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.678e-05/0.002659, allocations: 64.23 kB / 481.6 MB, free: 5.359 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.244e-05/0.002752, allocations: 7.984 kB / 481.6 MB, free: 5.352 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.574e-05/0.002828, allocations: 43.09 kB / 481.6 MB, free: 5.316 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.002907, allocations: 26.81 kB / 481.6 MB, free: 5.293 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.00293, allocations: 4 kB / 481.6 MB, free: 5.289 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/0.002939, allocations: 4 kB / 481.7 MB, free: 5.285 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.3e-05/0.002982, allocations: 22.06 kB / 481.7 MB, free: 5.266 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.00301, allocations: 14.61 kB / 481.7 MB, free: 5.254 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.302e-05/0.003093, allocations: 55.48 kB / 481.7 MB, free: 5.203 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.003096, allocations: 0 / 481.7 MB, free: 5.203 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.003097, allocations: 0 / 481.7 MB, free: 5.203 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.0031, allocations: 0.9062 kB / 481.7 MB, free: 5.203 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002998/0.0034, allocations: 274.5 kB / 482 MB, free: 4.914 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.00343, allocations: 8.031 kB / 482 MB, free: 4.906 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.003456, allocations: 8.938 kB / 482 MB, free: 4.898 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.003561, allocations: 130.1 kB / 482.2 MB, free: 4.746 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.00357, allocations: 4.375 kB / 482.2 MB, free: 4.742 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.003583, allocations: 9.25 kB / 482.2 MB, free: 4.734 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.003707, allocations: 88.56 kB / 482.3 MB, free: 4.633 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.003713, allocations: 1.094 kB / 482.3 MB, free: 4.633 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.003721, allocations: 5.219 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.003726, allocations: 1.375 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.7e-05/0.003753, allocations: 19.86 kB / 482.3 MB, free: 4.609 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.004033, allocations: 276.4 kB / 482.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.684e-05/0.00408, allocations: 38.47 kB / 482.6 MB, free: 4.266 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/0.004102, allocations: 25.78 kB / 482.6 MB, free: 4.234 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-06/0.00411, allocations: 3.938 kB / 482.6 MB, free: 4.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.004129, allocations: 33.7 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.00413, allocations: 0 / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001111/0.004241, allocations: 46.84 kB / 482.7 MB, free: 4.141 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.004274, allocations: 82.17 kB / 482.8 MB, free: 4.043 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.605e-05/0.00433, allocations: 118.7 kB / 482.9 MB, free: 3.914 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.004338, allocations: 25.7 kB / 482.9 MB, free: 3.883 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.004368, allocations: 97.17 kB / 483 MB, free: 3.785 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.004382, allocations: 3.953 kB / 483 MB, free: 3.781 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.004406, allocations: 13.72 kB / 483 MB, free: 3.762 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.004478, allocations: 323.5 kB / 483.3 MB, free: 3.438 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.004489, allocations: 4 kB / 483.3 MB, free: 3.434 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.004505, allocations: 15.11 kB / 483.4 MB, free: 3.414 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.885e-05/0.004534, allocations: 24.48 kB / 483.4 MB, free: 3.383 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004536, allocations: 0.6562 kB / 483.4 MB, free: 3.383 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.039e-05/0.004586, allocations: 47.19 kB / 483.4 MB, free: 3.332 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.004597, allocations: 4 kB / 483.4 MB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.004601, allocations: 0 / 483.4 MB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.004614, allocations: 4 kB / 483.4 MB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.951e-05/0.004673, allocations: 8.766 kB / 483.5 MB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.004675, allocations: 0.5625 kB / 483.5 MB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.205e-05/0.004697, allocations: 11.94 kB / 483.5 MB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.004702, allocations: 1.344 kB / 483.5 MB, free: 3.305 MB / 442.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 5.928e-05/0.004761, allocations: 108.7 kB / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.004786, allocations: 11.92 kB / 483.6 MB, free: 3.176 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.674e-05/0.004802, allocations: 8.844 kB / 483.6 MB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.004805, allocations: 4.625 kB / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.004806, allocations: 0 / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.004809, allocations: 0.625 kB / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.004916, allocations: 73.88 kB / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.004917, allocations: 0.625 kB / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.639e-05/0.004943, allocations: 8.625 kB / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.004946, allocations: 3.984 kB / 483.7 MB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.004952, allocations: 4.562 kB / 483.7 MB, free: 3.059 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.004953, allocations: 0.625 kB / 483.7 MB, free: 3.059 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.004954, allocations: 7.938 kB / 483.7 MB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.898e-05/0.005043, allocations: 207.8 kB / 483.9 MB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-06/0.005051, allocations: 7.984 kB / 483.9 MB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.00506, allocations: 5.562 kB / 483.9 MB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.219e-05/0.005112, allocations: 4 kB / 483.9 MB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.005142, allocations: 7.984 kB / 483.9 MB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.005145, allocations: 0 / 483.9 MB, free: 2.809 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.438e-05/0.005159, allocations: 22.16 kB / 483.9 MB, free: 2.785 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005159, allocations: 0 / 483.9 MB, free: 2.785 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001412/0.0053, allocations: 11.95 kB / 484 MB, free: 2.773 MB / 442.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 7.634e-05/0.005377, allocations: 77.2 kB / 484 MB, free: 2.691 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.583e-05/0.005433, allocations: 15.55 kB / 484 MB, free: 2.676 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.005436, allocations: 4 kB / 484.1 MB, free: 2.672 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.893e-05/0.005455, allocations: 12.8 kB / 484.1 MB, free: 2.656 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.005635, allocations: 19.98 kB / 484.1 MB, free: 2.637 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.005884, allocations: 163.2 kB / 484.2 MB, free: 2.453 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.734e-05/0.005922, allocations: 63.34 kB / 484.3 MB, free: 2.371 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.894e-05/0.005941, allocations: 5.578 kB / 484.3 MB, free: 2.367 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.005989, allocations: 55.38 kB / 484.4 MB, free: 2.312 MB / 442.7 MB Notification: Performance of SimCode: time 5.51e-07/0.005989, allocations: 0 / 484.4 MB, free: 2.312 MB / 442.7 MB Notification: Performance of Templates: time 0.002115/0.008104, allocations: 0.7663 MB / 485.1 MB, free: 1.59 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5563980299048126]