Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.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.0007272/0.0007272, 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.0007554/0.0007554, 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.8695/0.8695, allocations: 230.6 MB / 256 MB, free: 9.617 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.03665/0.03665, allocations: 12.18 MB / 324.6 MB, free: 6.117 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.0004056/0.0004056, allocations: 27.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.55/1.55, allocations: 353.8 MB / 0.7787 GB, free: 4.555 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.RealVectorFilter,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",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.001363/0.001363, allocations: 122 kB / 1.06 GB, free: 24.96 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2075, allocations: 134.9 MB / 1.192 GB, free: 7.512 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001398/0.2089, allocations: 0.6216 MB / 1.192 GB, free: 6.895 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0003248/0.2092, allocations: 124.1 kB / 1.192 GB, free: 6.773 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.2092, allocations: 4 kB / 1.192 GB, free: 6.77 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 9.976e-05/0.2093, allocations: 7.984 kB / 1.192 GB, free: 6.762 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.2097, allocations: 31.84 kB / 1.192 GB, free: 6.73 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 5.019e-05/0.2098, allocations: 4 kB / 1.192 GB, free: 6.727 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.892e-05/0.2099, allocations: 27.97 kB / 1.192 GB, free: 6.699 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.48e-05/0.2099, allocations: 19.92 kB / 1.192 GB, free: 6.68 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.2101, allocations: 67.81 kB / 1.193 GB, free: 6.613 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.186e-05/0.2101, allocations: 15.92 kB / 1.193 GB, free: 6.598 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.2101, allocations: 4 kB / 1.193 GB, free: 6.594 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.721e-06/0.2101, allocations: 0 / 1.193 GB, free: 6.594 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.52e-05/0.2102, allocations: 19.94 kB / 1.193 GB, free: 6.574 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.2102, allocations: 15.86 kB / 1.193 GB, free: 6.559 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.252e-05/0.2103, allocations: 43.81 kB / 1.193 GB, free: 6.516 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2103, allocations: 0 / 1.193 GB, free: 6.516 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2103, allocations: 0 / 1.193 GB, free: 6.516 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.2103, allocations: 0 / 1.193 GB, free: 6.516 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002609/0.2105, allocations: 278.1 kB / 1.193 GB, free: 6.211 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2106, allocations: 12.03 kB / 1.193 GB, free: 6.199 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.196e-05/0.2106, allocations: 34.73 kB / 1.193 GB, free: 6.156 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.195e-05/0.2106, allocations: 4.938 kB / 1.193 GB, free: 6.152 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.2107, allocations: 130.4 kB / 1.193 GB, free: 6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.2108, allocations: 8.375 kB / 1.193 GB, free: 5.992 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.2108, allocations: 8.375 kB / 1.193 GB, free: 5.984 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.2111, allocations: 72.81 kB / 1.193 GB, free: 5.898 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.2111, allocations: 3.938 kB / 1.193 GB, free: 5.895 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.2111, allocations: 0 / 1.193 GB, free: 5.895 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.2111, allocations: 4 kB / 1.193 GB, free: 5.891 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.175e-05/0.2112, allocations: 27.92 kB / 1.193 GB, free: 5.863 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.2115, allocations: 0.569 MB / 1.194 GB, free: 5.242 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.835e-05/0.2115, allocations: 165.1 kB / 1.194 GB, free: 5.07 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.2116, allocations: 80.14 kB / 1.194 GB, free: 4.988 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.2116, allocations: 75.28 kB / 1.194 GB, free: 4.914 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.2116, allocations: 121.8 kB / 1.194 GB, free: 4.785 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.2116, allocations: 0 / 1.194 GB, free: 4.785 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 5.581e-05/0.2117, allocations: 37.64 kB / 1.194 GB, free: 4.742 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.2117, allocations: 126.7 kB / 1.194 GB, free: 4.605 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.2118, allocations: 166.9 kB / 1.194 GB, free: 4.434 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.2118, allocations: 25.7 kB / 1.195 GB, free: 4.402 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.2119, allocations: 92.14 kB / 1.195 GB, free: 4.309 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.2119, allocations: 0 / 1.195 GB, free: 4.309 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/0.2119, allocations: 13.72 kB / 1.195 GB, free: 4.289 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.212, allocations: 318.8 kB / 1.195 GB, free: 3.969 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-06/0.212, allocations: 4 kB / 1.195 GB, free: 3.965 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.27e-05/0.212, allocations: 29.7 kB / 1.195 GB, free: 3.93 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.876e-05/0.212, allocations: 79.22 kB / 1.195 GB, free: 3.852 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/0.212, allocations: 79.22 kB / 1.195 GB, free: 3.773 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.658e-05/0.2121, allocations: 35.12 kB / 1.195 GB, free: 3.734 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.2121, allocations: 83.27 kB / 1.195 GB, free: 3.652 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.2121, allocations: 79.28 kB / 1.195 GB, free: 3.574 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.147e-05/0.2122, allocations: 158.4 kB / 1.195 GB, free: 3.418 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.652e-05/0.2122, allocations: 79.28 kB / 1.196 GB, free: 3.34 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.141e-05/0.2122, allocations: 158.5 kB / 1.196 GB, free: 3.184 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.323e-05/0.2123, allocations: 81.05 kB / 1.196 GB, free: 3.105 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.2123, allocations: 83.34 kB / 1.196 GB, free: 3.023 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 (0): * Single equations (assignments): 0 * 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 8.376e-05/0.2124, allocations: 272.4 kB / 1.196 GB, free: 2.746 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.2124, allocations: 116.9 kB / 1.196 GB, free: 2.625 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.2124, allocations: 112.8 kB / 1.196 GB, free: 2.508 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.74e-05/0.2125, allocations: 184.2 kB / 1.196 GB, free: 2.32 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.245e-05/0.2125, allocations: 180.3 kB / 1.197 GB, free: 2.137 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.803e-05/0.2126, allocations: 180.2 kB / 1.197 GB, free: 1.953 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.2127, allocations: 388.5 kB / 1.197 GB, free: 1.523 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.167e-05/0.2127, allocations: 109 kB / 1.197 GB, free: 1.41 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.2127, allocations: 109 kB / 1.197 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-05/0.2128, allocations: 180.3 kB / 1.198 GB, free: 1.113 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.2128, allocations: 180.3 kB / 1.198 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.72e-05/0.2129, allocations: 184.2 kB / 1.198 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-05/0.2129, allocations: 176.3 kB / 1.198 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.248e-05/0.213, allocations: 315.7 kB / 1.198 GB, free: 236 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.213, allocations: 109 kB / 1.198 GB, free: 120 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.2131, allocations: 188.2 kB / 1.199 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.481e-05/0.2131, allocations: 105 kB / 1.199 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.2132, allocations: 184.1 kB / 1.199 GB, free: 15.63 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.2132, allocations: 105 kB / 1.199 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 6.058e-05/0.2133, allocations: 129.1 kB / 1.199 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2133, allocations: 0 / 1.199 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001549/0.2134, allocations: 4 kB / 1.199 GB, free: 15.39 MB / 0.8387 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 (0): * Single equations (assignments): 0 * 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.0002623/0.2137, allocations: 0.8087 MB / 1.2 GB, free: 14.55 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 4.04e-05/0.2137, allocations: 0 / 1.2 GB, free: 14.55 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2137, allocations: 0 / 1.2 GB, free: 14.55 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 7.51e-07/0.2137, allocations: 0 / 1.2 GB, free: 14.55 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.2142, allocations: 467.6 kB / 1.2 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009792/0.2152, allocations: 1.832 MB / 1.202 GB, free: 12.19 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.464e-05/0.2152, allocations: 87.56 kB / 1.202 GB, free: 12.08 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 1.524e-05/0.2152, allocations: 0 / 1.202 GB, free: 12.08 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.2153, allocations: 19.44 kB / 1.202 GB, free: 12.06 MB / 0.8387 GB Notification: Performance of SimCode: time 4.2e-07/0.2153, allocations: 0 / 1.202 GB, free: 12.06 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01353/0.2288, allocations: 2.057 MB / 1.204 GB, free: 10.13 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.877/6.106, allocations: 5.891 kB / 1.204 GB, free: 10.12 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_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_RealVectorFilter.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.127118706703186] Failed to read output from testmodel.py, exit status != 0: 6.17905586771667 6.186620252 5.974752276 Calling exit ...