Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007141/0.0007141, 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.000765/0.000765, 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.9033/0.9033, allocations: 177.2 MB / 203.6 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.7229/0.7229, allocations: 154.9 MB / 414.9 MB, free: 0.5039 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_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.001001/0.001001, allocations: 71.34 kB / 0.6198 GB, free: 12.76 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4678/0.4688, allocations: 102 MB / 0.7194 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001556/0.4704, allocations: 0.6321 MB / 0.72 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008454/0.4712, allocations: 0.8166 MB / 0.7208 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.4713, allocations: 1.406 kB / 0.7208 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.796e-05/0.4714, allocations: 9.438 kB / 0.7209 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.4715, allocations: 16.16 kB / 0.7209 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.363e-05/0.4715, allocations: 8.703 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.4716, allocations: 48.78 kB / 0.7209 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.4718, allocations: 16.23 kB / 0.7209 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.597e-05/0.4719, allocations: 39.3 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.472, allocations: 35.08 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.472, allocations: 8.406 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.789e-06/0.472, allocations: 2.812 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.493e-05/0.472, allocations: 23.61 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.4721, allocations: 20.12 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.4722, allocations: 72.02 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4722, allocations: 1.219 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4722, allocations: 0 / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.4722, allocations: 0 / 0.7211 GB, free: 22.33 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.0004489/0.4727, allocations: 317 kB / 0.7214 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.4727, allocations: 11.39 kB / 0.7214 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.4727, allocations: 4.406 kB / 0.7215 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.4729, allocations: 137.9 kB / 0.7216 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.4729, allocations: 2.562 kB / 0.7216 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.4729, allocations: 7.438 kB / 0.7216 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.4732, allocations: 129.9 kB / 0.7217 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.4732, allocations: 4.125 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.4732, allocations: 5 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4732, allocations: 5.031 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.4734, allocations: 128.2 kB / 0.7219 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.4738, allocations: 372.3 kB / 0.7222 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.474, allocations: 95.03 kB / 0.7223 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.4741, allocations: 65.95 kB / 0.7224 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.4741, allocations: 1.188 kB / 0.7224 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.4741, allocations: 32.3 kB / 0.7224 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.4741, allocations: 0 / 0.7224 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0004204/0.4745, allocations: 196.7 kB / 0.7226 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.4746, allocations: 78.45 kB / 0.7227 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.181e-05/0.4746, allocations: 118.9 kB / 0.7228 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.4746, allocations: 26.86 kB / 0.7228 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.4747, allocations: 98.61 kB / 0.7229 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.4747, allocations: 5.141 kB / 0.7229 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.4747, allocations: 18.02 kB / 0.7229 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.881e-05/0.4748, allocations: 318.9 kB / 0.7232 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.4749, allocations: 59.41 kB / 0.7233 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.475, allocations: 62.62 kB / 0.7233 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.4752, allocations: 109.5 kB / 0.7234 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4752, allocations: 4.375 kB / 0.7234 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002296/0.4754, allocations: 138.4 kB / 0.7236 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4754, allocations: 5.688 kB / 0.7236 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.4754, allocations: 0 / 0.7236 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4755, allocations: 5.672 kB / 0.7236 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.246e-05/0.4756, allocations: 21.55 kB / 0.7236 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4756, allocations: 2.281 kB / 0.7236 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.4756, allocations: 18.8 kB / 0.7236 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.4756, allocations: 1.156 kB / 0.7236 GB, free: 20.51 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 6.468e-05/0.4757, allocations: 128.5 kB / 0.7237 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.4757, allocations: 2.219 kB / 0.7237 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.4757, allocations: 14.77 kB / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4757, allocations: 0 / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.4757, allocations: 1.891 kB / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4757, allocations: 5.125 kB / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.4759, allocations: 120.8 kB / 0.7239 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4759, allocations: 3.938 kB / 0.7239 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.197e-05/0.4759, allocations: 23.05 kB / 0.7239 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.4759, allocations: 0 / 0.7239 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.4759, allocations: 1.469 kB / 0.7239 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.4759, allocations: 2.25 kB / 0.7239 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4759, allocations: 3.938 kB / 0.7239 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.4762, allocations: 312.3 kB / 0.7242 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.4762, allocations: 3.031 kB / 0.7242 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.4763, allocations: 1.5 kB / 0.7242 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.284e-05/0.4763, allocations: 15.84 kB / 0.7242 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.4764, allocations: 11.47 kB / 0.7242 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.4764, allocations: 1.219 kB / 0.7242 GB, free: 20 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.191e-05/0.4764, allocations: 94.5 kB / 0.7243 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4764, allocations: 4.031 kB / 0.7243 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001837/0.4766, allocations: 16.2 kB / 0.7244 GB, free: 19.91 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.814e-05/0.4767, allocations: 103 kB / 0.7245 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002701/0.477, allocations: 109.9 kB / 0.7246 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.477, allocations: 0 / 0.7246 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.4771, allocations: 67.3 kB / 0.7246 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.4774, allocations: 6.531 kB / 0.7246 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/0.4777, allocations: 170.5 kB / 0.7248 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.907e-05/0.4778, allocations: 87.91 kB / 0.7249 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.627e-05/0.4778, allocations: 13.5 kB / 0.7249 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.4779, allocations: 15.44 kB / 0.7249 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/0.4779, allocations: 0 / 0.7249 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of Templates: time 0.002725/0.4806, allocations: 0.8476 MB / 0.7257 GB, free: 19.47 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.125810247962363] Failed to read output from testmodel.py, exit status != 0: 0.4882667810888961 0.49969698700000004 0.025416703000000002 Calling exit ...