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.0007818/0.0007818, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007866/0.0007866, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8799/0.8799, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.7173/0.7173, allocations: 154.6 MB / 413.8 MB, free: 0.7734 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: Performance of FrontEnd - loaded program: time 2.916e-06/2.916e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/2.117e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001361/0.001382, allocations: 0.637 MB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007345/0.002116, allocations: 0.8199 MB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.822e-05/0.002165, allocations: 4 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.299e-05/0.002258, allocations: 7.875 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.151e-05/0.002349, allocations: 7.922 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.383e-05/0.002413, allocations: 11.98 kB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.002521, allocations: 55.84 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.00265, allocations: 11.98 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.575e-05/0.002716, allocations: 35.91 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.726e-05/0.002793, allocations: 31.91 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.002814, allocations: 4 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.685e-06/0.002822, allocations: 8 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.501e-05/0.002867, allocations: 27.89 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.002895, allocations: 15.94 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.682e-05/0.002991, allocations: 71.77 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002993, allocations: 0 / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.254e-06/0.002995, allocations: 4 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.002999, allocations: 0 / 0.6198 GB, free: 11.91 MB / 0.5886 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.000434/0.003433, allocations: 306.1 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.003472, allocations: 12.03 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.155e-05/0.003504, allocations: 38.75 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.173e-05/0.003525, allocations: 8.891 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.003692, allocations: 137.6 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.003701, allocations: 384 / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.003711, allocations: 4.375 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.003929, allocations: 127.9 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.003937, allocations: 192 / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.003948, allocations: 4.375 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.003954, allocations: 8.125 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.004143, allocations: 135.8 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.004542, allocations: 384 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.004662, allocations: 89.14 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.112e-05/0.004753, allocations: 73.64 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.637e-06/0.004761, allocations: 3.938 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.004779, allocations: 34.56 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.00478, allocations: 0 / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003402/0.00512, allocations: 193.6 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.005151, allocations: 77.11 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.535e-05/0.005217, allocations: 121.8 kB / 0.6215 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.005226, allocations: 25.7 kB / 0.6215 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.005265, allocations: 100 kB / 0.6216 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.005279, allocations: 3.953 kB / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.005304, allocations: 13.72 kB / 0.6216 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.107e-05/0.005375, allocations: 322.8 kB / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.63e-05/0.005462, allocations: 56 kB / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.09e-05/0.005552, allocations: 65.64 kB / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.005708, allocations: 105.5 kB / 0.6221 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.00571, allocations: 4.062 kB / 0.6222 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001883/0.005899, allocations: 141.5 kB / 0.6223 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.005911, allocations: 8 kB / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.005915, allocations: 0 / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.005927, allocations: 7.969 kB / 0.6223 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.778e-05/0.006005, allocations: 15.98 kB / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.00601, allocations: 4.062 kB / 0.6223 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.905e-05/0.006049, allocations: 15.97 kB / 0.6223 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.006054, allocations: 0 / 0.6223 GB, free: 9.082 MB / 0.5886 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.229e-05/0.006116, allocations: 130.8 kB / 0.6225 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.006135, allocations: 0 / 0.6225 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.119e-05/0.006157, allocations: 15.42 kB / 0.6225 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.006159, allocations: 0 / 0.6225 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.006163, allocations: 0 / 0.6225 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.006166, allocations: 0 / 0.6225 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.006308, allocations: 148.7 kB / 0.6226 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.006309, allocations: 8 kB / 0.6226 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.006352, allocations: 19.97 kB / 0.6226 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.006354, allocations: 4 kB / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.006361, allocations: 0 / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.006361, allocations: 3.938 kB / 0.6227 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006362, allocations: 0 / 0.6227 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.006613, allocations: 326.5 kB / 0.623 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.006619, allocations: 0 / 0.623 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.00663, allocations: 0 / 0.623 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.006701, allocations: 19.97 kB / 0.623 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.006738, allocations: 0 / 0.623 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.006741, allocations: 4 kB / 0.623 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.218e-05/0.006783, allocations: 103.6 kB / 0.6231 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006783, allocations: 0 / 0.6231 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001649/0.006948, allocations: 19.89 kB / 0.6231 GB, free: 8.227 MB / 0.5886 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.0003966/0.007344, allocations: 0.8327 MB / 0.6239 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.007561, allocations: 115.9 kB / 0.624 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.007562, allocations: 0 / 0.624 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.066e-05/0.007653, allocations: 63.86 kB / 0.6241 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.007877, allocations: 9.875 kB / 0.6241 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.009031, allocations: 1.587 MB / 0.6256 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.587e-05/0.009087, allocations: 79.33 kB / 0.6257 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.266e-05/0.00912, allocations: 16.02 kB / 0.6257 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/0.00916, allocations: 24.48 kB / 0.6258 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of SimCode: time 6.51e-07/0.009161, allocations: 3.938 kB / 0.6258 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01261/0.02177, allocations: 2.554 MB / 0.6283 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.83/6.852, allocations: 4 kB / 0.6283 GB, free: 2.957 MB / 0.5886 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.540894065983593] Failed to read output from testmodel.py, exit status != 0: 6.933139714412391 6.941829673 6.9372317 Calling exit ...