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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 105.9 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002316/0.002316, allocations: 279.1 kB / 303 MB, free: 9.504 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.102/1.102, allocations: 180.9 MB / 0.5261 GB, free: 14.64 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002588/0.002588, allocations: 101.2 kB / 0.7248 GB, free: 40.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1308, allocations: 94.16 MB / 0.8167 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002087/0.1329, allocations: 1.235 MB / 0.8179 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009518/0.1338, allocations: 0.735 MB / 0.8187 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.1339, allocations: 0 / 0.8187 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.1339, allocations: 3.938 kB / 0.8187 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.134, allocations: 7.984 kB / 0.8187 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 6.57e-05/0.1341, allocations: 23.92 kB / 0.8187 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.001e-05/0.1342, allocations: 4 kB / 0.8187 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 2.888e-05/0.1342, allocations: 0 / 0.8187 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.869e-05/0.1342, allocations: 4 kB / 0.8187 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.1343, allocations: 11.97 kB / 0.8187 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.876e-06/0.1343, allocations: 0 / 0.8187 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.621e-05/0.1344, allocations: 7.938 kB / 0.8187 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.62e-05/0.1344, allocations: 4 kB / 0.8187 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.076e-05/0.1344, allocations: 7.938 kB / 0.8187 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 6.87e-05/0.1345, allocations: 15.97 kB / 0.8187 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1345, allocations: 4 kB / 0.8187 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1345, allocations: 0 / 0.8187 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.1345, allocations: 0 / 0.8187 GB, free: 3.496 MB / 0.5606 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.0003197/0.1348, allocations: 319.8 kB / 0.819 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.1349, allocations: 12.03 kB / 0.8191 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.153e-05/0.1349, allocations: 106 kB / 0.8192 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.231e-05/0.135, allocations: 80.22 kB / 0.8192 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.1352, allocations: 243.7 kB / 0.8195 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.917e-05/0.1352, allocations: 154.9 kB / 0.8196 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.845e-05/0.1353, allocations: 150.9 kB / 0.8198 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.545e-05/0.1353, allocations: 107.3 kB / 0.8199 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.1354, allocations: 79.22 kB / 0.8199 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-05/0.1354, allocations: 150.6 kB / 0.8201 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-05/0.1355, allocations: 158.6 kB / 0.8202 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.666e-05/0.1356, allocations: 154.6 kB / 0.8204 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.1359, allocations: 441.9 kB / 0.8208 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.332e-05/0.1359, allocations: 181 kB / 0.821 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.165e-05/0.136, allocations: 84.14 kB / 0.8211 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/0.136, allocations: 75.28 kB / 0.8211 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.1361, allocations: 105.8 kB / 0.8212 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.1361, allocations: 0 / 0.8212 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.615e-05/0.1361, allocations: 33.64 kB / 0.8213 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.1362, allocations: 130.6 kB / 0.8214 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.219e-05/0.1363, allocations: 101.8 kB / 0.8215 GB, free: 488 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.1363, allocations: 33.64 kB / 0.8215 GB, free: 448 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.1364, allocations: 80.14 kB / 0.8216 GB, free: 364 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.152e-06/0.1364, allocations: 0 / 0.8216 GB, free: 364 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/0.1364, allocations: 13.72 kB / 0.8216 GB, free: 344 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1365, allocations: 314.8 kB / 0.8219 GB, free: 20 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.066e-06/0.1365, allocations: 0 / 0.8219 GB, free: 20 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.433e-05/0.1365, allocations: 11.98 kB / 0.8219 GB, free: 8 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.941e-05/0.1366, allocations: 75.28 kB / 0.822 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.998e-05/0.1366, allocations: 79.31 kB / 0.8221 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.239e-05/0.1367, allocations: 29.7 kB / 0.8221 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.1367, allocations: 83.22 kB / 0.8222 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.728e-05/0.1367, allocations: 79.22 kB / 0.8222 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.399e-05/0.1368, allocations: 150.6 kB / 0.8224 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.81e-05/0.1368, allocations: 83.33 kB / 0.8225 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.934e-05/0.1369, allocations: 158.5 kB / 0.8226 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.137, allocations: 79.28 kB / 0.8227 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.1371, allocations: 83.22 kB / 0.8228 GB, free: 15.11 MB / 0.5762 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.0001226/0.1372, allocations: 260.4 kB / 0.823 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.1372, allocations: 108.9 kB / 0.8231 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.1373, allocations: 116 kB / 0.8232 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.301e-05/0.1374, allocations: 180.3 kB / 0.8234 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-05/0.1374, allocations: 180.5 kB / 0.8236 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.85e-05/0.1375, allocations: 180.2 kB / 0.8238 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.1378, allocations: 405.4 kB / 0.8241 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.69e-05/0.1378, allocations: 104.9 kB / 0.8242 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.1378, allocations: 101 kB / 0.8243 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.948e-05/0.1379, allocations: 196.2 kB / 0.8245 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.663e-05/0.138, allocations: 180.2 kB / 0.8247 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.896e-05/0.1381, allocations: 184.2 kB / 0.8249 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.281e-05/0.1381, allocations: 180.2 kB / 0.825 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.1383, allocations: 307.8 kB / 0.8253 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.37e-05/0.1384, allocations: 190 kB / 0.8255 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.076e-05/0.1385, allocations: 180.2 kB / 0.8257 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/0.1385, allocations: 104.9 kB / 0.8258 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/0.1386, allocations: 184.3 kB / 0.826 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.923e-05/0.1387, allocations: 109 kB / 0.8261 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.222e-05/0.1387, allocations: 79.28 kB / 0.8261 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1387, allocations: 0 / 0.8261 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002346/0.1389, allocations: 7.875 kB / 0.8262 GB, free: 11.43 MB / 0.5762 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.0005617/0.1395, allocations: 0.8353 MB / 0.827 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 4.152e-05/0.1396, allocations: 0 / 0.827 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1396, allocations: 0 / 0.827 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.1396, allocations: 3.938 kB / 0.827 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.1399, allocations: 459.7 kB / 0.8274 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.1411, allocations: 1.567 MB / 0.8289 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.1414, allocations: 0.669 MB / 0.8296 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.586e-05/0.1414, allocations: 7.984 kB / 0.8296 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.1414, allocations: 7.438 kB / 0.8296 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1414, allocations: 0 / 0.8296 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.1656, allocations: 1.218 MB / 0.8308 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.067/7.233, allocations: 7.812 kB / 0.8308 GB, free: 6.719 MB / 0.5762 GB " [Timeout remaining time 653] (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: 10.82607629103586] Failed to read output from testmodel.py, exit status != 0: 7.294629448093474 7.307704588 7.170680914 Calling exit ...