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.0007912/0.0007912, allocations: 80.45 kB / 19.9 MB, free: 12 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.0009478/0.0009478, 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.944/0.944, allocations: 177.2 MB / 203.6 MB, free: 5.754 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.7495/0.7495, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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.0009234/0.0009234, allocations: 67.91 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.5052/0.5061, allocations: 102 MB / 0.7191 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001433/0.5075, allocations: 0.6405 MB / 0.7197 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009868/0.5085, allocations: 0.8198 MB / 0.7205 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.106e-05/0.5086, allocations: 5.156 kB / 0.7205 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.5087, allocations: 1.312 kB / 0.7205 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.5088, allocations: 15.61 kB / 0.7205 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.813e-05/0.5089, allocations: 7.172 kB / 0.7205 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.509, allocations: 59.33 kB / 0.7206 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.5092, allocations: 15.36 kB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.88e-05/0.5093, allocations: 35.61 kB / 0.7207 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.5094, allocations: 34.44 kB / 0.7207 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.5094, allocations: 4.656 kB / 0.7207 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.5094, allocations: 3.656 kB / 0.7207 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.5095, allocations: 27.17 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.5095, allocations: 19.81 kB / 0.7207 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.5097, allocations: 69.42 kB / 0.7208 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5097, allocations: 0 / 0.7208 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5097, allocations: 0 / 0.7208 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.076e-06/0.5097, allocations: 0 / 0.7208 GB, free: 22.52 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.0005744/0.5103, allocations: 321.6 kB / 0.7211 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.5103, allocations: 10.16 kB / 0.7211 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.5104, allocations: 3.781 kB / 0.7211 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.5105, allocations: 135.3 kB / 0.7213 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.5106, allocations: 5.719 kB / 0.7213 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.5106, allocations: 7.469 kB / 0.7213 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/0.5109, allocations: 133.2 kB / 0.7214 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.511, allocations: 192 / 0.7214 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.511, allocations: 9.469 kB / 0.7214 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.511, allocations: 2.328 kB / 0.7214 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.5112, allocations: 123.7 kB / 0.7215 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.5116, allocations: 366.9 kB / 0.7219 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.5118, allocations: 91.55 kB / 0.722 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.5119, allocations: 69.8 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.5119, allocations: 1.062 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.5119, allocations: 32.69 kB / 0.7221 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.5119, allocations: 0 / 0.7221 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.00045/0.5124, allocations: 196 kB / 0.7222 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.5124, allocations: 79.06 kB / 0.7223 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.862e-05/0.5125, allocations: 119.5 kB / 0.7224 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.5125, allocations: 25.7 kB / 0.7225 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.5126, allocations: 99.05 kB / 0.7226 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.5126, allocations: 5.688 kB / 0.7226 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.5126, allocations: 17.58 kB / 0.7226 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.902e-05/0.5127, allocations: 318.8 kB / 0.7229 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.5128, allocations: 58.98 kB / 0.7229 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.5129, allocations: 66.25 kB / 0.723 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.5132, allocations: 107.3 kB / 0.7231 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5132, allocations: 0 / 0.7231 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002883/0.5135, allocations: 138 kB / 0.7232 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.5135, allocations: 5.531 kB / 0.7232 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5135, allocations: 1.094 kB / 0.7232 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.5135, allocations: 5.125 kB / 0.7232 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.5136, allocations: 21.97 kB / 0.7233 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.5136, allocations: 8.953 kB / 0.7233 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.748e-05/0.5137, allocations: 19.69 kB / 0.7233 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.5137, allocations: 1.125 kB / 0.7233 GB, free: 20.7 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 7.96e-05/0.5138, allocations: 127.9 kB / 0.7234 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.5138, allocations: 2.219 kB / 0.7234 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.5138, allocations: 14.94 kB / 0.7234 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5138, allocations: 0 / 0.7234 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.5138, allocations: 1.984 kB / 0.7234 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5138, allocations: 5.094 kB / 0.7234 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.514, allocations: 120.4 kB / 0.7236 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.514, allocations: 1.312 kB / 0.7236 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.317e-05/0.514, allocations: 25.39 kB / 0.7236 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.514, allocations: 1.438 kB / 0.7236 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.5141, allocations: 5.625 kB / 0.7236 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.5141, allocations: 0 / 0.7236 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5141, allocations: 1.031 kB / 0.7236 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.5144, allocations: 317.5 kB / 0.7239 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.5144, allocations: 2.281 kB / 0.7239 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.5144, allocations: 2.062 kB / 0.7239 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.472e-05/0.5145, allocations: 15.39 kB / 0.7239 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.5146, allocations: 7.141 kB / 0.7239 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.5146, allocations: 5.094 kB / 0.7239 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.569e-05/0.5146, allocations: 98.48 kB / 0.724 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5146, allocations: 4.031 kB / 0.724 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001867/0.5148, allocations: 15.77 kB / 0.724 GB, free: 20.1 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 9.096e-05/0.5149, allocations: 99.27 kB / 0.7241 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002899/0.5152, allocations: 109.7 kB / 0.7242 GB, free: 20 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5152, allocations: 1.25 kB / 0.7242 GB, free: 20 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.5153, allocations: 72.17 kB / 0.7243 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.5155, allocations: 5.547 kB / 0.7243 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.5159, allocations: 163.3 kB / 0.7245 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.676e-05/0.5159, allocations: 82.78 kB / 0.7245 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.378e-05/0.516, allocations: 22.84 kB / 0.7246 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.516, allocations: 9.531 kB / 0.7246 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of SimCode: time 7.11e-07/0.516, allocations: 0 / 0.7246 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of Templates: time 0.00256/0.5186, allocations: 0.8473 MB / 0.7254 GB, free: 19.65 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 gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.384547682013363] Failed to read output from testmodel.py, exit status != 0: 0.5242459860164672 0.533654054 0.022043621000000003 Calling exit ...