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.001147/0.001147, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001423/0.001423, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8875/0.8875, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7155/0.7155, allocations: 154.6 MB / 413.8 MB, free: 0.7891 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: Performance of FrontEnd - loaded program: time 3.306e-06/3.306e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.873e-05, allocations: 5.484 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001386/0.001415, allocations: 0.5974 MB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003273/0.001742, allocations: 115.7 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.001784, allocations: 4 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.324e-05/0.001877, allocations: 3.984 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.00226, allocations: 35.91 kB / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001103/0.00237, allocations: 31.84 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.617e-05/0.002466, allocations: 27.92 kB / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.002572, allocations: 15.97 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.21e-05/0.002634, allocations: 23.92 kB / 0.6189 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.002679, allocations: 11.98 kB / 0.6189 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.002691, allocations: 0 / 0.6189 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-06/0.002699, allocations: 4 kB / 0.6189 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.002734, allocations: 15.94 kB / 0.619 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.002757, allocations: 11.97 kB / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.2e-05/0.002839, allocations: 39.89 kB / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.002841, allocations: 0 / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.32e-07/0.002842, allocations: 0 / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.002846, allocations: 0 / 0.619 GB, free: 12.71 MB / 0.5886 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.0002872/0.003134, allocations: 278.1 kB / 0.6193 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.003177, allocations: 8.031 kB / 0.6193 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.00321, allocations: 38.73 kB / 0.6193 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.569e-05/0.003236, allocations: 4.891 kB / 0.6193 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.003369, allocations: 129.7 kB / 0.6194 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.00338, allocations: 8.375 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.003388, allocations: 4.375 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.003509, allocations: 76.81 kB / 0.6195 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.003517, allocations: 192 / 0.6195 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.003526, allocations: 384 / 0.6195 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.003533, allocations: 4.125 kB / 0.6195 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.265e-05/0.003576, allocations: 31.92 kB / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.003901, allocations: 0.5651 MB / 0.6201 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.351e-05/0.003964, allocations: 169.1 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.003988, allocations: 80.14 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.00401, allocations: 75.28 kB / 0.6204 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.004045, allocations: 117.8 kB / 0.6205 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 5.81e-07/0.004046, allocations: 0 / 0.6205 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.565e-05/0.004101, allocations: 29.66 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.004146, allocations: 130.7 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.004256, allocations: 163.8 kB / 0.6208 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.004266, allocations: 25.7 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.004306, allocations: 96.14 kB / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.004308, allocations: 0 / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.004327, allocations: 9.719 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.246e-05/0.00441, allocations: 322.8 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-06/0.004415, allocations: 8 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.633e-05/0.004431, allocations: 25.7 kB / 0.6213 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.22e-05/0.004453, allocations: 79.22 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.126e-05/0.004475, allocations: 79.28 kB / 0.6215 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.208e-05/0.004517, allocations: 37.69 kB / 0.6215 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.004552, allocations: 87.2 kB / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.004573, allocations: 75.28 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.405e-05/0.004617, allocations: 158.5 kB / 0.6218 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.564e-05/0.004632, allocations: 75.28 kB / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.646e-05/0.004669, allocations: 154.6 kB / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.732e-05/0.004726, allocations: 79.3 kB / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.004747, allocations: 87.33 kB / 0.6222 GB, free: 9.227 MB / 0.5886 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 9.029e-05/0.004837, allocations: 273.3 kB / 0.6224 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.004875, allocations: 116.9 kB / 0.6226 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/0.004911, allocations: 112.8 kB / 0.6227 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.03e-05/0.004951, allocations: 180.2 kB / 0.6228 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.384e-05/0.004995, allocations: 176.3 kB / 0.623 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.183e-05/0.005037, allocations: 180.3 kB / 0.6232 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.005188, allocations: 396.2 kB / 0.6236 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.469e-05/0.005213, allocations: 101 kB / 0.6237 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.75e-05/0.005241, allocations: 108.9 kB / 0.6238 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-05/0.005287, allocations: 184.3 kB / 0.6239 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/0.005331, allocations: 180.3 kB / 0.6241 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.68e-05/0.005378, allocations: 192.2 kB / 0.6243 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-05/0.005419, allocations: 176.3 kB / 0.6245 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.832e-05/0.005518, allocations: 311.7 kB / 0.6248 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.005557, allocations: 113 kB / 0.6249 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.005606, allocations: 180.2 kB / 0.625 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.658e-05/0.005652, allocations: 105 kB / 0.6251 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.005699, allocations: 184.2 kB / 0.6253 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.005723, allocations: 101 kB / 0.6254 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.258e-05/0.005785, allocations: 129.7 kB / 0.6255 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005785, allocations: 0 / 0.6255 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001608/0.005946, allocations: 4 kB / 0.6255 GB, free: 5.605 MB / 0.5886 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.0002606/0.006207, allocations: 0.8164 MB / 0.6263 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 3.674e-05/0.006244, allocations: 0 / 0.6263 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.006245, allocations: 3.938 kB / 0.6263 GB, free: 4.754 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.006246, allocations: 0 / 0.6263 GB, free: 4.754 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.006519, allocations: 463.3 kB / 0.6268 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008895/0.007408, allocations: 1.765 MB / 0.6285 GB, free: 2.457 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.952e-05/0.007458, allocations: 79.27 kB / 0.6286 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.44e-05/0.007472, allocations: 4 kB / 0.6286 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.007505, allocations: 20.48 kB / 0.6286 GB, free: 2.332 MB / 0.5886 GB Notification: Performance of SimCode: time 5.11e-07/0.007506, allocations: 0 / 0.6286 GB, free: 2.332 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01408/0.02158, allocations: 2.135 MB / 0.6307 GB, free: 340 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.526/6.548, allocations: 4 kB / 0.6307 GB, free: 336 kB / 0.5886 GB " [Timeout remaining time 653] (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: 9.223567583598197] Failed to read output from testmodel.py, exit status != 0: 6.627777532674372 6.636011675 6.631564694 Calling exit ...