Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.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.001653/0.001653, allocations: 76.45 kB / 19.02 MB, free: 1.102 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.00207/0.00207, allocations: 159.2 kB / 22.29 MB, free: 3.512 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 1.398/1.398, allocations: 177.2 MB / 202.7 MB, free: 4.816 MB / 186.7 MB " [Timeout remaining time 178] 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 1.209/1.209, allocations: 154.7 MB / 413.8 MB, free: 3.109 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.IntegerVectorFilter,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",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.002494/0.002494, allocations: 66.34 kB / 0.6181 GB, free: 1.121 MB / 0.5105 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.1973/0.1998, allocations: 102 MB / 0.7176 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001759/0.2015, allocations: 0.6026 MB / 0.7182 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003767/0.2019, allocations: 112.1 kB / 0.7183 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.731e-05/0.2019, allocations: 0 / 0.7183 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.83e-05/0.202, allocations: 7.922 kB / 0.7183 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.2024, allocations: 31.91 kB / 0.7184 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001261/0.2025, allocations: 39.91 kB / 0.7184 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.93e-05/0.2026, allocations: 27.91 kB / 0.7184 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.88e-05/0.2026, allocations: 12 kB / 0.7184 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.858e-05/0.2027, allocations: 27.84 kB / 0.7185 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.446e-05/0.2028, allocations: 23.91 kB / 0.7185 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.2028, allocations: 0 / 0.7185 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/0.2028, allocations: 4 kB / 0.7185 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.558e-05/0.2028, allocations: 8 kB / 0.7185 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.2029, allocations: 15.88 kB / 0.7185 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.405e-05/0.203, allocations: 43.75 kB / 0.7186 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.203, allocations: 8 kB / 0.7186 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.353e-06/0.203, allocations: 0 / 0.7186 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.203, allocations: 0 / 0.7186 GB, free: 10.3 MB / 0.6198 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.0003451/0.2033, allocations: 278.2 kB / 0.7188 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.2033, allocations: 8.031 kB / 0.7188 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.664e-05/0.2034, allocations: 34.75 kB / 0.7189 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.2034, allocations: 8.891 kB / 0.7189 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.2036, allocations: 126.5 kB / 0.719 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.2036, allocations: 4.375 kB / 0.719 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.2036, allocations: 4.375 kB / 0.719 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.2038, allocations: 80.75 kB / 0.7191 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2038, allocations: 11.94 kB / 0.7191 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.2038, allocations: 0 / 0.7191 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.2038, allocations: 0 / 0.7191 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.993e-05/0.2039, allocations: 23.92 kB / 0.7191 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005125/0.2044, allocations: 0.569 MB / 0.7197 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.2045, allocations: 173.1 kB / 0.7198 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.2045, allocations: 84.14 kB / 0.7199 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.2046, allocations: 75.28 kB / 0.72 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.012e-05/0.2046, allocations: 105.8 kB / 0.7201 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.2046, allocations: 0 / 0.7201 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.873e-05/0.2047, allocations: 41.59 kB / 0.7201 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/0.2048, allocations: 126.7 kB / 0.7203 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.205, allocations: 165.5 kB / 0.7204 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.205, allocations: 25.7 kB / 0.7204 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.205, allocations: 92.14 kB / 0.7205 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.205, allocations: 0 / 0.7205 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.2051, allocations: 13.72 kB / 0.7205 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.2052, allocations: 322.8 kB / 0.7208 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.689e-06/0.2052, allocations: 0 / 0.7208 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.429e-05/0.2053, allocations: 25.7 kB / 0.7209 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.153e-05/0.2053, allocations: 79.22 kB / 0.7209 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.276e-05/0.2053, allocations: 79.31 kB / 0.721 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.83e-05/0.2054, allocations: 29.7 kB / 0.7211 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.126e-05/0.2055, allocations: 89.41 kB / 0.7211 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.441e-05/0.2055, allocations: 79.28 kB / 0.7212 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.249e-05/0.2056, allocations: 154.5 kB / 0.7214 GB, free: 7.215 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.152e-05/0.2056, allocations: 83.22 kB / 0.7214 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.83e-05/0.2057, allocations: 154.6 kB / 0.7216 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.2058, allocations: 91.8 kB / 0.7217 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.2059, allocations: 79.28 kB / 0.7217 GB, free: 6.812 MB / 0.6198 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 0.0001641/0.206, allocations: 272.4 kB / 0.722 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.277e-05/0.2061, allocations: 108.9 kB / 0.7221 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.2064, allocations: 128.5 kB / 0.7222 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.7e-05/0.2065, allocations: 180.3 kB / 0.7224 GB, free: 6.105 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.831e-05/0.2066, allocations: 180.2 kB / 0.7226 GB, free: 5.922 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.549e-05/0.2067, allocations: 180.4 kB / 0.7228 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.2069, allocations: 388.3 kB / 0.7231 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.622e-05/0.207, allocations: 112.9 kB / 0.7232 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.965e-05/0.2071, allocations: 101 kB / 0.7233 GB, free: 5.086 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.842e-05/0.2071, allocations: 184.2 kB / 0.7235 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.781e-05/0.2072, allocations: 180.2 kB / 0.7237 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.2e-05/0.2073, allocations: 176.3 kB / 0.7238 GB, free: 4.535 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.762e-05/0.2074, allocations: 196.2 kB / 0.724 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.2076, allocations: 311.7 kB / 0.7243 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.317e-05/0.2077, allocations: 112.9 kB / 0.7244 GB, free: 3.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.687e-05/0.2078, allocations: 180.2 kB / 0.7246 GB, free: 3.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-05/0.2078, allocations: 104.9 kB / 0.7247 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.208, allocations: 184.2 kB / 0.7249 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-05/0.208, allocations: 104.9 kB / 0.725 GB, free: 3.301 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001075/0.2081, allocations: 123.2 kB / 0.7251 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.2081, allocations: 0 / 0.7251 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002823/0.2084, allocations: 4 kB / 0.7251 GB, free: 3.176 MB / 0.6198 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.0005039/0.2089, allocations: 0.8048 MB / 0.7259 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.015e-05/0.209, allocations: 7.938 kB / 0.7259 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.209, allocations: 0 / 0.7259 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.209, allocations: 0 / 0.7259 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.2094, allocations: 467.6 kB / 0.7263 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.2109, allocations: 1.746 MB / 0.728 GB, free: 56 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.524e-05/0.211, allocations: 71.38 kB / 0.7281 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.896e-05/0.211, allocations: 7.906 kB / 0.7281 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.2111, allocations: 16.5 kB / 0.7281 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of SimCode: time 3.41e-07/0.2111, allocations: 3.938 kB / 0.7281 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.2423, allocations: 2.124 MB / 0.7302 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.34, allocations: 20.66 kB / 0.7302 GB, free: 13.91 MB / 0.6355 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.315080179992947] Failed to read output from testmodel.py, exit status != 0: 11.452925743011292 11.480188856 11.272117591 Calling exit ...