Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.0007729/0.0007729, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009575/0.0009575, allocations: 207.6 kB / 22.25 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.8744/0.8744, allocations: 230.6 MB / 256 MB, free: 9.605 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.03488/0.03488, allocations: 12.19 MB / 324.6 MB, free: 6.113 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.000428/0.000428, allocations: 31.94 kB / 384.1 MB, free: 10.53 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.53/1.53, allocations: 353.8 MB / 0.7787 GB, free: 4.547 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.RealScalarReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",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.001403/0.001403, allocations: 114 kB / 1.06 GB, free: 24.9 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1918, allocations: 134.9 MB / 1.192 GB, free: 7.531 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001428/0.1932, allocations: 0.6333 MB / 1.192 GB, free: 6.902 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0006257/0.1939, allocations: 0.8241 MB / 1.193 GB, free: 6.066 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.424e-05/0.1939, allocations: 0 / 1.193 GB, free: 6.066 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 7.49e-05/0.194, allocations: 3.938 kB / 1.193 GB, free: 6.062 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 1.661e-05/0.194, allocations: 3.938 kB / 1.193 GB, free: 6.059 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 9.316e-05/0.1941, allocations: 11.98 kB / 1.193 GB, free: 6.047 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.442e-05/0.1941, allocations: 16 kB / 1.193 GB, free: 6.031 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 7.956e-05/0.1942, allocations: 15.97 kB / 1.193 GB, free: 6.016 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.836e-05/0.1942, allocations: 11.94 kB / 1.193 GB, free: 6.004 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.083e-05/0.1943, allocations: 15.86 kB / 1.193 GB, free: 5.988 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 9.417e-06/0.1943, allocations: 4 kB / 1.193 GB, free: 5.984 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-06/0.1943, allocations: 4 kB / 1.193 GB, free: 5.98 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.287e-05/0.1943, allocations: 7.922 kB / 1.193 GB, free: 5.973 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.1944, allocations: 8 kB / 1.193 GB, free: 5.965 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 6.789e-05/0.1944, allocations: 31.83 kB / 1.193 GB, free: 5.934 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1944, allocations: 4 kB / 1.193 GB, free: 5.93 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1944, allocations: 3.938 kB / 1.193 GB, free: 5.926 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.1944, allocations: 4 kB / 1.193 GB, free: 5.922 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002882/0.1947, allocations: 262.3 kB / 1.193 GB, free: 5.633 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1948, allocations: 8.031 kB / 1.193 GB, free: 5.625 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.484e-05/0.1948, allocations: 34.75 kB / 1.194 GB, free: 5.582 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.506e-05/0.1948, allocations: 0.9375 kB / 1.194 GB, free: 5.582 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.499e-05/0.1949, allocations: 126.4 kB / 1.194 GB, free: 5.434 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-06/0.1949, allocations: 384 / 1.194 GB, free: 5.434 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-06/0.1949, allocations: 4.375 kB / 1.194 GB, free: 5.43 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.195, allocations: 58.17 kB / 1.194 GB, free: 5.367 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.195, allocations: 7.938 kB / 1.194 GB, free: 5.359 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.195, allocations: 7.984 kB / 1.194 GB, free: 5.352 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.195, allocations: 0 / 1.194 GB, free: 5.352 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.385e-05/0.1951, allocations: 31.97 kB / 1.194 GB, free: 5.32 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002408/0.1954, allocations: 240 kB / 1.194 GB, free: 5.043 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.075e-05/0.1954, allocations: 34.5 kB / 1.194 GB, free: 5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.414e-05/0.1955, allocations: 24.91 kB / 1.194 GB, free: 4.973 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-06/0.1955, allocations: 0 / 1.194 GB, free: 4.973 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.1955, allocations: 30.56 kB / 1.194 GB, free: 4.934 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.1955, allocations: 0 / 1.194 GB, free: 4.934 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001777/0.1957, allocations: 77.58 kB / 1.194 GB, free: 4.852 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.1957, allocations: 51.41 kB / 1.194 GB, free: 4.789 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.763e-05/0.1957, allocations: 105.8 kB / 1.194 GB, free: 4.676 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.1957, allocations: 25.7 kB / 1.194 GB, free: 4.645 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/0.1958, allocations: 96.22 kB / 1.194 GB, free: 4.547 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.034e-05/0.1958, allocations: 0 / 1.194 GB, free: 4.547 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/0.1958, allocations: 9.719 kB / 1.194 GB, free: 4.531 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.572e-05/0.1959, allocations: 322.8 kB / 1.195 GB, free: 4.207 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.403e-05/0.1959, allocations: 15.98 kB / 1.195 GB, free: 4.191 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.061e-05/0.1959, allocations: 11.98 kB / 1.195 GB, free: 4.18 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.809e-05/0.196, allocations: 40.88 kB / 1.195 GB, free: 4.137 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.196, allocations: 3.938 kB / 1.195 GB, free: 4.133 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.805e-05/0.1961, allocations: 69.56 kB / 1.195 GB, free: 4.059 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.1961, allocations: 4 kB / 1.195 GB, free: 4.055 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1961, allocations: 0 / 1.195 GB, free: 4.055 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.1961, allocations: 3.938 kB / 1.195 GB, free: 4.051 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.952e-05/0.1962, allocations: 7.984 kB / 1.195 GB, free: 4.043 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1962, allocations: 0 / 1.195 GB, free: 4.043 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/0.1962, allocations: 12.27 kB / 1.195 GB, free: 4.031 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.1962, allocations: 4 kB / 1.195 GB, free: 4.027 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 4.453e-05/0.1963, allocations: 113.8 kB / 1.195 GB, free: 3.906 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.407e-06/0.1963, allocations: 0 / 1.195 GB, free: 3.906 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.417e-05/0.1963, allocations: 11.16 kB / 1.195 GB, free: 3.895 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1963, allocations: 0 / 1.195 GB, free: 3.895 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1963, allocations: 0 / 1.195 GB, free: 3.895 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.1963, allocations: 0 / 1.195 GB, free: 3.895 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.372e-05/0.1964, allocations: 132.7 kB / 1.195 GB, free: 3.723 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.1964, allocations: 0 / 1.195 GB, free: 3.723 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.1964, allocations: 11.98 kB / 1.195 GB, free: 3.711 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.91e-07/0.1964, allocations: 0 / 1.195 GB, free: 3.711 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-06/0.1964, allocations: 0 / 1.195 GB, free: 3.711 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-07/0.1964, allocations: 0 / 1.195 GB, free: 3.711 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1964, allocations: 0 / 1.195 GB, free: 3.711 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.1965, allocations: 163.4 kB / 1.195 GB, free: 3.535 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-06/0.1965, allocations: 3.938 kB / 1.195 GB, free: 3.531 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-06/0.1965, allocations: 4 kB / 1.195 GB, free: 3.527 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.523e-05/0.1966, allocations: 12.02 kB / 1.195 GB, free: 3.516 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.1966, allocations: 4 kB / 1.195 GB, free: 3.512 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-06/0.1966, allocations: 0 / 1.195 GB, free: 3.512 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.274e-05/0.1966, allocations: 83.27 kB / 1.195 GB, free: 3.43 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.1966, allocations: 0 / 1.195 GB, free: 3.43 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001352/0.1968, allocations: 7.953 kB / 1.195 GB, free: 3.422 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.000263/0.197, allocations: 0.6851 MB / 1.196 GB, free: 2.707 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.1971, allocations: 39.94 kB / 1.196 GB, free: 2.668 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.1971, allocations: 0 / 1.196 GB, free: 2.668 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.522e-05/0.1972, allocations: 15.97 kB / 1.196 GB, free: 2.652 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.1974, allocations: 8 kB / 1.196 GB, free: 2.645 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007468/0.1981, allocations: 1.231 MB / 1.197 GB, free: 1.336 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.766e-05/0.1981, allocations: 63.34 kB / 1.197 GB, free: 1.254 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.453e-05/0.1982, allocations: 7.938 kB / 1.197 GB, free: 1.246 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.1982, allocations: 15.42 kB / 1.197 GB, free: 1.23 MB / 0.823 GB Notification: Performance of SimCode: time 4.4e-07/0.1982, allocations: 0 / 1.197 GB, free: 1.23 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/0.211, allocations: 1.832 MB / 1.199 GB, free: 15.53 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.982/6.193, allocations: 6.484 kB / 1.199 GB, free: 15.53 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_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_RealScalarReplicator.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.189550056122243] Failed to read output from testmodel.py, exit status != 0: 6.266389303840697 6.274918509 6.078665229 Calling exit ...