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.0009928/0.0009928, allocations: 76.45 kB / 19.9 MB, free: 16 kB / 13.93 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.0008342/0.0008342, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9111/0.9111, allocations: 177.2 MB / 203.6 MB, free: 5.746 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-531:686: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-531:694: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.7371/0.7371, allocations: 154.7 MB / 414.7 MB, free: 0.7344 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009328/0.0009328, allocations: 63.89 kB / 0.6195 GB, free: 13.13 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5119/0.5128, allocations: 101.9 MB / 0.7191 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001846/0.5146, allocations: 0.6486 MB / 0.7197 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009724/0.5156, allocations: 0.8192 MB / 0.7205 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.5157, allocations: 5.281 kB / 0.7205 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.5158, allocations: 1.172 kB / 0.7205 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.5159, allocations: 11.2 kB / 0.7205 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.517e-05/0.5159, allocations: 8.172 kB / 0.7205 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.5161, allocations: 62.88 kB / 0.7206 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.5162, allocations: 14.45 kB / 0.7206 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.23e-05/0.5163, allocations: 31.59 kB / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.587e-05/0.5164, allocations: 39.17 kB / 0.7207 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.5164, allocations: 3.375 kB / 0.7207 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.5164, allocations: 4.531 kB / 0.7207 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.5164, allocations: 22.56 kB / 0.7207 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.5165, allocations: 23.67 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.5166, allocations: 69.41 kB / 0.7208 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5166, allocations: 1.094 kB / 0.7208 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.695e-06/0.5166, allocations: 0 / 0.7208 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.5166, allocations: 0 / 0.7208 GB, free: 22.55 MB / 0.6355 GB 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.0004996/0.5171, allocations: 321.6 kB / 0.7211 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.5172, allocations: 9.344 kB / 0.7211 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.5172, allocations: 4.5 kB / 0.7211 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.5173, allocations: 137.8 kB / 0.7213 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.5173, allocations: 2.688 kB / 0.7213 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.5173, allocations: 3.719 kB / 0.7213 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.5176, allocations: 137.2 kB / 0.7214 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.5176, allocations: 192 / 0.7214 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.5176, allocations: 5 kB / 0.7214 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.5176, allocations: 5.125 kB / 0.7214 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.5179, allocations: 125.7 kB / 0.7215 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.5183, allocations: 363.6 kB / 0.7219 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.5185, allocations: 94.38 kB / 0.722 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.5186, allocations: 66.16 kB / 0.722 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.5186, allocations: 0 / 0.722 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.5186, allocations: 37.73 kB / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.5186, allocations: 0 / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0004557/0.5191, allocations: 196.2 kB / 0.7222 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.5191, allocations: 77.86 kB / 0.7223 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.579e-05/0.5192, allocations: 120.2 kB / 0.7224 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.5192, allocations: 26.83 kB / 0.7225 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.5192, allocations: 97.42 kB / 0.7226 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.5192, allocations: 5.984 kB / 0.7226 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.5193, allocations: 13.06 kB / 0.7226 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.419e-05/0.5193, allocations: 323 kB / 0.7229 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.5194, allocations: 55.22 kB / 0.7229 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.5195, allocations: 70.48 kB / 0.723 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.5197, allocations: 107.4 kB / 0.7231 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5197, allocations: 0 / 0.7231 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002387/0.52, allocations: 141.5 kB / 0.7232 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.52, allocations: 5.531 kB / 0.7232 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.52, allocations: 1.188 kB / 0.7232 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.52, allocations: 2.344 kB / 0.7232 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/0.5201, allocations: 21.77 kB / 0.7233 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5201, allocations: 3.984 kB / 0.7233 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.5202, allocations: 20.73 kB / 0.7233 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.5202, allocations: 0 / 0.7233 GB, free: 20.73 MB / 0.6355 GB 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.942e-05/0.5202, allocations: 127.9 kB / 0.7234 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.5203, allocations: 2.984 kB / 0.7234 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.5203, allocations: 13.34 kB / 0.7234 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5203, allocations: 2.047 kB / 0.7234 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5203, allocations: 1.312 kB / 0.7234 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5203, allocations: 4 kB / 0.7234 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.5204, allocations: 124.7 kB / 0.7236 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5204, allocations: 0.9688 kB / 0.7236 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/0.5205, allocations: 22.11 kB / 0.7236 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5205, allocations: 5.328 kB / 0.7236 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.5205, allocations: 1.719 kB / 0.7236 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.5205, allocations: 0 / 0.7236 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5205, allocations: 5.188 kB / 0.7236 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.5208, allocations: 316.9 kB / 0.7239 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.5208, allocations: 3.5 kB / 0.7239 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.5208, allocations: 1.219 kB / 0.7239 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-05/0.5209, allocations: 15.38 kB / 0.7239 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/0.521, allocations: 7.688 kB / 0.7239 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.521, allocations: 1.062 kB / 0.7239 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.424e-05/0.521, allocations: 97.78 kB / 0.724 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.521, allocations: 4.031 kB / 0.724 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000182/0.5212, allocations: 20.98 kB / 0.724 GB, free: 20.12 MB / 0.6355 GB 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 0.0001007/0.5213, allocations: 98.53 kB / 0.7241 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002761/0.5216, allocations: 110.2 kB / 0.7242 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5216, allocations: 0 / 0.7242 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.5217, allocations: 68.47 kB / 0.7243 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.5219, allocations: 13.36 kB / 0.7243 GB, free: 20 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.5223, allocations: 163 kB / 0.7245 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.803e-05/0.5223, allocations: 83.92 kB / 0.7245 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.658e-05/0.5224, allocations: 17.22 kB / 0.7246 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.5224, allocations: 10.75 kB / 0.7246 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/0.5224, allocations: 0 / 0.7246 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of Templates: time 0.002759/0.5252, allocations: 0.8434 MB / 0.7254 GB, free: 19.68 MB / 0.6355 GB " [Timeout remaining time 659] 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=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.258515837020241] Failed to read output from testmodel.py, exit status != 0: 0.5314098040107638 0.540999424 0.022362591 Calling exit ...