Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.001425/0.001425, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.00144/0.00144, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.288/1.288, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.002378/0.002378, allocations: 290.3 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.111/1.111, allocations: 180.9 MB / 0.5261 GB, free: 14.67 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.GetHeaderElement,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002609/0.002609, allocations: 100.7 kB / 0.7248 GB, free: 39.99 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.134, allocations: 94.16 MB / 0.8167 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002162/0.1361, allocations: 1.263 MB / 0.818 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.1381, allocations: 1.454 MB / 0.8194 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.1381, allocations: 11.88 kB / 0.8194 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.1382, allocations: 3.938 kB / 0.8194 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.1383, allocations: 19.91 kB / 0.8194 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005421/0.1389, allocations: 214.8 kB / 0.8196 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.547e-05/0.1389, allocations: 23.92 kB / 0.8196 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.136e-05/0.139, allocations: 0 / 0.8196 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.971e-05/0.139, allocations: 19.97 kB / 0.8197 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.339e-05/0.1391, allocations: 19.88 kB / 0.8197 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.907e-06/0.1391, allocations: 0 / 0.8197 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.1394, allocations: 167.8 kB / 0.8198 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.757e-06/0.1394, allocations: 0 / 0.8198 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.757e-05/0.1394, allocations: 7.938 kB / 0.8199 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.1397, allocations: 159.8 kB / 0.82 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1397, allocations: 0 / 0.82 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1397, allocations: 0 / 0.82 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.1397, allocations: 0 / 0.82 GB, free: 2.094 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.0003802/0.14, allocations: 375 kB / 0.8204 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1401, allocations: 8.031 kB / 0.8204 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.983e-05/0.1402, allocations: 110 kB / 0.8205 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.579e-05/0.1402, allocations: 80.22 kB / 0.8206 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.1404, allocations: 235.7 kB / 0.8208 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.047e-05/0.1405, allocations: 154.9 kB / 0.8209 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.527e-05/0.1405, allocations: 154.5 kB / 0.8211 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.604e-05/0.1406, allocations: 120.9 kB / 0.8212 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/0.1406, allocations: 79.27 kB / 0.8213 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.499e-05/0.1407, allocations: 150.6 kB / 0.8214 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.553e-05/0.1407, allocations: 150.6 kB / 0.8216 GB, free: 412 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.175e-05/0.1408, allocations: 150.6 kB / 0.8217 GB, free: 260 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.1411, allocations: 453.9 kB / 0.8221 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.489e-05/0.1412, allocations: 173.1 kB / 0.8223 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/0.1413, allocations: 92.14 kB / 0.8224 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.1413, allocations: 75.28 kB / 0.8225 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.592e-05/0.1414, allocations: 109.8 kB / 0.8226 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1414, allocations: 3.938 kB / 0.8226 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.424e-05/0.1414, allocations: 29.66 kB / 0.8226 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.696e-05/0.1415, allocations: 130.7 kB / 0.8227 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.409e-05/0.1416, allocations: 109.7 kB / 0.8228 GB, free: 15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1416, allocations: 29.7 kB / 0.8228 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.1417, allocations: 84.14 kB / 0.8229 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.1417, allocations: 0 / 0.8229 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.1417, allocations: 21.7 kB / 0.8229 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1418, allocations: 322.8 kB / 0.8233 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-06/0.1418, allocations: 0 / 0.8233 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.283e-05/0.1419, allocations: 26.56 kB / 0.8233 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.925e-05/0.1419, allocations: 26.52 kB / 0.8233 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1419, allocations: 4 kB / 0.8233 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001233/0.142, allocations: 53.56 kB / 0.8234 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.142, allocations: 8 kB / 0.8234 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1421, allocations: 0 / 0.8234 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.1421, allocations: 0 / 0.8234 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.537e-05/0.1421, allocations: 8 kB / 0.8234 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1421, allocations: 0 / 0.8234 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.1423, allocations: 8.234 kB / 0.8234 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1423, allocations: 4.094 kB / 0.8234 GB, free: 14.37 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0001067/0.1424, allocations: 193.1 kB / 0.8236 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.789e-05/0.1424, allocations: 116.9 kB / 0.8237 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.061e-05/0.1425, allocations: 112.2 kB / 0.8238 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.766e-05/0.1426, allocations: 176.3 kB / 0.824 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.997e-05/0.1427, allocations: 180.2 kB / 0.8241 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.455e-05/0.1427, allocations: 184.3 kB / 0.8243 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.143, allocations: 409.1 kB / 0.8247 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.019e-05/0.143, allocations: 101 kB / 0.8248 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.1431, allocations: 105 kB / 0.8249 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.203e-05/0.1432, allocations: 188.2 kB / 0.8251 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.816e-05/0.1432, allocations: 180.3 kB / 0.8252 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-05/0.1433, allocations: 180.2 kB / 0.8254 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.647e-05/0.1434, allocations: 180.3 kB / 0.8256 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.1435, allocations: 315.7 kB / 0.8259 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-05/0.1436, allocations: 186 kB / 0.8261 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.468e-05/0.1437, allocations: 180.2 kB / 0.8262 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.519e-05/0.1438, allocations: 101 kB / 0.8263 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.033e-05/0.1439, allocations: 184.2 kB / 0.8265 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.1439, allocations: 104.9 kB / 0.8266 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.571e-05/0.144, allocations: 83.28 kB / 0.8267 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.144, allocations: 0 / 0.8267 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002989/0.1443, allocations: 59.8 kB / 0.8267 GB, free: 10.7 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.0008554/0.1451, allocations: 0.978 MB / 0.8277 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.483e-05/0.1452, allocations: 15.94 kB / 0.8277 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1452, allocations: 4.188 kB / 0.8277 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.1452, allocations: 3.938 kB / 0.8277 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.1456, allocations: 451.7 kB / 0.8282 GB, free: 9.27 MB / 0.5762 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.1467, allocations: 1.345 MB / 0.8295 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.147, allocations: 0.6729 MB / 0.8301 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.089e-05/0.147, allocations: 3.984 kB / 0.8301 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.1471, allocations: 11.44 kB / 0.8301 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.1471, allocations: 0 / 0.8301 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5151/0.6622, allocations: 2.667 MB / 0.8327 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.183/7.845, allocations: 6.625 kB / 0.8328 GB, free: 4.637 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.231902280822396] Failed to read output from testmodel.py, exit status != 0: 14.703004310838878 14.717650702 14.575414645 Calling exit ...