Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.001232/0.001232, allocations: 110.1 kB / 16.46 MB, free: 6.453 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.001268/0.001268, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.33/1.33, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.002335/0.002335, allocations: 293.7 kB / 309.1 MB, free: 3.98 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.106/1.106, allocations: 180.9 MB / 0.5333 GB, free: 13.78 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.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.GetAltitudeTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",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.002629/0.002629, allocations: 97.69 kB / 0.7343 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1446, allocations: 95.35 MB / 0.8274 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002195/0.1468, allocations: 1.251 MB / 0.8286 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.1483, allocations: 1.025 MB / 0.8296 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.1484, allocations: 0 / 0.8296 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.1484, allocations: 0 / 0.8296 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004128/0.1488, allocations: 103.6 kB / 0.8297 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.778e-06/0.1488, allocations: 0 / 0.8297 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.507e-05/0.1488, allocations: 7.938 kB / 0.8297 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.074e-05/0.1489, allocations: 3.984 kB / 0.8297 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.46e-05/0.1489, allocations: 0 / 0.8297 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.149, allocations: 7.938 kB / 0.8297 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.562e-06/0.149, allocations: 0 / 0.8297 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.1492, allocations: 127.8 kB / 0.8298 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.781e-06/0.1492, allocations: 4 kB / 0.8298 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.944e-05/0.1493, allocations: 7.922 kB / 0.8298 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.1495, allocations: 100 kB / 0.8299 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1495, allocations: 0 / 0.8299 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1495, allocations: 4 kB / 0.8299 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.1495, allocations: 0 / 0.8299 GB, free: 7.18 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.0003994/0.1499, allocations: 355.1 kB / 0.8303 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1499, allocations: 12.03 kB / 0.8303 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.277e-05/0.15, allocations: 114 kB / 0.8304 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.15, allocations: 76.22 kB / 0.8305 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.1502, allocations: 235.7 kB / 0.8307 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.366e-05/0.1503, allocations: 154.9 kB / 0.8308 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.947e-05/0.1503, allocations: 150.9 kB / 0.831 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.89e-05/0.1504, allocations: 108.9 kB / 0.8311 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.819e-05/0.1504, allocations: 79.28 kB / 0.8312 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.946e-05/0.1505, allocations: 154.6 kB / 0.8313 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.506e-05/0.1506, allocations: 150.6 kB / 0.8315 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.494e-05/0.1506, allocations: 154.5 kB / 0.8316 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.151, allocations: 442 kB / 0.832 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.1512, allocations: 177.1 kB / 0.8322 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.489e-05/0.1512, allocations: 80.14 kB / 0.8323 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.1513, allocations: 79.22 kB / 0.8323 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.663e-05/0.1513, allocations: 113.8 kB / 0.8325 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 6.42e-07/0.1513, allocations: 0 / 0.8325 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.305e-05/0.1514, allocations: 33.7 kB / 0.8325 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.1515, allocations: 126.7 kB / 0.8326 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.1516, allocations: 93.86 kB / 0.8327 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.1516, allocations: 29.7 kB / 0.8327 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.1517, allocations: 80.14 kB / 0.8328 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.1517, allocations: 0 / 0.8328 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.927e-05/0.1517, allocations: 9.719 kB / 0.8328 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1519, allocations: 319 kB / 0.8331 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.306e-06/0.1519, allocations: 0 / 0.8331 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.735e-06/0.1519, allocations: 0 / 0.8331 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.916e-05/0.1519, allocations: 79.28 kB / 0.8332 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-05/0.1519, allocations: 75.28 kB / 0.8333 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.426e-05/0.152, allocations: 37.62 kB / 0.8333 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.85e-05/0.152, allocations: 87.22 kB / 0.8334 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.983e-05/0.1521, allocations: 79.22 kB / 0.8335 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.803e-05/0.1521, allocations: 162.5 kB / 0.8336 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.937e-05/0.1522, allocations: 75.41 kB / 0.8337 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.808e-05/0.1522, allocations: 162.5 kB / 0.8338 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.481e-05/0.1523, allocations: 79.3 kB / 0.8339 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.1524, allocations: 75.28 kB / 0.834 GB, free: 2.781 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.0001259/0.1525, allocations: 263.2 kB / 0.8342 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-05/0.1526, allocations: 116.9 kB / 0.8344 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.891e-05/0.1526, allocations: 107.9 kB / 0.8345 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.64e-05/0.1527, allocations: 184.2 kB / 0.8346 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.302e-05/0.1528, allocations: 176.3 kB / 0.8348 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.975e-05/0.1528, allocations: 180.3 kB / 0.835 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.1531, allocations: 409.2 kB / 0.8354 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.472e-05/0.1531, allocations: 104.9 kB / 0.8355 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.1532, allocations: 108.9 kB / 0.8356 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-05/0.1532, allocations: 176.3 kB / 0.8357 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-05/0.1533, allocations: 180.3 kB / 0.8359 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.341e-05/0.1534, allocations: 184.2 kB / 0.8361 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-05/0.1535, allocations: 192.2 kB / 0.8363 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.1536, allocations: 303.7 kB / 0.8366 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.722e-05/0.1537, allocations: 186 kB / 0.8367 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.903e-05/0.1538, allocations: 188.2 kB / 0.8369 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.1539, allocations: 105 kB / 0.837 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.154, allocations: 184.2 kB / 0.8372 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/0.154, allocations: 101 kB / 0.8373 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.059e-05/0.1541, allocations: 75.28 kB / 0.8374 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1541, allocations: 0 / 0.8374 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003064/0.1544, allocations: 43.8 kB / 0.8374 GB, free: 15.07 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.0009702/0.1553, allocations: 0.9579 MB / 0.8383 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 3.749e-05/0.1554, allocations: 0 / 0.8383 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1554, allocations: 0 / 0.8383 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.1554, allocations: 0 / 0.8383 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.1558, allocations: 459.7 kB / 0.8388 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.157, allocations: 1.552 MB / 0.8403 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.1573, allocations: 0.669 MB / 0.8409 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.064e-06/0.1573, allocations: 0 / 0.8409 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.1574, allocations: 23.3 kB / 0.841 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.1574, allocations: 4.031 kB / 0.841 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.1843, allocations: 1.916 MB / 0.8428 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.258/7.443, allocations: 1.031 kB / 0.8428 GB, free: 9.602 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.223478801548481] Failed to read output from testmodel.py, exit status != 0: 7.560561113990843 7.573833457 7.42185478 Calling exit ...