Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.0008765/0.0008765, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001502/0.001502, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9512/0.9512, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7336/0.7336, allocations: 154.6 MB / 413.8 MB, free: 0.7852 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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.358e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002353/0.002377, allocations: 1.274 MB / 0.6194 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.003454, allocations: 0.8064 MB / 0.6202 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.966e-05/0.003483, allocations: 0 / 0.6202 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.38e-05/0.003517, allocations: 0 / 0.6202 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.003786, allocations: 15.86 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 8.634e-05/0.003872, allocations: 19.92 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.37e-05/0.003936, allocations: 4 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.003988, allocations: 8 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.491e-05/0.004023, allocations: 0 / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.004142, allocations: 7.938 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.004158, allocations: 0 / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.742e-05/0.004206, allocations: 15.91 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.419e-05/0.00426, allocations: 4 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.004282, allocations: 0 / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.451e-05/0.004377, allocations: 11.98 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.004379, allocations: 4 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.373e-06/0.004381, allocations: 4 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.004385, allocations: 0 / 0.6202 GB, free: 11.46 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003145/0.004699, allocations: 244.5 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.00474, allocations: 8.031 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.825e-05/0.004789, allocations: 110 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.351e-05/0.004852, allocations: 80.22 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.004985, allocations: 185 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.907e-05/0.005034, allocations: 154.9 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.005083, allocations: 158.9 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.36e-05/0.005146, allocations: 101.5 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.005172, allocations: 75.47 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.005215, allocations: 158.9 kB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.322e-05/0.005258, allocations: 162.7 kB / 0.6216 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.393e-05/0.005302, allocations: 150.6 kB / 0.6218 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.005564, allocations: 413 kB / 0.6222 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.553e-05/0.00564, allocations: 169.1 kB / 0.6223 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.00567, allocations: 88.08 kB / 0.6224 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.005696, allocations: 75.28 kB / 0.6225 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.005736, allocations: 109.8 kB / 0.6226 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.005737, allocations: 0 / 0.6226 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 7.612e-05/0.005813, allocations: 33.64 kB / 0.6226 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.005867, allocations: 134.6 kB / 0.6227 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.781e-05/0.005964, allocations: 97.86 kB / 0.6228 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.005979, allocations: 29.69 kB / 0.6229 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.006021, allocations: 88.12 kB / 0.6229 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.006023, allocations: 0 / 0.6229 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.006048, allocations: 9.719 kB / 0.623 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.006148, allocations: 318.8 kB / 0.6233 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.18e-06/0.006153, allocations: 0 / 0.6233 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.641e-05/0.00618, allocations: 29.67 kB / 0.6233 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.57e-05/0.006205, allocations: 75.28 kB / 0.6234 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.055e-05/0.006226, allocations: 75.28 kB / 0.6234 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.729e-05/0.006283, allocations: 37.77 kB / 0.6235 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.006318, allocations: 83.27 kB / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/0.006345, allocations: 79.28 kB / 0.6236 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.016e-05/0.006395, allocations: 154.5 kB / 0.6238 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.135e-05/0.006417, allocations: 79.22 kB / 0.6238 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.381e-05/0.00646, allocations: 158.5 kB / 0.624 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.006587, allocations: 79.28 kB / 0.6241 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.00661, allocations: 75.33 kB / 0.6241 GB, free: 7.254 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 0.0001828/0.006793, allocations: 273.3 kB / 0.6244 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.006844, allocations: 105 kB / 0.6245 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.006887, allocations: 108.1 kB / 0.6246 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.018e-05/0.006937, allocations: 180.2 kB / 0.6248 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.96e-05/0.006997, allocations: 192.1 kB / 0.625 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.921e-05/0.007046, allocations: 184.4 kB / 0.6251 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.007241, allocations: 368.3 kB / 0.6255 GB, free: 5.777 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.857e-05/0.007269, allocations: 101 kB / 0.6256 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.007303, allocations: 116.9 kB / 0.6257 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-05/0.007352, allocations: 180.3 kB / 0.6259 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/0.007405, allocations: 180.2 kB / 0.626 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.725e-05/0.007452, allocations: 176.3 kB / 0.6262 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.319e-05/0.007505, allocations: 192.2 kB / 0.6264 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.007628, allocations: 307.8 kB / 0.6267 GB, free: 4.484 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/0.007675, allocations: 108.9 kB / 0.6268 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.491e-05/0.00774, allocations: 180.3 kB / 0.627 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/0.007823, allocations: 105 kB / 0.6271 GB, free: 4.078 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/0.007886, allocations: 192.1 kB / 0.6272 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.007923, allocations: 101 kB / 0.6273 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.038e-05/0.007974, allocations: 79.28 kB / 0.6274 GB, free: 3.699 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.007974, allocations: 0 / 0.6274 GB, free: 3.699 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000303/0.008277, allocations: 4 kB / 0.6274 GB, free: 3.695 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.0005608/0.008837, allocations: 0.8242 MB / 0.6282 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.769e-05/0.008895, allocations: 4 kB / 0.6282 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.008897, allocations: 0 / 0.6282 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.008899, allocations: 0 / 0.6282 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.009257, allocations: 459.6 kB / 0.6287 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.01057, allocations: 1.568 MB / 0.6302 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.631e-05/0.01063, allocations: 59.34 kB / 0.6303 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.355e-05/0.01065, allocations: 4.094 kB / 0.6303 GB, free: 0.6562 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.01069, allocations: 8.5 kB / 0.6303 GB, free: 0.6445 MB / 0.5886 GB Notification: Performance of SimCode: time 1.222e-06/0.01069, allocations: 0 / 0.6303 GB, free: 0.6445 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.03099, allocations: 1.815 MB / 0.632 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.96/6.991, allocations: 12.05 kB / 0.632 GB, free: 15.02 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_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_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.895625369623303] Failed to read output from testmodel.py, exit status != 0: 7.072692240588367 7.079704014 7.073461348 Calling exit ...