Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0008667/0.0008667, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008841/0.0008841, allocations: 162 kB / 22.43 MB, free: 2.145 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.8921/0.8921, allocations: 177.2 MB / 202.8 MB, free: 5.777 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.7349/0.7349, allocations: 154.7 MB / 413.9 MB, free: 0.75 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.RealVectorFilter,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0009672/0.0009672, allocations: 69.3 kB / 0.6183 GB, free: 13.66 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4169, allocations: 101.9 MB / 0.7179 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001348/0.4182, allocations: 0.627 MB / 0.7185 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002809/0.4185, allocations: 114.9 kB / 0.7186 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.188e-05/0.4186, allocations: 5.094 kB / 0.7186 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.278e-05/0.4186, allocations: 2.875 kB / 0.7186 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.419, allocations: 33.98 kB / 0.7186 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001007/0.4191, allocations: 37.77 kB / 0.7187 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.07e-05/0.4192, allocations: 25.22 kB / 0.7187 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.441e-05/0.4193, allocations: 17.08 kB / 0.7187 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.587e-05/0.4193, allocations: 24.97 kB / 0.7187 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.838e-05/0.4194, allocations: 17.5 kB / 0.7187 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.4194, allocations: 2.438 kB / 0.7187 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.294e-06/0.4194, allocations: 1.125 kB / 0.7188 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.818e-05/0.4194, allocations: 21.02 kB / 0.7188 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.4195, allocations: 16.36 kB / 0.7188 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.4196, allocations: 43 kB / 0.7188 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.4196, allocations: 4 kB / 0.7188 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4196, allocations: 0 / 0.7188 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.4196, allocations: 0.8906 kB / 0.7188 GB, free: 22.76 MB / 0.6355 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.0002387/0.4198, allocations: 280.8 kB / 0.7191 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.4198, allocations: 9.625 kB / 0.7191 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.462e-05/0.4199, allocations: 37.38 kB / 0.7191 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.258e-05/0.4199, allocations: 3.375 kB / 0.7191 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.42, allocations: 129.9 kB / 0.7193 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.42, allocations: 2.234 kB / 0.7193 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.42, allocations: 3.719 kB / 0.7193 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.4201, allocations: 83.66 kB / 0.7194 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.4202, allocations: 3.938 kB / 0.7194 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.4202, allocations: 1.094 kB / 0.7194 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.4202, allocations: 1.094 kB / 0.7194 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.709e-05/0.4202, allocations: 34.31 kB / 0.7194 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.4205, allocations: 0.5661 MB / 0.7199 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.42e-05/0.4205, allocations: 167.1 kB / 0.7201 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.427e-05/0.4205, allocations: 81.48 kB / 0.7202 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.4205, allocations: 75.28 kB / 0.7203 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.4206, allocations: 107.7 kB / 0.7204 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.4206, allocations: 0.9062 kB / 0.7204 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 4.979e-05/0.4206, allocations: 37.67 kB / 0.7204 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.4206, allocations: 127.2 kB / 0.7205 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.72e-05/0.4207, allocations: 164.2 kB / 0.7207 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.581e-06/0.4207, allocations: 34.31 kB / 0.7207 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.341e-05/0.4208, allocations: 92.7 kB / 0.7208 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-06/0.4208, allocations: 4.938 kB / 0.7208 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.611e-05/0.4208, allocations: 12.7 kB / 0.7208 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.805e-05/0.4208, allocations: 323 kB / 0.7211 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-06/0.4208, allocations: 0 / 0.7211 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-06/0.4208, allocations: 26.8 kB / 0.7211 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.648e-06/0.4208, allocations: 77.17 kB / 0.7212 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.4208, allocations: 75.28 kB / 0.7213 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.559e-05/0.4209, allocations: 34.92 kB / 0.7213 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.4209, allocations: 81.44 kB / 0.7214 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4209, allocations: 80.5 kB / 0.7215 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4209, allocations: 152.7 kB / 0.7216 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.823e-06/0.4209, allocations: 81.17 kB / 0.7217 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.4209, allocations: 153.7 kB / 0.7218 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.421, allocations: 94.02 kB / 0.7219 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.421, allocations: 84.27 kB / 0.722 GB, free: 19.51 MB / 0.6355 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 4.562e-05/0.421, allocations: 268.4 kB / 0.7223 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.421, allocations: 116.7 kB / 0.7224 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.922e-05/0.4211, allocations: 119.1 kB / 0.7225 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.4211, allocations: 178.3 kB / 0.7227 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.4211, allocations: 186.3 kB / 0.7228 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.4211, allocations: 186.7 kB / 0.723 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.15e-05/0.4212, allocations: 382 kB / 0.7234 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.4212, allocations: 107.1 kB / 0.7235 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-06/0.4212, allocations: 103 kB / 0.7236 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/0.4212, allocations: 183.1 kB / 0.7238 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.4212, allocations: 185.8 kB / 0.7239 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.298e-05/0.4212, allocations: 181.8 kB / 0.7241 GB, free: 17.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/0.4212, allocations: 179.1 kB / 0.7243 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.384e-05/0.4213, allocations: 311.7 kB / 0.7246 GB, free: 16.78 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.4213, allocations: 115.9 kB / 0.7247 GB, free: 16.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.4213, allocations: 182.6 kB / 0.7249 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.067e-05/0.4214, allocations: 106.2 kB / 0.725 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.4214, allocations: 183.2 kB / 0.7251 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.4214, allocations: 110.9 kB / 0.7253 GB, free: 16.08 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.5e-05/0.4214, allocations: 124.1 kB / 0.7254 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4214, allocations: 0 / 0.7254 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001569/0.4216, allocations: 8.156 kB / 0.7254 GB, free: 15.99 MB / 0.6355 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.000144/0.4218, allocations: 0.8006 MB / 0.7262 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 3.258e-05/0.4218, allocations: 12.91 kB / 0.7262 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4218, allocations: 0 / 0.7262 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.4218, allocations: 1.922 kB / 0.7262 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.422, allocations: 467.2 kB / 0.7266 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008374/0.4228, allocations: 1.828 MB / 0.7284 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.962e-05/0.4229, allocations: 78.95 kB / 0.7285 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.629e-05/0.4229, allocations: 4.656 kB / 0.7285 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.4229, allocations: 15.73 kB / 0.7285 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of SimCode: time 7.61e-07/0.4229, allocations: 1.5 kB / 0.7285 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/0.4356, allocations: 2.154 MB / 0.7306 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.491/6.926, allocations: 10.62 kB / 0.7306 GB, free: 12.07 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.646862379042432] Failed to read output from testmodel.py, exit status != 0: 7.003685930976644 7.014553613 6.592969908 Calling exit ...