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.00133/0.00133, allocations: 72.45 kB / 19.02 MB, free: 1.125 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.001377/0.001377, allocations: 168.2 kB / 22.29 MB, free: 3.531 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.812 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.201/1.201, allocations: 154.7 MB / 413.8 MB, free: 3.141 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.002168/0.002168, allocations: 61.53 kB / 0.6181 GB, free: 1.113 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.2282/0.2304, allocations: 102 MB / 0.7176 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002865/0.2332, allocations: 0.6291 MB / 0.7182 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006313/0.2339, allocations: 116.1 kB / 0.7184 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.119e-05/0.2339, allocations: 0 / 0.7184 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.234, allocations: 7.938 kB / 0.7184 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005523/0.2346, allocations: 35.91 kB / 0.7184 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.2348, allocations: 31.89 kB / 0.7184 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.235, allocations: 27.98 kB / 0.7185 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.2351, allocations: 15.98 kB / 0.7185 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.2352, allocations: 19.92 kB / 0.7185 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.673e-05/0.2353, allocations: 15.92 kB / 0.7185 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.2353, allocations: 4 kB / 0.7185 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.2353, allocations: 0 / 0.7185 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.649e-05/0.2354, allocations: 19.92 kB / 0.7185 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.016e-05/0.2355, allocations: 15.92 kB / 0.7185 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.2356, allocations: 39.77 kB / 0.7186 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2356, allocations: 0 / 0.7186 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2356, allocations: 0 / 0.7186 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.2356, allocations: 4 kB / 0.7186 GB, free: 10.27 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.0005095/0.2361, allocations: 278.2 kB / 0.7189 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.2362, allocations: 12.03 kB / 0.7189 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.693e-05/0.2362, allocations: 38.69 kB / 0.7189 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.2363, allocations: 8.891 kB / 0.7189 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.2366, allocations: 134.4 kB / 0.719 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.2366, allocations: 384 / 0.719 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.2366, allocations: 4.375 kB / 0.719 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.2368, allocations: 80.75 kB / 0.7191 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.2368, allocations: 3.938 kB / 0.7191 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.2369, allocations: 0 / 0.7191 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.2369, allocations: 8 kB / 0.7191 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.926e-05/0.237, allocations: 23.92 kB / 0.7192 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008583/0.2378, allocations: 0.5652 MB / 0.7197 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.238, allocations: 173.1 kB / 0.7199 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.383e-05/0.238, allocations: 80.14 kB / 0.7199 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.455e-05/0.2381, allocations: 79.28 kB / 0.72 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.388e-05/0.2382, allocations: 105.8 kB / 0.7201 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.2382, allocations: 0 / 0.7201 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001234/0.2383, allocations: 37.64 kB / 0.7202 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.2385, allocations: 130.6 kB / 0.7203 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.2388, allocations: 167.5 kB / 0.7204 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.2388, allocations: 25.7 kB / 0.7205 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.2389, allocations: 96.12 kB / 0.7206 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.2389, allocations: 0 / 0.7206 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.239, allocations: 13.72 kB / 0.7206 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002453/0.2392, allocations: 314.8 kB / 0.7209 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-06/0.2392, allocations: 0 / 0.7209 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.884e-05/0.2393, allocations: 29.7 kB / 0.7209 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.7e-05/0.2393, allocations: 75.28 kB / 0.721 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.901e-05/0.2394, allocations: 75.28 kB / 0.721 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001085/0.2395, allocations: 33.69 kB / 0.7211 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.983e-05/0.2396, allocations: 87.31 kB / 0.7212 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.51e-05/0.2397, allocations: 83.22 kB / 0.7212 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001268/0.2398, allocations: 150.6 kB / 0.7214 GB, free: 7.184 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/0.2399, allocations: 83.16 kB / 0.7215 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001188/0.24, allocations: 158.6 kB / 0.7216 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.2402, allocations: 87.86 kB / 0.7217 GB, free: 6.859 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/0.2402, allocations: 83.22 kB / 0.7218 GB, free: 6.777 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.000279/0.2405, allocations: 268.4 kB / 0.722 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.2406, allocations: 108.9 kB / 0.7221 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.2408, allocations: 124.5 kB / 0.7223 GB, free: 6.262 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001428/0.2409, allocations: 184.3 kB / 0.7224 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001434/0.241, allocations: 176.3 kB / 0.7226 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001603/0.2412, allocations: 184.4 kB / 0.7228 GB, free: 5.707 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007324/0.2419, allocations: 392.3 kB / 0.7231 GB, free: 5.273 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-05/0.242, allocations: 108.9 kB / 0.7233 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.449e-05/0.2421, allocations: 104.9 kB / 0.7234 GB, free: 5.051 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000154/0.2423, allocations: 180.3 kB / 0.7235 GB, free: 4.867 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/0.2424, allocations: 184.2 kB / 0.7237 GB, free: 4.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001289/0.2425, allocations: 176.3 kB / 0.7239 GB, free: 4.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001362/0.2427, allocations: 188.2 kB / 0.724 GB, free: 4.309 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.2429, allocations: 311.7 kB / 0.7243 GB, free: 3.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.2431, allocations: 116.9 kB / 0.7245 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.2432, allocations: 180.3 kB / 0.7246 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.2434, allocations: 104.9 kB / 0.7247 GB, free: 3.566 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.2436, allocations: 184.2 kB / 0.7249 GB, free: 3.379 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-05/0.2437, allocations: 112.9 kB / 0.725 GB, free: 3.262 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001927/0.2438, allocations: 121.1 kB / 0.7251 GB, free: 3.145 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2438, allocations: 0 / 0.7251 GB, free: 3.145 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004974/0.2443, allocations: 4 kB / 0.7251 GB, free: 3.141 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.0007869/0.2451, allocations: 0.8087 MB / 0.7259 GB, free: 2.305 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.459e-05/0.2452, allocations: 0 / 0.7259 GB, free: 2.305 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2452, allocations: 0 / 0.7259 GB, free: 2.305 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-05/0.2452, allocations: 7.938 kB / 0.7259 GB, free: 2.297 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007344/0.2459, allocations: 459.6 kB / 0.7264 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.2487, allocations: 1.832 MB / 0.7282 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.2488, allocations: 75.33 kB / 0.7282 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.585e-05/0.2489, allocations: 7.844 kB / 0.7282 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.2489, allocations: 20.5 kB / 0.7283 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/0.2489, allocations: 3.938 kB / 0.7283 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.039/0.2879, allocations: 2.156 MB / 0.7304 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.63, allocations: 12.22 kB / 0.7304 GB, free: 13.76 MB / 0.6355 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorFilter_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.57741529699706] Failed to read output from testmodel.py, exit status != 0: 11.738394013998914 11.755939899 11.516199749 Calling exit ...