Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.0007655/0.0007655, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001021/0.001021, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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.895/0.895, allocations: 230.6 MB / 256 MB, free: 9.574 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03586/0.03586, allocations: 12.2 MB / 324.6 MB, free: 6.047 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004076/0.0004076, allocations: 19.97 kB / 384.1 MB, free: 10.49 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.536/1.536, allocations: 353.8 MB / 0.7787 GB, free: 4.398 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001455/0.001455, allocations: 123.2 kB / 1.06 GB, free: 24.74 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1893, allocations: 134.9 MB / 1.192 GB, free: 7.461 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001389/0.1907, allocations: 0.6559 MB / 1.192 GB, free: 6.809 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007452/0.1914, allocations: 0.8592 MB / 1.193 GB, free: 5.938 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.1915, allocations: 3.938 kB / 1.193 GB, free: 5.934 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 9.077e-05/0.1916, allocations: 3.938 kB / 1.193 GB, free: 5.93 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.393e-05/0.1916, allocations: 8 kB / 1.193 GB, free: 5.922 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001079/0.1917, allocations: 27.91 kB / 1.193 GB, free: 5.895 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.854e-05/0.1918, allocations: 63.89 kB / 1.193 GB, free: 5.832 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.192, allocations: 27.91 kB / 1.193 GB, free: 5.805 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.983e-05/0.192, allocations: 39.8 kB / 1.193 GB, free: 5.766 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.674e-05/0.1921, allocations: 43.88 kB / 1.193 GB, free: 5.723 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1921, allocations: 8 kB / 1.193 GB, free: 5.715 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.1921, allocations: 4 kB / 1.193 GB, free: 5.711 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.1922, allocations: 27.92 kB / 1.193 GB, free: 5.684 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.1922, allocations: 31.84 kB / 1.193 GB, free: 5.652 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.1923, allocations: 91.67 kB / 1.194 GB, free: 5.562 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1924, allocations: 4 kB / 1.194 GB, free: 5.559 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.552e-06/0.1924, allocations: 0 / 1.194 GB, free: 5.559 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.1924, allocations: 0 / 1.194 GB, free: 5.559 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004442/0.1928, allocations: 322.1 kB / 1.194 GB, free: 5.211 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1928, allocations: 8.031 kB / 1.194 GB, free: 5.203 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.1929, allocations: 42.73 kB / 1.194 GB, free: 5.152 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.1929, allocations: 8.891 kB / 1.194 GB, free: 5.145 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.193, allocations: 138.4 kB / 1.194 GB, free: 4.984 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.1931, allocations: 384 / 1.194 GB, free: 4.984 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.1931, allocations: 12.38 kB / 1.194 GB, free: 4.973 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.1933, allocations: 157.5 kB / 1.194 GB, free: 4.809 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.1933, allocations: 7.922 kB / 1.194 GB, free: 4.801 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1933, allocations: 8 kB / 1.194 GB, free: 4.793 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1933, allocations: 3.938 kB / 1.194 GB, free: 4.789 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.1936, allocations: 151.8 kB / 1.194 GB, free: 4.641 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.194, allocations: 407.9 kB / 1.195 GB, free: 4.195 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.1942, allocations: 113.1 kB / 1.195 GB, free: 4.066 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.1943, allocations: 77.64 kB / 1.195 GB, free: 3.984 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.1943, allocations: 0 / 1.195 GB, free: 3.984 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.1943, allocations: 38.56 kB / 1.195 GB, free: 3.938 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1943, allocations: 0 / 1.195 GB, free: 3.938 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0004022/0.1947, allocations: 229.3 kB / 1.195 GB, free: 3.707 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.1947, allocations: 77.11 kB / 1.195 GB, free: 3.613 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.708e-05/0.1948, allocations: 126 kB / 1.195 GB, free: 3.48 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.1948, allocations: 33.7 kB / 1.195 GB, free: 3.441 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.1949, allocations: 108 kB / 1.195 GB, free: 3.332 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.1949, allocations: 5.422 kB / 1.195 GB, free: 3.328 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.1949, allocations: 25.7 kB / 1.196 GB, free: 3.297 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.195, allocations: 314.8 kB / 1.196 GB, free: 2.98 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.1951, allocations: 67.91 kB / 1.196 GB, free: 2.914 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-05/0.1952, allocations: 77.58 kB / 1.196 GB, free: 2.832 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.1954, allocations: 129.6 kB / 1.196 GB, free: 2.699 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1954, allocations: 0 / 1.196 GB, free: 2.699 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002296/0.1956, allocations: 169.5 kB / 1.196 GB, free: 2.527 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1956, allocations: 4 kB / 1.196 GB, free: 2.523 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1956, allocations: 0 / 1.196 GB, free: 2.523 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1956, allocations: 4 kB / 1.196 GB, free: 2.52 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-05/0.1957, allocations: 19.97 kB / 1.196 GB, free: 2.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.1957, allocations: 3.938 kB / 1.196 GB, free: 2.496 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.1958, allocations: 19.97 kB / 1.196 GB, free: 2.477 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1958, allocations: 0 / 1.196 GB, free: 2.477 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.843e-05/0.1959, allocations: 129.9 kB / 1.196 GB, free: 2.34 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.1959, allocations: 7.953 kB / 1.196 GB, free: 2.332 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.1959, allocations: 11.61 kB / 1.196 GB, free: 2.316 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1959, allocations: 4 kB / 1.196 GB, free: 2.312 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1959, allocations: 7.938 kB / 1.196 GB, free: 2.305 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1959, allocations: 0 / 1.196 GB, free: 2.305 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.1961, allocations: 164.7 kB / 1.197 GB, free: 2.102 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1961, allocations: 0 / 1.197 GB, free: 2.102 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.007e-05/0.1961, allocations: 24.28 kB / 1.197 GB, free: 2.078 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1961, allocations: 4 kB / 1.197 GB, free: 2.074 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1961, allocations: 7.938 kB / 1.197 GB, free: 2.066 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1961, allocations: 0 / 1.197 GB, free: 2.066 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1961, allocations: 7.875 kB / 1.197 GB, free: 2.059 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.1964, allocations: 330.7 kB / 1.197 GB, free: 1.719 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-06/0.1964, allocations: 3.953 kB / 1.197 GB, free: 1.715 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.1964, allocations: 8 kB / 1.197 GB, free: 1.707 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.163e-05/0.1965, allocations: 19.97 kB / 1.197 GB, free: 1.688 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.1966, allocations: 23.91 kB / 1.197 GB, free: 1.664 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.1966, allocations: 7.984 kB / 1.197 GB, free: 1.656 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.694e-05/0.1966, allocations: 95.2 kB / 1.197 GB, free: 1.562 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.1966, allocations: 0 / 1.197 GB, free: 1.562 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001775/0.1968, allocations: 16 kB / 1.197 GB, free: 1.547 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006775/0.1975, allocations: 0.8641 MB / 1.198 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.1977, allocations: 139.8 kB / 1.198 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.1977, allocations: 0 / 1.198 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.1978, allocations: 88.08 kB / 1.198 GB, free: 444 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.1981, allocations: 12 kB / 1.198 GB, free: 432 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.1994, allocations: 1.698 MB / 1.2 GB, free: 14.64 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.689e-05/0.1994, allocations: 91.08 kB / 1.2 GB, free: 14.53 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.532e-05/0.1995, allocations: 16.23 kB / 1.2 GB, free: 14.51 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.906e-05/0.1995, allocations: 27.42 kB / 1.2 GB, free: 14.48 MB / 0.8387 GB Notification: Performance of SimCode: time 6.21e-07/0.1995, allocations: 0 / 1.2 GB, free: 14.48 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/0.2145, allocations: 3.002 MB / 1.203 GB, free: 11.63 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.922/6.137, allocations: 2.422 kB / 1.203 GB, free: 11.63 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.192603006958961] Failed to read output from testmodel.py, exit status != 0: 6.211239291355014 6.218872795 6.024805554 Calling exit ...