Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.0007442/0.0007442, 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.0007415/0.0007415, 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.8803/0.8803, 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.03585/0.03585, allocations: 12.19 MB / 324.6 MB, free: 6.082 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.0004229/0.0004229, allocations: 35.92 kB / 384.1 MB, free: 10.5 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.531/1.531, allocations: 353.8 MB / 0.7787 GB, free: 4.559 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.IntegerScalarReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",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.00135/0.00135, allocations: 122.3 kB / 1.06 GB, free: 24.68 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1922, allocations: 134.9 MB / 1.192 GB, free: 7.422 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.00135/0.1936, allocations: 0.6406 MB / 1.192 GB, free: 6.785 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007133/0.1943, allocations: 0.8592 MB / 1.193 GB, free: 5.914 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.1943, allocations: 0 / 1.193 GB, free: 5.914 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 9.023e-05/0.1944, allocations: 7.938 kB / 1.193 GB, free: 5.906 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 1.835e-05/0.1944, allocations: 3.938 kB / 1.193 GB, free: 5.902 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.1946, allocations: 19.98 kB / 1.193 GB, free: 5.883 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.287e-05/0.1946, allocations: 31.91 kB / 1.193 GB, free: 5.852 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.1947, allocations: 15.92 kB / 1.193 GB, free: 5.836 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.369e-05/0.1948, allocations: 11.94 kB / 1.193 GB, free: 5.824 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.674e-05/0.1948, allocations: 15.92 kB / 1.193 GB, free: 5.809 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.1949, allocations: 4 kB / 1.193 GB, free: 5.805 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.265e-06/0.1949, allocations: 4 kB / 1.193 GB, free: 5.801 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.1949, allocations: 19.91 kB / 1.193 GB, free: 5.781 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.1949, allocations: 11.94 kB / 1.193 GB, free: 5.77 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.929e-05/0.195, allocations: 39.81 kB / 1.193 GB, free: 5.73 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.195, allocations: 0 / 1.193 GB, free: 5.73 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.583e-06/0.195, allocations: 0 / 1.193 GB, free: 5.73 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.195, allocations: 3.938 kB / 1.193 GB, free: 5.727 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003589/0.1954, allocations: 274.3 kB / 1.194 GB, free: 5.426 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1954, allocations: 8.031 kB / 1.194 GB, free: 5.418 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.1955, allocations: 38.73 kB / 1.194 GB, free: 5.371 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.171e-05/0.1955, allocations: 4.938 kB / 1.194 GB, free: 5.367 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.1956, allocations: 114.5 kB / 1.194 GB, free: 5.23 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1956, allocations: 4.359 kB / 1.194 GB, free: 5.227 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.1956, allocations: 8.375 kB / 1.194 GB, free: 5.219 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.1958, allocations: 62.2 kB / 1.194 GB, free: 5.152 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1958, allocations: 3.938 kB / 1.194 GB, free: 5.148 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1958, allocations: 8 kB / 1.194 GB, free: 5.141 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1958, allocations: 3.938 kB / 1.194 GB, free: 5.137 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.81e-05/0.1959, allocations: 43.95 kB / 1.194 GB, free: 5.094 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.1962, allocations: 243.9 kB / 1.194 GB, free: 4.812 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.782e-05/0.1963, allocations: 42.48 kB / 1.194 GB, free: 4.762 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.1963, allocations: 24.91 kB / 1.194 GB, free: 4.734 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.1964, allocations: 0 / 1.194 GB, free: 4.734 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.1964, allocations: 30.56 kB / 1.194 GB, free: 4.695 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.1964, allocations: 4 kB / 1.194 GB, free: 4.691 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002233/0.1966, allocations: 93.58 kB / 1.194 GB, free: 4.594 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.1966, allocations: 51.41 kB / 1.194 GB, free: 4.531 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.947e-05/0.1967, allocations: 105.8 kB / 1.194 GB, free: 4.418 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.1967, allocations: 25.7 kB / 1.194 GB, free: 4.387 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/0.1967, allocations: 95.97 kB / 1.195 GB, free: 4.289 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/0.1967, allocations: 4 kB / 1.195 GB, free: 4.285 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.1968, allocations: 13.72 kB / 1.195 GB, free: 4.266 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.882e-05/0.1968, allocations: 326.9 kB / 1.195 GB, free: 3.938 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.75e-05/0.1969, allocations: 15.98 kB / 1.195 GB, free: 3.922 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.788e-05/0.1969, allocations: 15.98 kB / 1.195 GB, free: 3.906 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.94e-05/0.197, allocations: 40.81 kB / 1.195 GB, free: 3.863 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.197, allocations: 0 / 1.195 GB, free: 3.863 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001104/0.1971, allocations: 81.67 kB / 1.195 GB, free: 3.777 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1971, allocations: 4 kB / 1.195 GB, free: 3.773 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1971, allocations: 0 / 1.195 GB, free: 3.773 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1971, allocations: 0 / 1.195 GB, free: 3.773 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.1972, allocations: 15.92 kB / 1.195 GB, free: 3.758 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1972, allocations: 3.938 kB / 1.195 GB, free: 3.754 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.425e-05/0.1972, allocations: 8.234 kB / 1.195 GB, free: 3.746 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.1972, allocations: 0 / 1.195 GB, free: 3.746 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: 1 (intRep.y[3]) * 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 0.0001082/0.1974, allocations: 121.8 kB / 1.195 GB, free: 3.617 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.1974, allocations: 4 kB / 1.195 GB, free: 3.613 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.741e-05/0.1974, allocations: 7.297 kB / 1.195 GB, free: 3.605 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1974, allocations: 4 kB / 1.195 GB, free: 3.602 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1974, allocations: 0 / 1.195 GB, free: 3.602 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1974, allocations: 0 / 1.195 GB, free: 3.602 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.1975, allocations: 136.7 kB / 1.195 GB, free: 3.426 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1975, allocations: 0 / 1.195 GB, free: 3.426 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.581e-05/0.1975, allocations: 11.98 kB / 1.195 GB, free: 3.414 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1975, allocations: 0 / 1.195 GB, free: 3.414 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1975, allocations: 0 / 1.195 GB, free: 3.414 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1975, allocations: 4 kB / 1.195 GB, free: 3.41 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1975, allocations: 0 / 1.195 GB, free: 3.41 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.1977, allocations: 171.4 kB / 1.196 GB, free: 3.227 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-06/0.1977, allocations: 3.953 kB / 1.196 GB, free: 3.223 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.1977, allocations: 3.984 kB / 1.196 GB, free: 3.219 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.748e-05/0.1977, allocations: 4 kB / 1.196 GB, free: 3.215 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.1978, allocations: 7.984 kB / 1.196 GB, free: 3.207 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.1978, allocations: 4 kB / 1.196 GB, free: 3.203 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.664e-05/0.1978, allocations: 83.31 kB / 1.196 GB, free: 3.121 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.1978, allocations: 3.938 kB / 1.196 GB, free: 3.117 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001358/0.198, allocations: 4 kB / 1.196 GB, free: 3.113 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: 1 (intRep.y[3]) * 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.0003218/0.1983, allocations: 0.6968 MB / 1.196 GB, free: 2.387 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001549/0.1984, allocations: 51.92 kB / 1.196 GB, free: 2.336 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1984, allocations: 0 / 1.196 GB, free: 2.336 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.387e-05/0.1985, allocations: 19.98 kB / 1.196 GB, free: 2.316 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.1987, allocations: 9.859 kB / 1.196 GB, free: 2.309 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000982/0.1997, allocations: 1.266 MB / 1.198 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.717e-05/0.1997, allocations: 63.34 kB / 1.198 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.441e-05/0.1997, allocations: 4 kB / 1.198 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.1998, allocations: 15.42 kB / 1.198 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of SimCode: time 6.01e-07/0.1998, allocations: 0 / 1.198 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01368/0.2135, allocations: 2.077 MB / 1.2 GB, free: 14.92 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.875/6.089, allocations: 7.875 kB / 1.2 GB, free: 14.91 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_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_IntegerScalarReplicator.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.11183990817517] Failed to read output from testmodel.py, exit status != 0: 6.162609021179378 6.171067834 5.974473722 Calling exit ...