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.001129/0.001129, 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.001125/0.001125, allocations: 162 kB / 22.43 MB, free: 2.145 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.9524/0.9524, allocations: 177.2 MB / 202.8 MB, free: 5.773 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.7343/0.7343, allocations: 154.9 MB / 414.2 MB, free: 0.4922 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="IDEAS_dev_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.001344/0.001344, allocations: 71.42 kB / 0.6186 GB, free: 13.31 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.4639/0.4653, allocations: 102 MB / 0.7182 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001339/0.4666, allocations: 0.634 MB / 0.7188 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006934/0.4673, allocations: 0.8198 MB / 0.7196 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.858e-05/0.4673, allocations: 1.219 kB / 0.7196 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.423e-05/0.4674, allocations: 5.344 kB / 0.7196 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.4675, allocations: 8.031 kB / 0.7196 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.246e-05/0.4676, allocations: 9.188 kB / 0.7196 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.4677, allocations: 61.33 kB / 0.7197 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.4678, allocations: 18.61 kB / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.895e-05/0.4679, allocations: 36.67 kB / 0.7197 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.8e-05/0.468, allocations: 31.36 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.468, allocations: 3.5 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.468, allocations: 3.438 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.857e-05/0.468, allocations: 22.64 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.4681, allocations: 25.14 kB / 0.7198 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.4682, allocations: 83.23 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4682, allocations: 0 / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.725e-06/0.4682, allocations: 1.031 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.4682, allocations: 4 kB / 0.7199 GB, free: 22.02 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.0004125/0.4686, allocations: 314.2 kB / 0.7202 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4687, allocations: 10.84 kB / 0.7202 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.47e-05/0.4687, allocations: 37.19 kB / 0.7203 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.115e-05/0.4687, allocations: 4.594 kB / 0.7203 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.4688, allocations: 129.6 kB / 0.7204 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.4688, allocations: 11.25 kB / 0.7204 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.4688, allocations: 3.75 kB / 0.7204 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.4691, allocations: 136.8 kB / 0.7205 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.4691, allocations: 4.594 kB / 0.7205 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.4691, allocations: 5.094 kB / 0.7205 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4691, allocations: 1.094 kB / 0.7205 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.4693, allocations: 123.7 kB / 0.7207 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.4697, allocations: 396.5 kB / 0.721 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.4698, allocations: 90.52 kB / 0.7211 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.416e-05/0.4699, allocations: 70.2 kB / 0.7212 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.4699, allocations: 1.469 kB / 0.7212 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.4699, allocations: 35.97 kB / 0.7212 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.4699, allocations: 0 / 0.7212 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0003916/0.4703, allocations: 191.3 kB / 0.7214 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.4703, allocations: 82.89 kB / 0.7215 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.72e-05/0.4704, allocations: 123.9 kB / 0.7216 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.313e-06/0.4704, allocations: 26.27 kB / 0.7216 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.4704, allocations: 102.4 kB / 0.7217 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.4705, allocations: 9.719 kB / 0.7217 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.4705, allocations: 13.7 kB / 0.7218 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.074e-05/0.4705, allocations: 318.2 kB / 0.7221 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.4706, allocations: 50.77 kB / 0.7221 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.545e-05/0.4707, allocations: 66.84 kB / 0.7222 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.4709, allocations: 111.7 kB / 0.7223 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4709, allocations: 0 / 0.7223 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002085/0.4711, allocations: 138 kB / 0.7224 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4711, allocations: 8.875 kB / 0.7224 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.4711, allocations: 1.188 kB / 0.7224 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.4711, allocations: 1.156 kB / 0.7224 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.552e-05/0.4712, allocations: 17.47 kB / 0.7224 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4712, allocations: 6.234 kB / 0.7224 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.4713, allocations: 19.55 kB / 0.7225 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.4713, allocations: 1.156 kB / 0.7225 GB, free: 20.14 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.387e-05/0.4713, allocations: 125 kB / 0.7226 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.4713, allocations: 6.953 kB / 0.7226 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.061e-05/0.4714, allocations: 13.77 kB / 0.7226 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.4714, allocations: 1.156 kB / 0.7226 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4714, allocations: 5.156 kB / 0.7226 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4714, allocations: 4.969 kB / 0.7226 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.4715, allocations: 143.7 kB / 0.7227 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.4715, allocations: 2.312 kB / 0.7228 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.726e-05/0.4716, allocations: 16.97 kB / 0.7228 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4716, allocations: 2.094 kB / 0.7228 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.4716, allocations: 1.062 kB / 0.7228 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4716, allocations: 4 kB / 0.7228 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4716, allocations: 4.922 kB / 0.7228 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.4718, allocations: 313.7 kB / 0.7231 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.4718, allocations: 6.25 kB / 0.7231 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.4718, allocations: 1.844 kB / 0.7231 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.547e-05/0.4719, allocations: 15.03 kB / 0.7231 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.4719, allocations: 18.95 kB / 0.7231 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.4719, allocations: 1.031 kB / 0.7231 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.728e-05/0.472, allocations: 94.06 kB / 0.7232 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.472, allocations: 5.281 kB / 0.7232 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001684/0.4721, allocations: 12.44 kB / 0.7232 GB, free: 19.5 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.0003378/0.4725, allocations: 0.8363 MB / 0.724 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.4727, allocations: 105.7 kB / 0.7241 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.4727, allocations: 0 / 0.7241 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.4728, allocations: 68.33 kB / 0.7242 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.4731, allocations: 22.47 kB / 0.7242 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.4742, allocations: 1.581 MB / 0.7258 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.188e-05/0.4743, allocations: 83.08 kB / 0.7259 GB, free: 17.33 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.201e-05/0.4743, allocations: 13.83 kB / 0.7259 GB, free: 17.33 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.381e-05/0.4743, allocations: 19.48 kB / 0.7259 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/0.4743, allocations: 0 / 0.7259 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.4912, allocations: 2.55 MB / 0.7284 GB, free: 16.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.831/7.322, allocations: 7.484 kB / 0.7284 GB, free: 16.4 MB / 0.6355 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.247691830038093] Failed to read output from testmodel.py, exit status != 0: 7.402969580027275 7.418225214 6.946957154 Calling exit ...