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.001904/0.001904, allocations: 92.7 kB / 19.44 MB, free: 320 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.002558/0.002558, allocations: 165.3 kB / 22.76 MB, free: 1.648 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.5/1.5, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.221/1.221, allocations: 154.6 MB / 414.1 MB, free: 0.6328 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 178] 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.723e-06/1.723e-06, allocations: 0.5469 kB / 0.5196 GB, free: 1.488 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.079e-05, allocations: 4 kB / 0.5196 GB, free: 1.484 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.0022/0.00223, allocations: 0.6345 MB / 0.5202 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.003607, allocations: 0.8168 MB / 0.521 GB, free: 44 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.438e-05/0.003661, allocations: 0 / 0.521 GB, free: 44 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.003771, allocations: 5.297 kB / 0.521 GB, free: 40 kB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.003876, allocations: 10.77 kB / 0.521 GB, free: 32 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.116e-05/0.003948, allocations: 7.984 kB / 0.5211 GB, free: 24 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.004105, allocations: 65.69 kB / 0.5211 GB, free: 15.96 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.004227, allocations: 4 kB / 0.5211 GB, free: 15.96 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.004327, allocations: 40.66 kB / 0.5212 GB, free: 15.92 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.004443, allocations: 31.95 kB / 0.5212 GB, free: 15.89 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.004467, allocations: 9.375 kB / 0.5212 GB, free: 15.88 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.00448, allocations: 4 kB / 0.5212 GB, free: 15.88 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.004533, allocations: 15.98 kB / 0.5212 GB, free: 15.86 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.711e-05/0.00458, allocations: 15.92 kB / 0.5212 GB, free: 15.84 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.004736, allocations: 77.11 kB / 0.5213 GB, free: 15.77 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004738, allocations: 0 / 0.5213 GB, free: 15.77 MB / 458.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004739, allocations: 0 / 0.5213 GB, free: 15.77 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.004744, allocations: 3.938 kB / 0.5213 GB, free: 15.77 MB / 458.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.0007388/0.005482, allocations: 319.1 kB / 0.5216 GB, free: 15.42 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.005521, allocations: 10.88 kB / 0.5216 GB, free: 15.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.005579, allocations: 12.94 kB / 0.5216 GB, free: 15.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.005783, allocations: 121.7 kB / 0.5218 GB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.005799, allocations: 4.375 kB / 0.5218 GB, free: 15.25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.005815, allocations: 4.375 kB / 0.5218 GB, free: 15.25 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.006199, allocations: 132.4 kB / 0.5219 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.006209, allocations: 192 / 0.5219 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.006222, allocations: 0.9375 kB / 0.5219 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.006231, allocations: 9.266 kB / 0.5219 GB, free: 15.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.006663, allocations: 129.3 kB / 0.522 GB, free: 14.98 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000839/0.007502, allocations: 365.5 kB / 0.5224 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.007761, allocations: 94.42 kB / 0.5225 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.00797, allocations: 62.88 kB / 0.5225 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.007987, allocations: 4 kB / 0.5225 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.008026, allocations: 34.55 kB / 0.5226 GB, free: 14.36 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.008027, allocations: 0.6875 kB / 0.5226 GB, free: 14.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0007465/0.008773, allocations: 192 kB / 0.5227 GB, free: 14.17 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.008839, allocations: 81.73 kB / 0.5228 GB, free: 14.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.00898, allocations: 125.8 kB / 0.5229 GB, free: 13.94 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.009001, allocations: 27.55 kB / 0.523 GB, free: 13.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.172e-05/0.009083, allocations: 100.1 kB / 0.5231 GB, free: 13.81 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.009107, allocations: 7.953 kB / 0.5231 GB, free: 13.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.009152, allocations: 17.66 kB / 0.5231 GB, free: 13.78 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.009333, allocations: 314.8 kB / 0.5234 GB, free: 13.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.009532, allocations: 57.8 kB / 0.5234 GB, free: 13.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.009724, allocations: 71.11 kB / 0.5235 GB, free: 13.33 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.01007, allocations: 106.8 kB / 0.5236 GB, free: 13.22 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01008, allocations: 0.5 kB / 0.5236 GB, free: 13.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004417/0.01052, allocations: 148.2 kB / 0.5237 GB, free: 13.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.01053, allocations: 4 kB / 0.5238 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01054, allocations: 0 / 0.5238 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.01056, allocations: 0.5 kB / 0.5238 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.0107, allocations: 21.84 kB / 0.5238 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.0107, allocations: 0 / 0.5238 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.336e-05/0.0108, allocations: 19.97 kB / 0.5238 GB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.0108, allocations: 0 / 0.5238 GB, free: 13.03 MB / 458.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 0.0002438/0.01105, allocations: 128.2 kB / 0.5239 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.01109, allocations: 4 kB / 0.5239 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.01113, allocations: 11.42 kB / 0.5239 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01113, allocations: 7.938 kB / 0.5239 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.01113, allocations: 0 / 0.5239 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01114, allocations: 0 / 0.5239 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.01137, allocations: 131.5 kB / 0.5241 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.01137, allocations: 4 kB / 0.5241 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.01148, allocations: 15.97 kB / 0.5241 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.01148, allocations: 4 kB / 0.5241 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.01149, allocations: 0 / 0.5241 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.01149, allocations: 0 / 0.5241 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01149, allocations: 1.031 kB / 0.5241 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005333/0.01203, allocations: 314.6 kB / 0.5244 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.01204, allocations: 4 kB / 0.5244 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.01205, allocations: 3.938 kB / 0.5244 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.01221, allocations: 19.97 kB / 0.5244 GB, free: 12.35 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.01227, allocations: 7.922 kB / 0.5244 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.01227, allocations: 4 kB / 0.5244 GB, free: 12.34 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.749e-05/0.01235, allocations: 95.27 kB / 0.5245 GB, free: 12.24 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01235, allocations: 2.75 kB / 0.5245 GB, free: 12.24 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002724/0.01262, allocations: 15.95 kB / 0.5245 GB, free: 12.23 MB / 458.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 0.0001289/0.01275, allocations: 91.25 kB / 0.5246 GB, free: 12.13 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004603/0.01321, allocations: 113.4 kB / 0.5247 GB, free: 12.02 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01321, allocations: 0 / 0.5247 GB, free: 12.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.01342, allocations: 65.14 kB / 0.5248 GB, free: 11.96 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.01377, allocations: 16.59 kB / 0.5248 GB, free: 11.94 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004937/0.01427, allocations: 162.2 kB / 0.525 GB, free: 11.75 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.01439, allocations: 92.58 kB / 0.525 GB, free: 11.64 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.921e-05/0.01445, allocations: 17.39 kB / 0.5251 GB, free: 11.63 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.01449, allocations: 8.5 kB / 0.5251 GB, free: 11.62 MB / 458.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01449, allocations: 0 / 0.5251 GB, free: 11.62 MB / 458.7 MB Notification: Performance of Templates: time 0.003633/0.01812, allocations: 0.854 MB / 0.5259 GB, free: 10.8 MB / 458.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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.740373665932566]