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.0007292/0.0007292, allocations: 80.45 kB / 19.15 MB, free: 0.7734 MB / 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.0008216/0.0008216, allocations: 162 kB / 22.43 MB, free: 2.141 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.89/0.89, allocations: 177.2 MB / 202.8 MB, free: 5.781 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.7025/0.7025, allocations: 154.7 MB / 413.9 MB, free: 0.7305 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [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.0008863/0.0008863, allocations: 71.73 kB / 0.6183 GB, free: 12.5 MB / 0.5417 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.4038/0.4047, allocations: 102 MB / 0.7179 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001335/0.406, allocations: 0.6399 MB / 0.7185 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007468/0.4068, allocations: 0.8223 MB / 0.7193 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.4068, allocations: 7.938 kB / 0.7193 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.097e-05/0.4069, allocations: 4 kB / 0.7193 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.916e-05/0.407, allocations: 7.922 kB / 0.7193 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.369e-05/0.4071, allocations: 12 kB / 0.7193 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.84e-05/0.4072, allocations: 55.83 kB / 0.7194 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.4073, allocations: 15.98 kB / 0.7194 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.824e-05/0.4074, allocations: 39.89 kB / 0.7194 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.662e-05/0.4074, allocations: 27.92 kB / 0.7195 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.4074, allocations: 4 kB / 0.7195 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.776e-06/0.4075, allocations: 4 kB / 0.7195 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.4075, allocations: 27.91 kB / 0.7195 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.4075, allocations: 19.88 kB / 0.7195 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.4076, allocations: 79.55 kB / 0.7196 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4076, allocations: 0 / 0.7196 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.455e-06/0.4076, allocations: 4 kB / 0.7196 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.4077, allocations: 4 kB / 0.7196 GB, free: 11.94 MB / 0.6042 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.0004413/0.4081, allocations: 316.6 kB / 0.7199 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.4081, allocations: 12.03 kB / 0.7199 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.857e-05/0.4082, allocations: 34.75 kB / 0.7199 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.152e-05/0.4082, allocations: 4.938 kB / 0.7199 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.4083, allocations: 130.4 kB / 0.7201 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.4083, allocations: 4.375 kB / 0.7201 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.4083, allocations: 384 / 0.7201 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.4086, allocations: 135.8 kB / 0.7202 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4086, allocations: 3.938 kB / 0.7202 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4086, allocations: 11.98 kB / 0.7202 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.4086, allocations: 3.938 kB / 0.7202 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.4088, allocations: 123.8 kB / 0.7203 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.4092, allocations: 392 kB / 0.7207 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.4094, allocations: 89.08 kB / 0.7208 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.174e-05/0.4094, allocations: 65.7 kB / 0.7209 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.4095, allocations: 3.938 kB / 0.7209 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.4095, allocations: 34.56 kB / 0.7209 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4095, allocations: 4 kB / 0.7209 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003812/0.4099, allocations: 193.4 kB / 0.7211 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.4099, allocations: 77.11 kB / 0.7212 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.858e-05/0.41, allocations: 121.8 kB / 0.7213 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.41, allocations: 29.95 kB / 0.7213 GB, free: 9.996 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.41, allocations: 100 kB / 0.7214 GB, free: 9.895 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.4101, allocations: 7.938 kB / 0.7214 GB, free: 9.887 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.526e-05/0.4101, allocations: 21.66 kB / 0.7214 GB, free: 9.859 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.987e-05/0.4102, allocations: 318.8 kB / 0.7217 GB, free: 9.539 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.187e-05/0.4102, allocations: 51.94 kB / 0.7218 GB, free: 9.488 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.112e-05/0.4103, allocations: 61.64 kB / 0.7218 GB, free: 9.422 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.4105, allocations: 105.7 kB / 0.7219 GB, free: 9.312 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4105, allocations: 0 / 0.7219 GB, free: 9.312 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002479/0.4107, allocations: 145.5 kB / 0.7221 GB, free: 9.164 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.4107, allocations: 11.98 kB / 0.7221 GB, free: 9.152 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4107, allocations: 0 / 0.7221 GB, free: 9.152 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.4108, allocations: 0 / 0.7221 GB, free: 9.152 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.571e-05/0.4108, allocations: 15.98 kB / 0.7221 GB, free: 9.137 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.4108, allocations: 0 / 0.7221 GB, free: 9.137 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.4109, allocations: 19.91 kB / 0.7221 GB, free: 9.117 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.4109, allocations: 4 kB / 0.7221 GB, free: 9.113 MB / 0.6042 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.974e-05/0.411, allocations: 126.8 kB / 0.7222 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.411, allocations: 0 / 0.7222 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.411, allocations: 15.42 kB / 0.7223 GB, free: 8.965 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.411, allocations: 0 / 0.7223 GB, free: 8.965 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.411, allocations: 4.359 kB / 0.7223 GB, free: 8.961 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.411, allocations: 7.922 kB / 0.7223 GB, free: 8.953 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.4112, allocations: 148.7 kB / 0.7224 GB, free: 8.766 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4112, allocations: 7.938 kB / 0.7224 GB, free: 8.758 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.4112, allocations: 19.92 kB / 0.7224 GB, free: 8.738 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.4112, allocations: 0 / 0.7224 GB, free: 8.738 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.4112, allocations: 4 kB / 0.7224 GB, free: 8.734 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.4112, allocations: 3.938 kB / 0.7225 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4112, allocations: 3.984 kB / 0.7225 GB, free: 8.727 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.4114, allocations: 310.6 kB / 0.7228 GB, free: 8.406 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-06/0.4114, allocations: 3.938 kB / 0.7228 GB, free: 8.402 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-06/0.4115, allocations: 0 / 0.7228 GB, free: 8.402 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.4115, allocations: 28 kB / 0.7228 GB, free: 8.375 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.4116, allocations: 11.92 kB / 0.7228 GB, free: 8.363 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.4116, allocations: 3.938 kB / 0.7228 GB, free: 8.359 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.4116, allocations: 95.27 kB / 0.7229 GB, free: 8.266 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.4116, allocations: 0 / 0.7229 GB, free: 8.266 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001589/0.4118, allocations: 11.95 kB / 0.7229 GB, free: 8.254 MB / 0.6042 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.0004211/0.4122, allocations: 0.8289 MB / 0.7237 GB, free: 7.398 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.4124, allocations: 115.8 kB / 0.7238 GB, free: 7.285 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4124, allocations: 0 / 0.7238 GB, free: 7.285 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.532e-05/0.4125, allocations: 60.14 kB / 0.7239 GB, free: 7.227 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.4127, allocations: 16 kB / 0.7239 GB, free: 7.211 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.4139, allocations: 1.589 MB / 0.7254 GB, free: 5.535 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.676e-05/0.414, allocations: 79.33 kB / 0.7255 GB, free: 5.438 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.438e-05/0.414, allocations: 15.98 kB / 0.7255 GB, free: 5.422 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.414, allocations: 20.48 kB / 0.7256 GB, free: 5.402 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/0.414, allocations: 0 / 0.7256 GB, free: 5.402 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.4278, allocations: 2.545 MB / 0.728 GB, free: 3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.587/7.015, allocations: 10.08 kB / 0.7281 GB, free: 2.996 MB / 0.6042 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.677129368996248] Failed to read output from testmodel.py, exit status != 0: 7.094211527029984 7.10552164 6.695939748 Calling exit ...