Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001273/0.001273, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001449/0.001449, allocations: 210.2 kB / 20.13 MB, free: 2.949 MB / 14.72 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.474/1.474, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002361/0.002361, allocations: 279.8 kB / 309.8 MB, free: 3.473 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.075/1.075, allocations: 180.6 MB / 0.5338 GB, free: 12.4 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003306/0.003306, allocations: 104.3 kB / 0.7347 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5386/0.5419, allocations: 95.34 MB / 0.8278 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002297/0.5442, allocations: 1.268 MB / 0.829 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008649/0.545, allocations: 0.7295 MB / 0.8297 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.433e-05/0.5451, allocations: 0 / 0.8297 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.5451, allocations: 0 / 0.8297 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.5453, allocations: 22.03 kB / 0.8298 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 7.359e-05/0.5454, allocations: 4.562 kB / 0.8298 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.519e-05/0.5455, allocations: 7.203 kB / 0.8298 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.5455, allocations: 8.453 kB / 0.8298 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.998e-05/0.5455, allocations: 6.672 kB / 0.8298 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.5457, allocations: 5.328 kB / 0.8298 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.5457, allocations: 3.938 kB / 0.8298 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.188e-05/0.5457, allocations: 14.67 kB / 0.8298 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.695e-05/0.5458, allocations: 10.67 kB / 0.8298 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.5458, allocations: 0 / 0.8298 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.542e-05/0.5459, allocations: 12.08 kB / 0.8298 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.5459, allocations: 0 / 0.8298 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5459, allocations: 0 / 0.8298 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.5459, allocations: 0 / 0.8298 GB, free: 1.586 MB / 0.5762 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.000299/0.5462, allocations: 329.1 kB / 0.8301 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.5463, allocations: 9.469 kB / 0.8301 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.998e-05/0.5463, allocations: 76.08 kB / 0.8302 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.393e-05/0.5463, allocations: 106 kB / 0.8303 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.496e-05/0.5464, allocations: 79.16 kB / 0.8304 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.5465, allocations: 239.2 kB / 0.8306 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.5465, allocations: 154.9 kB / 0.8308 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.5465, allocations: 158.3 kB / 0.8309 GB, free: 400 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.41e-05/0.5466, allocations: 109.3 kB / 0.831 GB, free: 284 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.5466, allocations: 75.28 kB / 0.8311 GB, free: 208 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.5466, allocations: 151.3 kB / 0.8312 GB, free: 56 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.622e-05/0.5467, allocations: 150.6 kB / 0.8314 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.847e-05/0.5468, allocations: 155.8 kB / 0.8315 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.5471, allocations: 447.8 kB / 0.832 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.5472, allocations: 169.1 kB / 0.8321 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/0.5473, allocations: 80.7 kB / 0.8322 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.5474, allocations: 81.97 kB / 0.8323 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.36e-05/0.5474, allocations: 110.3 kB / 0.8324 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.5474, allocations: 0 / 0.8324 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 9.814e-05/0.5475, allocations: 33.39 kB / 0.8324 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.482e-05/0.5476, allocations: 135.3 kB / 0.8325 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.5477, allocations: 101.4 kB / 0.8326 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.5477, allocations: 33.64 kB / 0.8327 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.5478, allocations: 80.14 kB / 0.8327 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.101e-06/0.5478, allocations: 3.984 kB / 0.8328 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.5478, allocations: 17.7 kB / 0.8328 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5479, allocations: 311.6 kB / 0.8331 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.149e-06/0.5479, allocations: 0 / 0.8331 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.212e-05/0.548, allocations: 2.203 kB / 0.8331 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.91e-05/0.548, allocations: 76.72 kB / 0.8331 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-05/0.548, allocations: 79.31 kB / 0.8332 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.53e-05/0.5481, allocations: 31.03 kB / 0.8332 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/0.5481, allocations: 84.91 kB / 0.8333 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.782e-05/0.5482, allocations: 79.73 kB / 0.8334 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-05/0.5482, allocations: 155.1 kB / 0.8336 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.649e-05/0.5483, allocations: 86.61 kB / 0.8336 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.103e-05/0.5483, allocations: 155.5 kB / 0.8338 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.5485, allocations: 82.61 kB / 0.8339 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.5485, allocations: 79.22 kB / 0.8339 GB, free: 13.2 MB / 0.5919 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.0001311/0.5486, allocations: 262.2 kB / 0.8342 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.168e-05/0.5487, allocations: 108.4 kB / 0.8343 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.815e-05/0.5488, allocations: 113.5 kB / 0.8344 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.567e-05/0.5488, allocations: 183.5 kB / 0.8346 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.11e-05/0.5489, allocations: 177 kB / 0.8347 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.496e-05/0.549, allocations: 181.1 kB / 0.8349 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.5492, allocations: 406.6 kB / 0.8353 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.524e-05/0.5493, allocations: 112.7 kB / 0.8354 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.941e-05/0.5493, allocations: 101.6 kB / 0.8355 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-05/0.5494, allocations: 188.8 kB / 0.8357 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.27e-05/0.5495, allocations: 177.5 kB / 0.8359 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.681e-05/0.5496, allocations: 179.7 kB / 0.836 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.69e-05/0.5496, allocations: 180.8 kB / 0.8362 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.5498, allocations: 315.6 kB / 0.8365 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.049e-05/0.5499, allocations: 183.7 kB / 0.8367 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.913e-05/0.55, allocations: 183.9 kB / 0.8369 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.5501, allocations: 105.9 kB / 0.837 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.139e-05/0.5502, allocations: 176.3 kB / 0.8371 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/0.5502, allocations: 108.1 kB / 0.8372 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.362e-05/0.5503, allocations: 87.59 kB / 0.8373 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5503, allocations: 0 / 0.8373 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002594/0.5505, allocations: 6.688 kB / 0.8373 GB, free: 9.57 MB / 0.5919 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.0005998/0.5511, allocations: 0.8233 MB / 0.8381 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 4.827e-05/0.5512, allocations: 0 / 0.8381 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5512, allocations: 7.938 kB / 0.8381 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.5512, allocations: 0 / 0.8381 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.5515, allocations: 453.8 kB / 0.8386 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.5528, allocations: 1.562 MB / 0.8401 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.553, allocations: 0.674 MB / 0.8407 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.387e-05/0.5531, allocations: 1.281 kB / 0.8407 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.5531, allocations: 11.77 kB / 0.8408 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.5531, allocations: 0 / 0.8408 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.5713, allocations: 1.263 MB / 0.842 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.274/8.845, allocations: 17.19 kB / 0.842 GB, free: 5.664 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.84502942697145] Failed to read output from testmodel.py, exit status != 0: 8.971223505039234 8.992300498 8.44224307 Calling exit ...